Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for BatchJobSnowball (0.1 sec)

  1. cmd/batch-job-common-types.go

    }
    
    var _ yaml.Unmarshaler = &BatchJobSnowball{}
    
    // UnmarshalYAML - BatchJobSnowball extends unmarshal to extract line, column information
    func (b *BatchJobSnowball) UnmarshalYAML(val *yaml.Node) error {
    	type snowball BatchJobSnowball
    	var tmp snowball
    	err := val.Decode(&tmp)
    	if err != nil {
    		return err
    	}
    
    	*b = BatchJobSnowball(tmp)
    	b.line, b.col = val.Line, val.Column
    	return nil
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  2. cmd/batch-replicate.go

    	Path     string                        `yaml:"path" json:"path"`
    	Creds    BatchJobReplicateCredentials  `yaml:"credentials" json:"credentials"`
    	Snowball BatchJobSnowball              `yaml:"snowball" json:"snowball"`
    }
    
    // ValidPath returns true if path is valid
    func (s BatchJobReplicateSource) ValidPath() bool {
    	switch s.Path {
    	case "on", "off", "auto", "":
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 6.3K bytes
    - Viewed (0)
Back to top