Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the v1alpha1 API group +kubebuilder:object:generate=true +groupName=aws.jackhoman.com
Index ¶
- Constants
- Variables
- type Condition
- type Conditions
- type IamPolicy
- type IamPolicyDocument
- type IamPolicyList
- type IamPolicySpec
- type IamPolicyStatus
- type IamRole
- func (in *IamRole) DeepCopy() *IamRole
- func (in *IamRole) DeepCopyInto(out *IamRole)
- func (in *IamRole) DeepCopyObject() runtime.Object
- func (r *IamRole) Default()
- func (r *IamRole) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *IamRole) ValidateCreate() error
- func (r *IamRole) ValidateDelete() error
- func (r *IamRole) ValidateUpdate(old runtime.Object) error
- type IamRoleBinding
- func (in *IamRoleBinding) DeepCopy() *IamRoleBinding
- func (in *IamRoleBinding) DeepCopyInto(out *IamRoleBinding)
- func (in *IamRoleBinding) DeepCopyObject() runtime.Object
- func (r *IamRoleBinding) Default()
- func (r *IamRoleBinding) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *IamRoleBinding) ValidateCreate() error
- func (r *IamRoleBinding) ValidateDelete() error
- func (r *IamRoleBinding) ValidateUpdate(old runtime.Object) error
- type IamRoleBindingList
- type IamRoleBindingSpec
- type IamRoleBindingStatus
- type IamRoleList
- type IamRoleSpec
- type IamRoleStatus
- type Statement
Constants ¶
const ( PolicyStatementEffectAllow = "Allow" PolicyStatementEffectDeny = "Deny" )
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "aws.jackhoman.com", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type Condition ¶
func (*Condition) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Condition.
func (*Condition) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Conditions ¶
type Conditions struct { ArnLike []Condition `json:"arnLike,omitempty"` ArnLikeIfExists []Condition `json:"arnLikeIfExists,omitempty"` ArnNotLike []Condition `json:"arnNotLike,omitempty"` ArnNotLikeIfExists []Condition `json:"arnNotLikeIfExists,omitempty"` BinaryEquals []Condition `json:"binaryEquals,omitempty"` BinaryEqualsIfExists []Condition `json:"binaryEqualsIfExists,omitempty"` Bool []Condition `json:"bool,omitempty"` BoolIfExists []Condition `json:"boolIfExists,omitempty"` DateEquals []Condition `json:"dateEquals,omitempty"` DateEqualsIfExists []Condition `json:"dateEqualsIfExists,omitempty"` DateNotEquals []Condition `json:"dateNotEquals,omitempty"` DateNotEqualsIfExists []Condition `json:"dateNotEqualsIfExists,omitempty"` DateLessThan []Condition `json:"dateLessThan,omitempty"` DateLessThanIfExists []Condition `json:"dateLessThanIfExists,omitempty"` DateLessThanEquals []Condition `json:"dateLessThanEquals,omitempty"` DateLessThanEqualsIfExists []Condition `json:"dateLessThanEqualsIfExists,omitempty"` DateGreaterThan []Condition `json:"dateGreaterThan,omitempty"` DateGreaterThanIfExists []Condition `json:"dateGreaterThanIfExists,omitempty"` DateGreaterThanEquals []Condition `json:"dateGreaterThanEquals,omitempty"` DateGreaterThanEqualsIfExists []Condition `json:"dateGreaterThanEqualsIfExists,omitempty"` IpAddress []Condition `json:"ipAddress,omitempty"` // nolint: revive IpAddressIfExists []Condition `json:"ipAddressIfExists,omitempty"` // nolint: revive NotIpAddress []Condition `json:"notIpAddress,omitempty"` // nolint: revive NotIpAddressIfExists []Condition `json:"notIpAddressIfExists,omitempty"` // nolint: revive NumericEquals []Condition `json:"numericEquals,omitempty"` NumericEqualsIfExists []Condition `json:"numericEqualsIfExists,omitempty"` NumericNotEquals []Condition `json:"numericNotEquals,omitempty"` NumericNotEqualsIfExists []Condition `json:"numericNotEqualsIfExists,omitempty"` NumericLessThan []Condition `json:"numericLessThan,omitempty"` NumericLessThanIfExists []Condition `json:"numericLessThanIfExists,omitempty"` NumericLessThanEquals []Condition `json:"numericLessThanEquals,omitempty"` NumericLessThanEqualsIfExists []Condition `json:"numericLessThanEqualsIfExists,omitempty"` NumericGreaterThan []Condition `json:"numericGreaterThan,omitempty"` NumericGreaterThanIfExists []Condition `json:"numericGreaterThanIfExists,omitempty"` NumericGreaterThanEquals []Condition `json:"numericGreaterThanEquals,omitempty"` NumericGreaterThanEqualsIfExists []Condition `json:"numericGreaterThanEqualsIfExists,omitempty"` Null []Condition `json:"null,omitempty"` StringLike []Condition `json:"stringLike,omitempty"` StringLikeIfExists []Condition `json:"stringLikeIfExists,omitempty"` StringNotLike []Condition `json:"stringNotLike,omitempty"` StringNotLikeIfExists []Condition `json:"stringNotLikeIfExists,omitempty"` StringEquals []Condition `json:"stringEquals,omitempty"` StringEqualsIfExists []Condition `json:"stringEqualsIfExists,omitempty"` StringNotEquals []Condition `json:"stringNotEquals,omitempty"` StringNotEqualsIfExists []Condition `json:"stringNotEqualsIfExists,omitempty"` StringEqualsIgnoreCase []Condition `json:"stringEqualsIgnoreCase,omitempty"` StringEqualsIgnoreCaseIfExists []Condition `json:"stringEqualsIgnoreCaseIfExists,omitempty"` StringNotEqualsIgnoreCase []Condition `json:"stringNotEqualsIgnoreCase,omitempty"` StringNotEqualsIgnoreCaseIfExists []Condition `json:"stringNotEqualsIgnoreCaseIfExists,omitempty"` }
func (*Conditions) DeepCopy ¶
func (in *Conditions) DeepCopy() *Conditions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Conditions.
func (*Conditions) DeepCopyInto ¶
func (in *Conditions) DeepCopyInto(out *Conditions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IamPolicy ¶
type IamPolicy struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec IamPolicySpec `json:"spec,omitempty"` Status IamPolicyStatus `json:"status,omitempty"` }
IamPolicy is the Schema for the iampolicies API
func (*IamPolicy) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IamPolicy.
func (*IamPolicy) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IamPolicy) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type IamPolicyDocument ¶
type IamPolicyDocument struct { Version string `json:"version,omitempty"` Statements []Statement `json:"statement"` }
func (*IamPolicyDocument) DeepCopy ¶
func (in *IamPolicyDocument) DeepCopy() *IamPolicyDocument
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IamPolicyDocument.
func (*IamPolicyDocument) DeepCopyInto ¶
func (in *IamPolicyDocument) DeepCopyInto(out *IamPolicyDocument)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IamPolicyList ¶
type IamPolicyList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []IamPolicy `json:"items"` }
IamPolicyList contains a list of IamPolicy
func (*IamPolicyList) DeepCopy ¶
func (in *IamPolicyList) DeepCopy() *IamPolicyList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IamPolicyList.
func (*IamPolicyList) DeepCopyInto ¶
func (in *IamPolicyList) DeepCopyInto(out *IamPolicyList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IamPolicyList) DeepCopyObject ¶
func (in *IamPolicyList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type IamPolicySpec ¶
type IamPolicySpec struct { // Document - Iam policy document Description string `json:"description,omitempty"` Document IamPolicyDocument `json:"document"` }
IamPolicySpec defines the desired state of IamPolicy
func (*IamPolicySpec) DeepCopy ¶
func (in *IamPolicySpec) DeepCopy() *IamPolicySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IamPolicySpec.
func (*IamPolicySpec) DeepCopyInto ¶
func (in *IamPolicySpec) DeepCopyInto(out *IamPolicySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IamPolicyStatus ¶
type IamPolicyStatus struct { Md5Sum string `json:"md5,omitempty"` Arn string `json:"arn,omitempty"` AttachedRoles []corev1.ObjectReference `json:"attachedRoles,omitempty"` }
IamPolicyStatus defines the observed state of IamPolicy
func (*IamPolicyStatus) DeepCopy ¶
func (in *IamPolicyStatus) DeepCopy() *IamPolicyStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IamPolicyStatus.
func (*IamPolicyStatus) DeepCopyInto ¶
func (in *IamPolicyStatus) DeepCopyInto(out *IamPolicyStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IamRole ¶
type IamRole struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec IamRoleSpec `json:"spec,omitempty"` Status IamRoleStatus `json:"status,omitempty"` }
IamRole is the Schema for the iamroles API
func (*IamRole) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IamRole.
func (*IamRole) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IamRole) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*IamRole) Default ¶
func (r *IamRole) Default()
Default implements webhook.Defaulter so a webhook will be registered for the type
func (*IamRole) SetupWebhookWithManager ¶
func (*IamRole) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*IamRole) ValidateDelete ¶
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
type IamRoleBinding ¶
type IamRoleBinding struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec IamRoleBindingSpec `json:"spec,omitempty"` Status IamRoleBindingStatus `json:"status,omitempty"` }
IamRoleBinding is the Schema for the iamrolebindings API
func (*IamRoleBinding) DeepCopy ¶
func (in *IamRoleBinding) DeepCopy() *IamRoleBinding
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IamRoleBinding.
func (*IamRoleBinding) DeepCopyInto ¶
func (in *IamRoleBinding) DeepCopyInto(out *IamRoleBinding)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IamRoleBinding) DeepCopyObject ¶
func (in *IamRoleBinding) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*IamRoleBinding) Default ¶
func (r *IamRoleBinding) Default()
Default implements webhook.Defaulter so a webhook will be registered for the type
func (*IamRoleBinding) SetupWebhookWithManager ¶
func (r *IamRoleBinding) SetupWebhookWithManager(mgr ctrl.Manager) error
func (*IamRoleBinding) ValidateCreate ¶
func (r *IamRoleBinding) ValidateCreate() error
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*IamRoleBinding) ValidateDelete ¶
func (r *IamRoleBinding) ValidateDelete() error
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*IamRoleBinding) ValidateUpdate ¶
func (r *IamRoleBinding) ValidateUpdate(old runtime.Object) error
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
type IamRoleBindingList ¶
type IamRoleBindingList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []IamRoleBinding `json:"items"` }
IamRoleBindingList contains a list of IamRoleBinding
func (*IamRoleBindingList) DeepCopy ¶
func (in *IamRoleBindingList) DeepCopy() *IamRoleBindingList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IamRoleBindingList.
func (*IamRoleBindingList) DeepCopyInto ¶
func (in *IamRoleBindingList) DeepCopyInto(out *IamRoleBindingList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IamRoleBindingList) DeepCopyObject ¶
func (in *IamRoleBindingList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type IamRoleBindingSpec ¶
type IamRoleBindingSpec struct { IamRoleRef corev1.LocalObjectReference `json:"iamRoleRef"` ServiceAccountRef corev1.LocalObjectReference `json:"serviceAccountRef"` }
func (*IamRoleBindingSpec) DeepCopy ¶
func (in *IamRoleBindingSpec) DeepCopy() *IamRoleBindingSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IamRoleBindingSpec.
func (*IamRoleBindingSpec) DeepCopyInto ¶
func (in *IamRoleBindingSpec) DeepCopyInto(out *IamRoleBindingSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IamRoleBindingStatus ¶
type IamRoleBindingStatus struct { BoundServiceAccountRef corev1.LocalObjectReference `json:"serviceAccount,omitempty"` BoundIamRoleArn string `json:"iamRoleArn,omitempty"` }
func (*IamRoleBindingStatus) DeepCopy ¶
func (in *IamRoleBindingStatus) DeepCopy() *IamRoleBindingStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IamRoleBindingStatus.
func (*IamRoleBindingStatus) DeepCopyInto ¶
func (in *IamRoleBindingStatus) DeepCopyInto(out *IamRoleBindingStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IamRoleList ¶
type IamRoleList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []IamRole `json:"items"` }
IamRoleList contains a list of IamRole
func (*IamRoleList) DeepCopy ¶
func (in *IamRoleList) DeepCopy() *IamRoleList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IamRoleList.
func (*IamRoleList) DeepCopyInto ¶
func (in *IamRoleList) DeepCopyInto(out *IamRoleList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IamRoleList) DeepCopyObject ¶
func (in *IamRoleList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type IamRoleSpec ¶
type IamRoleSpec struct { // Foo is an example field of IamRole. Edit iamrole_types.go to remove/update Description string `json:"description,omitempty"` MaxDurationSeconds int `json:"maxDurationSeconds,omitempty"` PolicyRefs []corev1.ObjectReference `json:"policyRefs,omitempty"` }
IamRoleSpec defines the desired state of IamRole
func (*IamRoleSpec) DeepCopy ¶
func (in *IamRoleSpec) DeepCopy() *IamRoleSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IamRoleSpec.
func (*IamRoleSpec) DeepCopyInto ¶
func (in *IamRoleSpec) DeepCopyInto(out *IamRoleSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IamRoleStatus ¶
type IamRoleStatus struct { // INSERT ADDITIONAL STATUS FIELD - define observed state of cluster // Important: Run "make" to regenerate code after modifying this file RoleArn string `json:"arn,omitempty"` BoundServiceAccounts []corev1.ObjectReference `json:"boundServiceAccounts,omitempty"` }
IamRoleStatus defines the observed state of IamRole
func (*IamRoleStatus) DeepCopy ¶
func (in *IamRoleStatus) DeepCopy() *IamRoleStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IamRoleStatus.
func (*IamRoleStatus) DeepCopyInto ¶
func (in *IamRoleStatus) DeepCopyInto(out *IamRoleStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Statement ¶
type Statement struct { Sid string `json:"sid,omitempty"` // +kubebuilder:validation:Enum=Allow;Deny Effect string `json:"effect"` Actions []string `json:"action,omitempty"` // this can also be a string Resources []string `json:"resource"` Conditions *Conditions `json:"Condition,omitempty"` }
func (*Statement) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Statement.
func (*Statement) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.