Documentation ¶
Index ¶
- func CreateSignedURL(clusterID string) (string, error)
- func CreateStorage(ctx context.Context, ic *installconfig.InstallConfig, ...) error
- func DestroyStorage(ctx context.Context, clusterID string) error
- func FillBucket(ctx context.Context, bucketHandle *storage.BucketHandle, contents string) error
- func GetBootstrapStorageName(clusterID string) string
- func NewStorageClient(ctx context.Context) (*storage.Client, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateSignedURL ¶
CreateSignedURL creates a signed url and correlates the signed url with a storage bucket.
func CreateStorage ¶
func CreateStorage(ctx context.Context, ic *installconfig.InstallConfig, bucketHandle *storage.BucketHandle, clusterID string) error
CreateStorage creates the gcp bucket/storage. The storage bucket does Not include the bucket object. The bucket object is created as a separate process/function, so that the two are not tied together, and the data stored inside the object can be set at a later time.
func DestroyStorage ¶
DestroyStorage Destroy the bucket and the bucket objects that are associated with the bucket.
func FillBucket ¶
FillBucket will add the contents to the bootstrap storage bucket object.
func GetBootstrapStorageName ¶
GetBootstrapStorageName gets the name of the storage bucket for the bootstrap process.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.