v1alpha1

package
v0.5.0 Latest Latest
Warning

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

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

Documentation

Overview

+groupName=globalaccelerator.aws.kubeform.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api.
	// localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes.
	SchemeBuilder runtime.SchemeBuilder

	AddToScheme = localSchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: globalaccelerator.GroupName, Version: "v1alpha1"}

Functions

func GetDecoder

func GetDecoder() map[string]jsoniter.ValDecoder

func GetEncoder

func GetEncoder() map[string]jsoniter.ValEncoder

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns a Group qualified GroupKind

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type Accelerator

type Accelerator struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              AcceleratorSpec   `json:"spec,omitempty"`
	Status            AcceleratorStatus `json:"status,omitempty"`
}

func (*Accelerator) DeepCopy

func (in *Accelerator) DeepCopy() *Accelerator

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

func (*Accelerator) DeepCopyInto

func (in *Accelerator) DeepCopyInto(out *Accelerator)

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

func (*Accelerator) DeepCopyObject

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

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

func (*Accelerator) SetupWebhookWithManager

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

func (*Accelerator) ValidateCreate

func (r *Accelerator) ValidateCreate() error

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

func (*Accelerator) ValidateDelete

func (r *Accelerator) ValidateDelete() error

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

func (*Accelerator) ValidateUpdate

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

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

type AcceleratorList

type AcceleratorList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of Accelerator CRD objects
	Items []Accelerator `json:"items,omitempty"`
}

AcceleratorList is a list of Accelerators

func (*AcceleratorList) DeepCopy

func (in *AcceleratorList) DeepCopy() *AcceleratorList

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

func (*AcceleratorList) DeepCopyInto

func (in *AcceleratorList) DeepCopyInto(out *AcceleratorList)

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

func (*AcceleratorList) DeepCopyObject

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

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

type AcceleratorSpec

type AcceleratorSpec struct {
	State *AcceleratorSpecResource `json:"state,omitempty" tf:"-"`

	Resource AcceleratorSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*AcceleratorSpec) DeepCopy

func (in *AcceleratorSpec) DeepCopy() *AcceleratorSpec

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

func (*AcceleratorSpec) DeepCopyInto

func (in *AcceleratorSpec) DeepCopyInto(out *AcceleratorSpec)

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

type AcceleratorSpecAttributes

type AcceleratorSpecAttributes struct {
	// +optional
	FlowLogsEnabled *bool `json:"flowLogsEnabled,omitempty" tf:"flow_logs_enabled"`
	// +optional
	FlowLogsS3Bucket *string `json:"flowLogsS3Bucket,omitempty" tf:"flow_logs_s3_bucket"`
	// +optional
	FlowLogsS3Prefix *string `json:"flowLogsS3Prefix,omitempty" tf:"flow_logs_s3_prefix"`
}

func (*AcceleratorSpecAttributes) DeepCopy

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

func (*AcceleratorSpecAttributes) DeepCopyInto

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

type AcceleratorSpecAttributesCodec

type AcceleratorSpecAttributesCodec struct {
}

+k8s:deepcopy-gen=false

func (AcceleratorSpecAttributesCodec) Decode

func (AcceleratorSpecAttributesCodec) Encode

func (AcceleratorSpecAttributesCodec) IsEmpty

type AcceleratorSpecIpSets

type AcceleratorSpecIpSets struct {
	// +optional
	IpAddresses []string `json:"ipAddresses,omitempty" tf:"ip_addresses"`
	// +optional
	IpFamily *string `json:"ipFamily,omitempty" tf:"ip_family"`
}

func (*AcceleratorSpecIpSets) DeepCopy

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

func (*AcceleratorSpecIpSets) DeepCopyInto

func (in *AcceleratorSpecIpSets) DeepCopyInto(out *AcceleratorSpecIpSets)

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

type AcceleratorSpecResource

type AcceleratorSpecResource struct {
	Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"`

	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// +optional
	Attributes *AcceleratorSpecAttributes `json:"attributes,omitempty" tf:"attributes"`
	// +optional
	DnsName *string `json:"dnsName,omitempty" tf:"dns_name"`
	// +optional
	Enabled *bool `json:"enabled,omitempty" tf:"enabled"`
	// +optional
	HostedZoneID *string `json:"hostedZoneID,omitempty" tf:"hosted_zone_id"`
	// +optional
	IpAddressType *string `json:"ipAddressType,omitempty" tf:"ip_address_type"`
	// +optional
	IpSets []AcceleratorSpecIpSets `json:"ipSets,omitempty" tf:"ip_sets"`
	Name   *string                 `json:"name" tf:"name"`
	// +optional
	Tags *map[string]string `json:"tags,omitempty" tf:"tags"`
	// +optional
	TagsAll *map[string]string `json:"tagsAll,omitempty" tf:"tags_all"`
}

func (*AcceleratorSpecResource) DeepCopy

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

func (*AcceleratorSpecResource) DeepCopyInto

func (in *AcceleratorSpecResource) DeepCopyInto(out *AcceleratorSpecResource)

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

type AcceleratorStatus

type AcceleratorStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*AcceleratorStatus) DeepCopy

func (in *AcceleratorStatus) DeepCopy() *AcceleratorStatus

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

func (*AcceleratorStatus) DeepCopyInto

func (in *AcceleratorStatus) DeepCopyInto(out *AcceleratorStatus)

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

type EndpointGroup

type EndpointGroup struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              EndpointGroupSpec   `json:"spec,omitempty"`
	Status            EndpointGroupStatus `json:"status,omitempty"`
}

func (*EndpointGroup) DeepCopy

func (in *EndpointGroup) DeepCopy() *EndpointGroup

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

func (*EndpointGroup) DeepCopyInto

func (in *EndpointGroup) DeepCopyInto(out *EndpointGroup)

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

func (*EndpointGroup) DeepCopyObject

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

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

func (*EndpointGroup) SetupWebhookWithManager

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

func (*EndpointGroup) ValidateCreate

func (r *EndpointGroup) ValidateCreate() error

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

func (*EndpointGroup) ValidateDelete

func (r *EndpointGroup) ValidateDelete() error

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

func (*EndpointGroup) ValidateUpdate

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

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

type EndpointGroupList

type EndpointGroupList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of EndpointGroup CRD objects
	Items []EndpointGroup `json:"items,omitempty"`
}

EndpointGroupList is a list of EndpointGroups

func (*EndpointGroupList) DeepCopy

func (in *EndpointGroupList) DeepCopy() *EndpointGroupList

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

func (*EndpointGroupList) DeepCopyInto

func (in *EndpointGroupList) DeepCopyInto(out *EndpointGroupList)

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

func (*EndpointGroupList) DeepCopyObject

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

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

type EndpointGroupSpec

type EndpointGroupSpec struct {
	State *EndpointGroupSpecResource `json:"state,omitempty" tf:"-"`

	Resource EndpointGroupSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*EndpointGroupSpec) DeepCopy

func (in *EndpointGroupSpec) DeepCopy() *EndpointGroupSpec

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

func (*EndpointGroupSpec) DeepCopyInto

func (in *EndpointGroupSpec) DeepCopyInto(out *EndpointGroupSpec)

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

type EndpointGroupSpecEndpointConfiguration

type EndpointGroupSpecEndpointConfiguration struct {
	// +optional
	ClientIPPreservationEnabled *bool `json:"clientIPPreservationEnabled,omitempty" tf:"client_ip_preservation_enabled"`
	// +optional
	EndpointID *string `json:"endpointID,omitempty" tf:"endpoint_id"`
	// +optional
	Weight *int64 `json:"weight,omitempty" tf:"weight"`
}

func (*EndpointGroupSpecEndpointConfiguration) DeepCopy

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

func (*EndpointGroupSpecEndpointConfiguration) DeepCopyInto

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

type EndpointGroupSpecPortOverride

type EndpointGroupSpecPortOverride struct {
	EndpointPort *int64 `json:"endpointPort" tf:"endpoint_port"`
	ListenerPort *int64 `json:"listenerPort" tf:"listener_port"`
}

func (*EndpointGroupSpecPortOverride) DeepCopy

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

func (*EndpointGroupSpecPortOverride) DeepCopyInto

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

type EndpointGroupSpecResource

