v1alpha1

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2023 License: Apache-2.0 Imports: 7 Imported by: 1

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the acm.aws v1alpha1 API group +kubebuilder:object:generate=true +groupName=acm.aws.aeto.net

Index

Constants

View Source
const (
	ConditionTypeInUse  string = "InUse"
	ConditionTypeReady  string = "Ready"
	ConditionTypeInSync string = "InSync"
)

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "acm.aws.aeto.net", 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 Certificate

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

	Spec   CertificateSpec   `json:"spec,omitempty"`
	Status CertificateStatus `json:"status,omitempty"`
}

Certificate is the Schema for the certificates API

func (*Certificate) DeepCopy

func (in *Certificate) DeepCopy() *Certificate

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

func (*Certificate) DeepCopyInto

func (in *Certificate) DeepCopyInto(out *Certificate)

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

func (*Certificate) DeepCopyObject

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

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

func (Certificate) NamespacedName

func (c Certificate) NamespacedName() types.NamespacedName

NamespacedName returns a namespaced name for the custom resource

type CertificateConnector

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

	Spec   CertificateConnectorSpec   `json:"spec,omitempty"`
	Status CertificateConnectorStatus `json:"status,omitempty"`
}

CertificateConnector is the Schema for the certificateconnectors API

func (*CertificateConnector) DeepCopy

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

func (*CertificateConnector) DeepCopyInto

func (in *CertificateConnector) DeepCopyInto(out *CertificateConnector)

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

func (*CertificateConnector) DeepCopyObject

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

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

func (CertificateConnector) NamespacedName

func (cc CertificateConnector) NamespacedName() types.NamespacedName

NamespacedName returns a namespaced name for the custom resource

type CertificateConnectorList

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

CertificateConnectorList contains a list of CertificateConnector

func (*CertificateConnectorList) DeepCopy

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

func (*CertificateConnectorList) DeepCopyInto

func (in *CertificateConnectorList) DeepCopyInto(out *CertificateConnectorList)

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

func (*CertificateConnectorList) DeepCopyObject

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

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

type CertificateConnectorSpec

type CertificateConnectorSpec struct {

	// Ingress describes the ingress resources to update.
	// +kubebuilder:validation:Optional
	Ingress *IngressSpec `json:"ingress,omitempty"`

	// Certificates describes the certificates to connect.
	// +kubebuilder:validation:Required
	Certificates CertificatesSpec `json:"certificates,omitempty"`
}

CertificateConnectorSpec defines the desired state of CertificateConnector

func (*CertificateConnectorSpec) DeepCopy

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

func (*CertificateConnectorSpec) DeepCopyInto

func (in *CertificateConnectorSpec) DeepCopyInto(out *CertificateConnectorSpec)

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

type CertificateConnectorStatus

type CertificateConnectorStatus struct {

	// Conditions represent the latest available observations of the ResourceSet state.
	Conditions []metav1.Condition `json:"conditions"`
}

CertificateConnectorStatus defines the observed state of CertificateConnector

func (*CertificateConnectorStatus) DeepCopy

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

func (*CertificateConnectorStatus) DeepCopyInto

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

type CertificateDnsValidation

type CertificateDnsValidation struct {
	// HostedZoneId defines the id of the hosted zone to put DNS validation records in
	// +kubebuilder:validation:Required
	HostedZonedId string `json:"hostedZoneId"`
}

CertificateDnsValidation defines the DNS validation strategy

func (*CertificateDnsValidation) DeepCopy

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

func (*CertificateDnsValidation) DeepCopyInto

func (in *CertificateDnsValidation) DeepCopyInto(out *CertificateDnsValidation)

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

type CertificateList

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

CertificateList contains a list of Certificate

func (*CertificateList) DeepCopy

func (in *CertificateList) DeepCopy() *CertificateList

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

func (*CertificateList) DeepCopyInto

func (in *CertificateList) DeepCopyInto(out *CertificateList)

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

func (*CertificateList) DeepCopyObject

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

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

type CertificateSpec

type CertificateSpec struct {

	// Region where to create the AWS resource. If not specified, the value of AWS_REGION is used.
	// +kubebuilder:validation:Optional
	Region string `json:"region"`

	// DomainName is the fully qualified domain name (fqdn) used to create the AWS ACM Certificate.
	// +kubebuilder:validation:Required
	DomainName string `json:"domainName"`

	// Tags defines the tags to apply to the resource.
	// +kubebuilder:validation:Optional
	Tags map[string]string `json:"tags,omitempty"`

	// Validation defines the certificate validation strategy to use.
	// +kubebuilder:validation:Optional
	Validation *CertificateValidation `json:"validation,omitempty"`
}

CertificateSpec defines the desired state of Certificate

func (*CertificateSpec) DeepCopy

func (in *CertificateSpec) DeepCopy() *CertificateSpec

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

func (*CertificateSpec) DeepCopyInto

func (in *CertificateSpec) DeepCopyInto(out *CertificateSpec)

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

type CertificateStatus

type CertificateStatus struct {

	// Arn is the ARN of the AWS ACM Certificate.
	Arn string `json:"arn,omitempty"`

	// Status is the current status of the AWS ACM Certificate.
	Status string `json:"status,omitempty"`

	// Conditions represent the latest available observations of the ResourceSet state.
	Conditions []metav1.Condition `json:"conditions"`
}

CertificateStatus defines the observed state of Certificate

func (*CertificateStatus) DeepCopy

func (in *CertificateStatus) DeepCopy() *CertificateStatus

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

func (*CertificateStatus) DeepCopyInto

func (in *CertificateStatus) DeepCopyInto(out *CertificateStatus)

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

type CertificateValidation

type CertificateValidation struct {
	// Dns defines the dns certificate validation strategy
	// +kubebuilder:validation:Optional
	Dns *CertificateDnsValidation `json:"dns,omitempty"`
}

CertificateValidation defines the certificate validation strategy

func (*CertificateValidation) DeepCopy

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

func (*CertificateValidation) DeepCopyInto

func (in *CertificateValidation) DeepCopyInto(out *CertificateValidation)

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

type CertificatesSpec

type CertificatesSpec struct {
	// Selector specifies the selectors that need to match on a resource.
	// +kubebuilder:validation:Required
	Selector SelectorSpec `json:"selector"`
}

CertificatesSpec defines the Certificate resource selection

func (*CertificatesSpec) DeepCopy

func (in *CertificatesSpec) DeepCopy() *CertificatesSpec

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

func (*CertificatesSpec) DeepCopyInto

func (in *CertificatesSpec) DeepCopyInto(out *CertificatesSpec)

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

type ConnectorType

type ConnectorType string

Connector defines a type of connector

const (
	ConnectorTypeAlbIngressController ConnectorType = "alb.ingress.kubernetes.io"
)

type IngressSpec

type IngressSpec struct {
	// Connector defines the type of connector to use.
	// +kubebuilder:validation:Required
	Connector ConnectorType `json:"connector"`

	// Selector specifies the selectors that need to match on a resource.
	// +kubebuilder:validation:Required
	Selector SelectorSpec `json:"selector"`
}

IngressSpec defines the Ingress resource connection

func (*IngressSpec) DeepCopy

func (in *IngressSpec) DeepCopy() *IngressSpec

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

func (*IngressSpec) DeepCopyInto

func (in *IngressSpec) DeepCopyInto(out *IngressSpec)

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

type SelectorSpec

type SelectorSpec struct {
	// Namespaces specifies the namespaces to include resources from.
	// +kubebuilder:validation:Required
	Namespaces []string `json:"namespaces"`

	// Labels specifies the required labels on a resource.
	// +kubebuilder:validation:Required
	Labels map[string]string `json:"labels"`

	// Annotations specifies the required annotations on a resource.
	// +kubebuilder:validation:Required
	Annotations map[string]string `json:"annotations"`
}

SelectorSpec defines the selectors that need to match on a resource

func (*SelectorSpec) DeepCopy

func (in *SelectorSpec) DeepCopy() *SelectorSpec

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

func (*SelectorSpec) DeepCopyInto

func (in *SelectorSpec) DeepCopyInto(out *SelectorSpec)

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

func (SelectorSpec) ListOptions

func (selector SelectorSpec) ListOptions() *client.ListOptions

ListOptions returns client.ListOptions bases on the selector

func (SelectorSpec) Match

func (selector SelectorSpec) Match(item metav1.ObjectMeta) bool

Match returns true when the item matches the selector annotations and namespaces

Jump to

Keyboard shortcuts

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