v1

package
v0.0.0-...-30852b6 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package v1 contains API Schema definitions for the kuadra v1 API group +kubebuilder:object:generate=true +groupName=kuadra.kuadrant.io

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "kuadra.kuadrant.io", Version: "v1"}

	// 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 AwsAccount

type AwsAccount struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   AwsAccountSpec   `json:"spec,omitempty"`
	Status AwsAccountStatus `json:"status,omitempty"`
}

AwsAccount is the Schema for the awsaccounts API

func (*AwsAccount) DeepCopy

func (in *AwsAccount) DeepCopy() *AwsAccount

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

func (*AwsAccount) DeepCopyInto

func (in *AwsAccount) DeepCopyInto(out *AwsAccount)

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

func (*AwsAccount) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*AwsAccount) Default

func (r *AwsAccount) Default()

Default implements webhook.Defaulter so a webhook will be registered for the type

func (*AwsAccount) SetupWebhookWithManager

func (r *AwsAccount) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*AwsAccount) ValidateCreate

func (r *AwsAccount) ValidateCreate() error

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

func (*AwsAccount) ValidateDelete

func (r *AwsAccount) ValidateDelete() error

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

func (*AwsAccount) ValidateUpdate

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

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

type AwsAccountList

type AwsAccountList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []AwsAccount `json:"items"`
}

AwsAccountList contains a list of AwsAccount

func (*AwsAccountList) DeepCopy

func (in *AwsAccountList) DeepCopy() *AwsAccountList

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

func (*AwsAccountList) DeepCopyInto

func (in *AwsAccountList) DeepCopyInto(out *AwsAccountList)

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

func (*AwsAccountList) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type AwsAccountNestedSpec

type AwsAccountNestedSpec struct {
	Spec AwsSpec `json:"spec,omitempty"`
}

func (*AwsAccountNestedSpec) DeepCopy

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

func (*AwsAccountNestedSpec) DeepCopyInto

func (in *AwsAccountNestedSpec) DeepCopyInto(out *AwsAccountNestedSpec)

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

type AwsAccountSpec

type AwsAccountSpec struct {
	UserName string   `json:"userName"`
	Groups   []string `json:"groups"`
}

AwsAccountSpec defines the desired state of AwsAccount

func (*AwsAccountSpec) DeepCopy

func (in *AwsAccountSpec) DeepCopy() *AwsAccountSpec

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

func (*AwsAccountSpec) DeepCopyInto

func (in *AwsAccountSpec) DeepCopyInto(out *AwsAccountSpec)

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

type AwsAccountStatus

type AwsAccountStatus struct {

	// +optional
	UserCreated bool `json:"userCreated"`

	// +optional
	LoginProfileCreated bool `json:"loginProfileCreated"`

	// +optional
	AccessKeyCreated bool `json:"accessKeyCreated"`

	// +optional
	UserGroups []string `json:"userGroups"`

	// +optional
	NamespaceCreated bool `json:"namespaceCreated"`
}

AwsAccountStatus defines the observed state of AwsAccount

func (*AwsAccountStatus) DeepCopy

func (in *AwsAccountStatus) DeepCopy() *AwsAccountStatus

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

func (*AwsAccountStatus) DeepCopyInto

func (in *AwsAccountStatus) DeepCopyInto(out *AwsAccountStatus)

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

type AwsSpec

type AwsSpec struct {
	User AwsAccountSpec `json:"user,omitempty"`
}

func (*AwsSpec) DeepCopy

func (in *AwsSpec) DeepCopy() *AwsSpec

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

func (*AwsSpec) DeepCopyInto

func (in *AwsSpec) DeepCopyInto(out *AwsSpec)

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

type User

type User struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   UserSpec   `json:"spec,omitempty"`
	Status UserStatus `json:"status,omitempty"`
}

User is the Schema for the users API

func (*User) DeepCopy

func (in *User) DeepCopy() *User

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

func (*User) DeepCopyInto

func (in *User) DeepCopyInto(out *User)

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

func (*User) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type UserList

type UserList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []User `json:"items"`
}

UserList contains a list of User

func (*UserList) DeepCopy

func (in *UserList) DeepCopy() *UserList

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

func (*UserList) DeepCopyInto

func (in *UserList) DeepCopyInto(out *UserList)

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

func (*UserList) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type UserSpec

type UserSpec struct {
	// Important: Run "make" to regenerate code after modifying this file
	AwsAccount *AwsAccountNestedSpec `json:"awsAccount,omitempty"`
}

UserSpec defines the desired state of User

func (*UserSpec) DeepCopy

func (in *UserSpec) DeepCopy() *UserSpec

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

func (*UserSpec) DeepCopyInto

func (in *UserSpec) DeepCopyInto(out *UserSpec)

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

type UserStatus

type UserStatus struct {
	// Important: Run "make" to regenerate code after modifying this file
	AwsAccountCreated bool `json:"awsAccountCreated"`
}

UserStatus defines the observed state of User

func (*UserStatus) DeepCopy

func (in *UserStatus) DeepCopy() *UserStatus

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

func (*UserStatus) DeepCopyInto

func (in *UserStatus) DeepCopyInto(out *UserStatus)

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