Documentation
¶
Index ¶
- Variables
- func Bucket() string
- func BucketPath(key string) string
- func ClusterID() string
- func ClusterName() string
- func DeleteBucketDir(dir string, continueIfFailure bool) error
- func ImageDownloader() string
- func Init() error
- func IsBucketFile(fileKey string) (bool, error)
- func IsOperatorInCluster() bool
- func ListBucketDirOneLevel(dir string, maxResults *int64) ([]string, error)
- func OperatorID() string
- func ReadBytesFromBucket(key string) ([]byte, error)
- func ReadJSONFromBucket(objPtr interface{}, key string) error
- func Telemetry() bool
- func UploadBytesToBucket(data []byte, key string) error
- func UploadJSONToBucket(obj interface{}, key string) error
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 BucketPath ¶ added in v0.24.0
func ClusterName ¶ added in v0.24.0
func ClusterName() string
func DeleteBucketDir ¶ added in v0.24.0
func ImageDownloader ¶ added in v0.24.0
func ImageDownloader() string
func IsBucketFile ¶ added in v0.24.0
func IsOperatorInCluster ¶ added in v0.24.0
func IsOperatorInCluster() bool
func ListBucketDirOneLevel ¶ added in v0.24.0
func OperatorID ¶ added in v0.24.0
func OperatorID() string
func ReadBytesFromBucket ¶ added in v0.25.0
func ReadJSONFromBucket ¶ added in v0.24.0
func UploadBytesToBucket ¶ added in v0.24.0
func UploadJSONToBucket ¶ added in v0.24.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.