Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the agill v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=agill.apps
Package v1alpha1 contains API Schema definitions for the agill v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=agill.apps
Index ¶
- Variables
- func DesiredRestrictedPolicyDocForBucket(policyName string, bucketName string) (string, error)
- func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
- type IAMUser
- type S3
- func (s S3) CreateBucketIn() *s3.CreateBucketInput
- func (s S3) CreateIAMUserIn() *iam.CreateUserInput
- func (in *S3) DeepCopy() *S3
- func (in *S3) DeepCopyInto(out *S3)
- func (in *S3) DeepCopyObject() runtime.Object
- func (s S3) DeleteBucketIn() *s3.DeleteBucketInput
- func (s S3) GetIAMK8SSecretName() string
- func (s S3) GetPolicyName() string
- func (s S3) GetRestrictedInlinePolicyInput() (*iam.PutUserPolicyInput, error)
- func (s S3) GetUsername() string
- func (s S3) PutBucketAccelIn() *s3.PutBucketAccelerateConfigurationInput
- func (s S3) PutBucketAclIn() *s3.PutBucketAclInput
- func (s S3) PutBucketPolicyIn() *s3.PutBucketPolicyInput
- func (s S3) PutBucketVersioningIn() *s3.PutBucketVersioningInput
- func (s S3) SetBucketLocation() *s3.CreateBucketConfiguration
- type S3List
- type S3Spec
- type S3Status
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: "agill.apps", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} )
Functions ¶
func GetOpenAPIDefinitions ¶
func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
Types ¶
type IAMUser ¶
type IAMUser struct {
Username string `json:"username"`
}
func (*IAMUser) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IAMUser.
func (*IAMUser) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type S3 ¶
type S3 struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec S3Spec `json:"spec,omitempty"` Status S3Status `json:"status,omitempty"` }
S3 is the Schema for the s3s API +kubebuilder:subresource:status +kubebuilder:resource:path=s3s,scope=Namespaced +kubebuilder:printcolumn:name="bucket-name",type=string,JSONPath=`.spec.bucketName` +kubebuilder:printcolumn:name="IAM-User",type=string,JSONPath=`.spec.iamUser.username` +kubebuilder:printcolumn:name="Status",type=string,JSONPath=`.status.status` +kubebuilder:printcolumn:name="Age",type=date,JSONPath=`.metadata.creationTimestamp`
func (S3) CreateBucketIn ¶
func (s S3) CreateBucketIn() *s3.CreateBucketInput
func (S3) CreateIAMUserIn ¶
func (s S3) CreateIAMUserIn() *iam.CreateUserInput
func (*S3) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new S3.
func (*S3) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*S3) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (S3) DeleteBucketIn ¶
func (s S3) DeleteBucketIn() *s3.DeleteBucketInput
func (S3) GetIAMK8SSecretName ¶
func (S3) GetPolicyName ¶
func (S3) GetRestrictedInlinePolicyInput ¶
func (s S3) GetRestrictedInlinePolicyInput() (*iam.PutUserPolicyInput, error)
func (S3) GetUsername ¶
func (S3) PutBucketAccelIn ¶
func (s S3) PutBucketAccelIn() *s3.PutBucketAccelerateConfigurationInput
func (S3) PutBucketAclIn ¶
func (s S3) PutBucketAclIn() *s3.PutBucketAclInput
func (S3) PutBucketPolicyIn ¶
func (s S3) PutBucketPolicyIn() *s3.PutBucketPolicyInput
func (S3) PutBucketVersioningIn ¶
func (s S3) PutBucketVersioningIn() *s3.PutBucketVersioningInput
func (S3) SetBucketLocation ¶
func (s S3) SetBucketLocation() *s3.CreateBucketConfiguration
type S3List ¶
type S3List struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []S3 `json:"items"` }
S3List contains a list of S3
func (*S3List) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new S3List.
func (*S3List) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*S3List) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type S3Spec ¶
type S3Spec struct { // +optional IAMUserSpec IAMUser `json:"iamUser"` // +kubebuilder:validation:Required Region string `json:"region,required"` // +kubebuilder:validation:Required BucketName string `json:"bucketName,required"` // The canned ACL to apply to the bucket. // +kubebuilder:validation:Required // +kubebuilder:validation:Enum:=private;public-read;public-read-write;authenticated-read BucketACL string `json:"bucketACL,required"` // Specifies whether you want S3 Object Lock to be enabled for the new bucket. // +optional EnableObjectLock bool `json:"enableObjectLock,omitempty"` // Decides whether versioning should be enabled. Defaults to false. // +optional EnableVersioning bool `json:"enableVersioning,omitempty"` // Decides whether transfer acceleration should be enabled. Defaults to false // +optional EnableTransferAcceleration bool `json:"enableTransferAcceleration,omitempty"` // +optional BucketPolicy string `json:"bucketPolicy,omitempty"` }
S3Spec defines the desired state of S3
func (*S3Spec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new S3Spec.
func (*S3Spec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type S3Status ¶
type S3Status struct {
Status string `json:"status"`
}
S3Status defines the observed state of S3
func (*S3Status) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new S3Status.
func (*S3Status) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.