Documentation ¶
Index ¶
- func GenerateUpdateSeKeyInput(cr *v1alpha1.S3Key) (*sdkgo.S3Key, error)
- func IsS3KeyUpToDate(cr *v1alpha1.S3Key, s3Key sdkgo.S3Key) bool
- 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
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.