register

package
v0.9.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 26, 2026 License: Apache-2.0 Imports: 5 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DefaultFilesConfig = &FilesConfig{
		Version:         "",
		ContinueOnError: false,
	}
)

Functions

This section is empty.

Types

type FilesConfig

type FilesConfig struct {
	Version                    string `json:"version" pflag:",Version of the entity to be registered with flyte which are un-versioned after serialization."`
	Force                      bool   `json:"force" pflag:",Force use of version number on entities 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."`
	AssumableIamRole           string `json:"assumableIamRole" pflag:",Custom assumable iam auth role to register launch plans with."`
	K8sServiceAccount          string `json:"k8sServiceAccount" pflag:",Custom kubernetes service account auth role to register launch plans with."`
	K8ServiceAccount           string `json:"k8ServiceAccount" pflag:",Deprecated. Please use --K8sServiceAccount"`
	OutputLocationPrefix       string `json:"outputLocationPrefix" pflag:",Custom output location prefix for offloaded types (files/schemas)."`
	DeprecatedSourceUploadPath string `json:"sourceUploadPath" pflag:",Deprecated: Update flyte admin to avoid having to configure storage access from flytectl."`
	DestinationDirectory       string `json:"destinationDirectory" pflag:",Location of source code in container."`
	DryRun                     bool   `json:"dryRun" pflag:",Execute command without making any modifications."`
	EnableSchedule             bool   `json:"enableSchedule" pflag:",Enable the schedule if the files contain schedulable launchplan."`
}

FilesConfig containing flags used for registration

func GetConfig

func GetConfig() *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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL