v1alpha1

package
v0.0.0-alpha.3 Latest Latest
Warning

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

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

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the identity v1alpha1 API group. +kubebuilder:object:generate=true +groupName=identity.platform.tbd.io

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "identity.platform.tbd.io", 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
)
View Source
var ErrUnableToConvertAWSPodIdentityWebhook = errors.New("unable to convert to AWSPodIdentityWebhook")

Functions

This section is empty.

Types

type AWSPodIdentityWebhook

type AWSPodIdentityWebhook struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              AWSPodIdentityWebhookSpec   `json:"spec,omitempty"`
	Status            AWSPodIdentityWebhookStatus `json:"status,omitempty"`
}

AWSPodIdentityWebhook is the Schema for the awspodidentitywebhooks API.

func (*AWSPodIdentityWebhook) DeepCopy

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

func (*AWSPodIdentityWebhook) DeepCopyInto

func (in *AWSPodIdentityWebhook) DeepCopyInto(out *AWSPodIdentityWebhook)

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

func (*AWSPodIdentityWebhook) DeepCopyObject

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

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

func (*AWSPodIdentityWebhook) GetChildResourceConditions

func (component *AWSPodIdentityWebhook) GetChildResourceConditions() []*status.ChildResource

GetResources returns the child resource status for a component.

func (*AWSPodIdentityWebhook) GetDependencies

func (*AWSPodIdentityWebhook) GetDependencies() []workload.Workload

GetDependencies returns the dependencies for a component.

func (*AWSPodIdentityWebhook) GetDependencyStatus

func (component *AWSPodIdentityWebhook) GetDependencyStatus() bool

GetDependencyStatus returns the dependency status for a component.

func (*AWSPodIdentityWebhook) GetPhaseConditions

func (component *AWSPodIdentityWebhook) GetPhaseConditions() []*status.PhaseCondition

GetPhaseConditions returns the phase conditions for a component.

func (*AWSPodIdentityWebhook) GetReadyStatus

func (component *AWSPodIdentityWebhook) GetReadyStatus() bool

GetReadyStatus returns the ready status for a component.

func (*AWSPodIdentityWebhook) GetWorkloadGVK

func (*AWSPodIdentityWebhook) GetWorkloadGVK() schema.GroupVersionKind

GetComponentGVK returns a GVK object for the component.

func (*AWSPodIdentityWebhook) SetChildResourceCondition

func (component *AWSPodIdentityWebhook) SetChildResourceCondition(resource *status.ChildResource)

SetResources sets the phase conditions for a component.

func (*AWSPodIdentityWebhook) SetDependencyStatus

func (component *AWSPodIdentityWebhook) SetDependencyStatus(dependencyStatus bool)

SetDependencyStatus sets the dependency status for a component.

func (*AWSPodIdentityWebhook) SetPhaseCondition

func (component *AWSPodIdentityWebhook) SetPhaseCondition(condition *status.PhaseCondition)

SetPhaseCondition sets the phase conditions for a component.

func (*AWSPodIdentityWebhook) SetReadyStatus

func (component *AWSPodIdentityWebhook) SetReadyStatus(ready bool)

SetReadyStatus sets the ready status for a component.

type AWSPodIdentityWebhookList

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

AWSPodIdentityWebhookList contains a list of AWSPodIdentityWebhook.

func (*AWSPodIdentityWebhookList) DeepCopy

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

func (*AWSPodIdentityWebhookList) DeepCopyInto

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

func (*AWSPodIdentityWebhookList) DeepCopyObject

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

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

type AWSPodIdentityWebhookSpec

type AWSPodIdentityWebhookSpec struct {

	// +kubebuilder:default="tbd-identity-system"
	// +kubebuilder:validation:Optional
	// (Default: "tbd-identity-system")
	Namespace string `json:"namespace,omitempty"`

	// +kubebuilder:default=2
	// +kubebuilder:validation:Optional
	// (Default: 2)
	//
	//	Number of replicas to use for the AWS pod identity webhook deployment.
	Replicas int `json:"replicas,omitempty"`

	// +kubebuilder:default="amazon/amazon-eks-pod-identity-webhook:v0.5.3"
	// +kubebuilder:validation:Optional
	// (Default: "amazon/amazon-eks-pod-identity-webhook:v0.5.3")
	//
	//	Image to use for AWS pod identity webhook deployment.
	Image string `json:"image,omitempty"`

	// +kubebuilder:validation:Optional
	Resources AWSPodIdentityWebhookSpecResources `json:"resources,omitempty"`
}

AWSPodIdentityWebhookSpec defines the desired state of AWSPodIdentityWebhook.

func (*AWSPodIdentityWebhookSpec) DeepCopy

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

func (*AWSPodIdentityWebhookSpec) DeepCopyInto

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

type AWSPodIdentityWebhookSpecResources

type AWSPodIdentityWebhookSpecResources struct {
	// +kubebuilder:validation:Optional
	Requests AWSPodIdentityWebhookSpecResourcesRequests `json:"requests,omitempty"`

	// +kubebuilder:validation:Optional
	Limits AWSPodIdentityWebhookSpecResourcesLimits `json:"limits,omitempty"`
}

func (*AWSPodIdentityWebhookSpecResources) DeepCopy

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

func (*AWSPodIdentityWebhookSpecResources) DeepCopyInto

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

type AWSPodIdentityWebhookSpecResourcesLimits

type AWSPodIdentityWebhookSpecResourcesLimits struct {
	// +kubebuilder:default="64Mi"
	// +kubebuilder:validation:Optional
	// (Default: "64Mi")
	//
	//	Memory limits to use for AWS pod identity webhook deployment.
	Memory string `json:"memory,omitempty"`
}

func (*AWSPodIdentityWebhookSpecResourcesLimits) DeepCopy

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

func (*AWSPodIdentityWebhookSpecResourcesLimits) DeepCopyInto

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

type AWSPodIdentityWebhookSpecResourcesRequests

type AWSPodIdentityWebhookSpecResourcesRequests struct {
	// +kubebuilder:default="25m"
	// +kubebuilder:validation:Optional
	// (Default: "25m")
	//
	//	CPU requests to use for AWS pod identity webhook deployment.
	Cpu string `json:"cpu,omitempty"`

	// +kubebuilder:default="32Mi"
	// +kubebuilder:validation:Optional
	// (Default: "32Mi")
	//
	//	Memory requests to use for AWS pod identity webhook deployment.
	Memory string `json:"memory,omitempty"`
}

func (*AWSPodIdentityWebhookSpecResourcesRequests) DeepCopy

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

func (*AWSPodIdentityWebhookSpecResourcesRequests) DeepCopyInto

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

type AWSPodIdentityWebhookStatus

type AWSPodIdentityWebhookStatus struct {
	Created               bool                     `json:"created,omitempty"`
	DependenciesSatisfied bool                     `json:"dependenciesSatisfied,omitempty"`
	Conditions            []*status.PhaseCondition `json:"conditions,omitempty"`
	Resources             []*status.ChildResource  `json:"resources,omitempty"`
}

AWSPodIdentityWebhookStatus defines the observed state of AWSPodIdentityWebhook.

func (*AWSPodIdentityWebhookStatus) DeepCopy

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

func (*AWSPodIdentityWebhookStatus) DeepCopyInto

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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