Documentation ¶
Index ¶
- func GenerateUpdateSeKeyInput(cr *v1alpha1.S3Key) (*sdkgo.S3Key, error)
- func IsS3KeyUpToDate(cr *v1alpha1.S3Key, s3Key sdkgo.S3Key) bool
- func LateInitializer(in *v1alpha1.S3KeyParameters, s3Key *sdkgo.S3Key)
- type APIClient
- func (cp *APIClient) CreateS3Key(ctx context.Context, userID string) (sdkgo.S3Key, *sdkgo.APIResponse, error)
- func (cp *APIClient) DeleteS3Key(ctx context.Context, userID, keyID string) (*sdkgo.APIResponse, error)
- func (cp *APIClient) GetAPIClient() *sdkgo.APIClient
- func (cp *APIClient) GetS3Key(ctx context.Context, userID, keyID string) (sdkgo.S3Key, *sdkgo.APIResponse, error)
- func (cp *APIClient) UpdateS3Key(ctx context.Context, userID, keyID string, s3Key sdkgo.S3Key) (sdkgo.S3Key, *sdkgo.APIResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateUpdateSeKeyInput ¶
GenerateUpdateSeKeyInput returns sdkgo.TargetGroupProperties based on the CR spec modifications
func IsS3KeyUpToDate ¶
IsS3KeyUpToDate returns true if the S3Key is up-to-date or false if it does not
func LateInitializer ¶
func LateInitializer(in *v1alpha1.S3KeyParameters, s3Key *sdkgo.S3Key)
LateInitializer fills the empty fields in *v1alpha1.S3KeyParameters with the values seen in sdkgo.S3Key.
Types ¶
type APIClient ¶
type APIClient struct {
*clients.IonosServices
}
APIClient is a wrapper around IONOS Service
func (*APIClient) CreateS3Key ¶
func (cp *APIClient) CreateS3Key(ctx context.Context, userID string) (sdkgo.S3Key, *sdkgo.APIResponse, error)
CreateS3Key using userID
func (*APIClient) DeleteS3Key ¶
func (cp *APIClient) DeleteS3Key(ctx context.Context, userID, keyID string) (*sdkgo.APIResponse, error)
DeleteS3Key based on userID, keyID
func (*APIClient) GetAPIClient ¶
GetAPIClient gets the APIClient
Click to show internal directories.
Click to hide internal directories.