config

package
v0.26.0 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2021 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Provider        types.ProviderType
	Cluster         *clusterconfig.InternalConfig
	GCPCluster      *clusterconfig.InternalGCPConfig
	AWS             *aws.Client
	GCP             *gcp.Client
	K8s             *k8s.Client
	K8sIstio        *k8s.Client
	K8sAllNamspaces *k8s.Client
)

Functions

func Bucket added in v0.24.0

func Bucket() string

func BucketPath added in v0.24.0

func BucketPath(key string) string

func ClusterID added in v0.24.0

func ClusterID() string

func ClusterName added in v0.24.0

func ClusterName() string

func DeleteBucketDir added in v0.24.0

func DeleteBucketDir(dir string, continueIfFailure bool) error

func ImageDownloader added in v0.24.0

func ImageDownloader() string

func Init

func Init() error

func IsBucketFile added in v0.24.0

func IsBucketFile(fileKey string) (bool, error)

func IsOperatorInCluster added in v0.24.0

func IsOperatorInCluster() bool

func ListBucketDirOneLevel added in v0.24.0

func ListBucketDirOneLevel(dir string, maxResults *int64) ([]string, error)

func OperatorID added in v0.24.0

func OperatorID() string

func ReadBytesFromBucket added in v0.25.0

func ReadBytesFromBucket(key string) ([]byte, error)

func ReadJSONFromBucket added in v0.24.0

func ReadJSONFromBucket(objPtr interface{}, key string) error

func Telemetry

func Telemetry() bool

func UploadBytesToBucket added in v0.24.0

func UploadBytesToBucket(data []byte, key string) error

func UploadJSONToBucket added in v0.24.0

func UploadJSONToBucket(obj interface{}, key string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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