Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DownloadFileFromHTTP ¶
func DownloadFileFromHTTP(ctx context.Context, ref storage.DataReference) (io.ReadCloser, error)
func RemoteRegisterCommand ¶
RemoteRegisterCommand will return register command
Types ¶
type FilesConfig ¶
type FilesConfig struct {
Version string `json:"version" pflag:",version of the entity to be registered with flyte."`
ContinueOnError bool `json:"continueOnError" pflag:",continue on error when registering files."`
Archive bool `json:"archive" pflag:",pass in archive file either an http link or local path."`
}
FilesConfig
func (FilesConfig) GetPFlagSet ¶
func (cfg FilesConfig) GetPFlagSet(prefix string) *pflag.FlagSet
GetPFlagSet will return strongly types pflags for all fields in FilesConfig and its nested types. The format of the flags is json-name.json-sub-name... etc.
Click to show internal directories.
Click to hide internal directories.