type EndpointGroupSpecResource struct {
	Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"`

	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// +optional
	Arn *string `json:"arn,omitempty" tf:"arn"`
	// +optional
	EndpointConfiguration []EndpointGroupSpecEndpointConfiguration `json:"endpointConfiguration,omitempty" tf:"endpoint_configuration"`
	// +optional
	EndpointGroupRegion *string `json:"endpointGroupRegion,omitempty" tf:"endpoint_group_region"`
	// +optional
	HealthCheckIntervalSeconds *int64 `json:"healthCheckIntervalSeconds,omitempty" tf:"health_check_interval_seconds"`
	// +optional
	HealthCheckPath *string `json:"healthCheckPath,omitempty" tf:"health_check_path"`
	// +optional
	HealthCheckPort *int64 `json:"healthCheckPort,omitempty" tf:"health_check_port"`
	// +optional
	HealthCheckProtocol *string `json:"healthCheckProtocol,omitempty" tf:"health_check_protocol"`
	ListenerArn         *string `json:"listenerArn" tf:"listener_arn"`
	// +optional
	// +kubebuilder:validation:MaxItems=10
	PortOverride []EndpointGroupSpecPortOverride `json:"portOverride,omitempty" tf:"port_override"`
	// +optional
	ThresholdCount *int64 `json:"thresholdCount,omitempty" tf:"threshold_count"`
	// +optional
	TrafficDialPercentage *float64 `json:"trafficDialPercentage,omitempty" tf:"traffic_dial_percentage"`
}

func (*EndpointGroupSpecResource) DeepCopy

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

func (*EndpointGroupSpecResource) DeepCopyInto

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

type EndpointGroupStatus

type EndpointGroupStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*EndpointGroupStatus) DeepCopy

func (in *EndpointGroupStatus) DeepCopy() *EndpointGroupStatus

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

func (*EndpointGroupStatus) DeepCopyInto

func (in *EndpointGroupStatus) DeepCopyInto(out *EndpointGroupStatus)

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

type Listener

type Listener struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ListenerSpec   `json:"spec,omitempty"`
	Status            ListenerStatus `json:"status,omitempty"`
}

func (*Listener) DeepCopy

func (in *Listener) DeepCopy() *Listener

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

func (*Listener) DeepCopyInto

func (in *Listener) DeepCopyInto(out *Listener)

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

func (*Listener) DeepCopyObject

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

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

func (*Listener) SetupWebhookWithManager

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

func (*Listener) ValidateCreate

func (r *Listener) ValidateCreate() error

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

func (*Listener) ValidateDelete

func (r *Listener) ValidateDelete() error

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

func (*Listener) ValidateUpdate

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

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

type ListenerList

type ListenerList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of Listener CRD objects
	Items []Listener `json:"items,omitempty"`
}

ListenerList is a list of Listeners

func (*ListenerList) DeepCopy

func (in *ListenerList) DeepCopy() *ListenerList

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

func (*ListenerList) DeepCopyInto

func (in *ListenerList) DeepCopyInto(out *ListenerList)

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

func (*ListenerList) DeepCopyObject

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

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

type ListenerSpec

type ListenerSpec struct {
	State *ListenerSpecResource `json:"state,omitempty" tf:"-"`

	Resource ListenerSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*ListenerSpec) DeepCopy

func (in *ListenerSpec) DeepCopy() *ListenerSpec

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

func (*ListenerSpec) DeepCopyInto

func (in *ListenerSpec) DeepCopyInto(out *ListenerSpec)

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

type ListenerSpecPortRange

type ListenerSpecPortRange struct {
	// +optional
	FromPort *int64 `json:"fromPort,omitempty" tf:"from_port"`
	// +optional
	ToPort *int64 `json:"toPort,omitempty" tf:"to_port"`
}

func (*ListenerSpecPortRange) DeepCopy

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

func (*ListenerSpecPortRange) DeepCopyInto

func (in *ListenerSpecPortRange) DeepCopyInto(out *ListenerSpecPortRange)

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

type ListenerSpecResource

type ListenerSpecResource struct {
	Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"`

	ID string `json:"id,omitempty" tf:"id,omitempty"`

	AcceleratorArn *string `json:"acceleratorArn" tf:"accelerator_arn"`
	// +optional
	ClientAffinity *string `json:"clientAffinity,omitempty" tf:"client_affinity"`
	// +kubebuilder:validation:MaxItems=10
	// +kubebuilder:validation:MinItems=1
	PortRange []ListenerSpecPortRange `json:"portRange" tf:"port_range"`
	Protocol  *string                 `json:"protocol" tf:"protocol"`
}

func (*ListenerSpecResource) DeepCopy

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

func (*ListenerSpecResource) DeepCopyInto

func (in *ListenerSpecResource) DeepCopyInto(out *ListenerSpecResource)

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

type ListenerStatus

type ListenerStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*ListenerStatus) DeepCopy

func (in *ListenerStatus) DeepCopy() *ListenerStatus

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

func (*ListenerStatus) DeepCopyInto

func (in *ListenerStatus) DeepCopyInto(out *ListenerStatus)

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