v1alpha1

package
v0.0.0-...-9cdaeea Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 20, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the v1alpha1 API group +kubebuilder:object:generate=true +groupName=aws.jackhoman.com

Index

Constants

View Source
const (
	PolicyStatementEffectAllow = "Allow"
	PolicyStatementEffectDeny  = "Deny"
)

Variables

View Source
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

type Condition struct {
	Key    string   `json:"key"`
	Values []string `json:"values"`
}

func (*Condition) DeepCopy

func (in *Condition) DeepCopy() *Condition

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Condition.

func (*Condition) DeepCopyInto

func (in *Condition) DeepCopyInto(out *Condition)

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

func (in *IamPolicy) DeepCopy() *IamPolicy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IamPolicy.

func (*IamPolicy) DeepCopyInto

func (in *IamPolicy) DeepCopyInto(out *IamPolicy)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*IamPolicy) DeepCopyObject

func (in *IamPolicy) DeepCopyObject() runtime.Object

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

func (in *IamRole) DeepCopy() *IamRole

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IamRole.

func (*IamRole) DeepCopyInto

func (in *IamRole) DeepCopyInto(out *IamRole)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*IamRole) DeepCopyObject

func (in *IamRole) DeepCopyObject() runtime.Object

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 (r *IamRole) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*IamRole) ValidateCreate

func (r *IamRole) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*IamRole) ValidateDelete

func (r *IamRole) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*IamRole) ValidateUpdate

func (r *IamRole) ValidateUpdate(old runtime.Object) error

ValidateUpdate 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

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

func (in *Statement) DeepCopy() *Statement

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Statement.

func (*Statement) DeepCopyInto

func (in *Statement) DeepCopyInto(out *Statement)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL