v1beta2

package
Version: v1.5.0 Latest Latest
Warning

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

Go to latest
Published: May 18, 2022 License: Apache-2.0 Imports: 6 Imported by: 15

Documentation

Overview

Package v1beta2 contains API Schema definitions for the appmesh v1beta2 API group +kubebuilder:object:generate=true +groupName=appmesh.k8s.aws

Index

Constants

View Source
const (
	IpPreferenceIPv4 string = "IPv4_ONLY"
	IpPreferenceIPv6 string = "IPv6_ONLY"
)

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "appmesh.k8s.aws", Version: "v1beta2"}

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

type AWSCloudMapInstanceAttribute struct {
	// The name of an AWS Cloud Map service instance attribute key.
	// +kubebuilder:validation:MinLength=1
	// +kubebuilder:validation:MaxLength=255
	Key string `json:"key"`
	// The value of an AWS Cloud Map service instance attribute key.
	// +kubebuilder:validation:MinLength=1
	// +kubebuilder:validation:MaxLength=1024
	Value string `json:"value"`
}

AWSCloudMapInstanceAttribute refers to https://docs.aws.amazon.com/app-mesh/latest/APIReference/API_AwsCloudMapInstanceAttribute.html

func (*AWSCloudMapInstanceAttribute) DeepCopy

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

func (*AWSCloudMapInstanceAttribute) DeepCopyInto

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

type AWSCloudMapServiceDiscovery

type AWSCloudMapServiceDiscovery struct {
	// The name of the AWS Cloud Map namespace to use.
	// +kubebuilder:validation:MinLength=1
	// +kubebuilder:validation:MaxLength=1024
	NamespaceName string `json:"namespaceName"`
	// The name of the AWS Cloud Map service to use.
	// +kubebuilder:validation:MinLength=1
	// +kubebuilder:validation:MaxLength=1024
	ServiceName string `json:"serviceName"`
	// A string map that contains attributes with values that you can use to filter instances by any custom attribute that you specified when you registered the instance
	// +optional
	Attributes []AWSCloudMapInstanceAttribute `json:"attributes,omitempty"`
}

AWSCloudMapServiceDiscovery refers to https://docs.aws.amazon.com/app-mesh/latest/APIReference/API_AwsCloudMapServiceDiscovery.html

func (*AWSCloudMapServiceDiscovery) DeepCopy

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

func (*AWSCloudMapServiceDiscovery) DeepCopyInto

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

type AccessLog

type AccessLog struct {
	// The file object to send virtual node access logs to.
	// +optional
	File *FileAccessLog `json:"file,omitempty"`
}

AccessLog refers to https://docs.aws.amazon.com/app-mesh/latest/APIReference/API_AccessLog.html

func (*AccessLog) DeepCopy

func (in *AccessLog) DeepCopy() *AccessLog

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

func (*AccessLog) DeepCopyInto

func (in *AccessLog) DeepCopyInto(out *AccessLog)

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

type Backend

type Backend struct {
	// Specifies a virtual service to use as a backend for a virtual node.
	VirtualService VirtualServiceBackend `json:"virtualService"`
}

Backend refers to https://docs.aws.amazon.com/app-mesh/latest/APIReference/API_Backend.html

func (*Backend) DeepCopy

func (in *Backend) DeepCopy() *Backend

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

func (*Backend) DeepCopyInto

func (in *Backend) DeepCopyInto(out *Backend)

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

type BackendDefaults

type BackendDefaults struct {
	// A reference to an object that represents a client policy.
	// +optional
	ClientPolicy *ClientPolicy `json:"clientPolicy,omitempty"`
}

BackendDefaults refers to https://docs.aws.amazon.com/app-mesh/latest/APIReference/API_BackendDefaults.html

func (*BackendDefaults) DeepCopy

func (in *BackendDefaults) DeepCopy() *BackendDefaults

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

func (*BackendDefaults) DeepCopyInto

func (in *BackendDefaults) DeepCopyInto(out *BackendDefaults)

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

type ClientPolicy

type ClientPolicy struct {
	// A reference to an object that represents a Transport Layer Security (TLS) client policy.
	// +optional
	TLS *ClientPolicyTLS `json:"tls,omitempty"`
}

ClientPolicy refers to https://docs.aws.amazon.com/app-mesh/latest/APIReference/API_ClientPolicy.html

func (*ClientPolicy) DeepCopy

func (in *ClientPolicy) DeepCopy() *ClientPolicy

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

func (*ClientPolicy) DeepCopyInto

func (in *ClientPolicy) DeepCopyInto(out *ClientPolicy)

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

type ClientPolicyTLS

type ClientPolicyTLS struct {
	// Whether the policy is enforced.
	// If unspecified, default settings from AWS API will be applied. Refer to AWS Docs for default settings.
	// +optional
	Enforce *bool `json:"enforce,omitempty"`
	// The range of ports that the policy is enforced for.
	// +optional
	Ports []PortNumber `json:"ports,omitempty"`
	// A reference to an object that represents a TLS validation context.
	Validation TLSValidationContext `json:"validation"`
	// A reference to an object that represents TLS certificate.
	//+optional
	Certificate *ClientTLSCertificate `json:"certificate,omitempty"`
}

ClientPolicyTLS refers to https://docs.aws.amazon.com/app-mesh/latest/APIReference/API_ClientPolicyTls.html

func (*ClientPolicyTLS) DeepCopy

func (in *ClientPolicyTLS) DeepCopy() *ClientPolicyTLS

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

func (*ClientPolicyTLS) DeepCopyInto

func (in *ClientPolicyTLS) DeepCopyInto(out *ClientPolicyTLS)

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

type ClientTLSCertificate added in v1.3.0

type ClientTLSCertificate struct {
	// An object that represents a TLS cert via a local file
	// +optional
	File *ListenerTLSFileCertificate `json:"file,omitempty"`
	// An object that represents a TLS cert via SDS entry
	// +optional
	SDS *ListenerTLSSDSCertificate `json:"sds,omitempty"`
}

func (*ClientTLSCertificate) DeepCopy added in v1.3.0

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

func (*ClientTLSCertificate) DeepCopyInto added in v1.3.0

func (in *ClientTLSCertificate) DeepCopyInto(out *ClientTLSCertificate)

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

type DNSServiceDiscovery

type DNSServiceDiscovery struct {
	// Specifies the DNS service discovery hostname for the virtual node.
	Hostname string `json:"hostname"`
	// Choose between ENDPOINTS (strict DNS) and LOADBALANCER (logical DNS) mode in Envoy sidecar
	// +kubebuilder:validation:Enum=ENDPOINTS;LOADBALANCER
	// +optional
	ResponseType *string `json:"responseType,omitempty"`
}

DNSServiceDiscovery refers to https://docs.aws.amazon.com/app-mesh/latest/APIReference/API_DnsServiceDiscovery.html

func (*DNSServiceDiscovery) DeepCopy

func (in *DNSServiceDiscovery) DeepCopy() *DNSServiceDiscovery

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

func (*DNSServiceDiscovery) DeepCopyInto

func (in *DNSServiceDiscovery) DeepCopyInto(out *DNSServiceDiscovery)

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

type Duration

type Duration struct {
	// A unit of time.
	Unit DurationUnit `json:"unit"`
	// A number of time units.
	// +kubebuilder:validation:Minimum=0
	Value int64 `json:"value"`
}

func (*Duration) DeepCopy

func (in *Duration) DeepCopy() *Duration

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

func (*Duration) DeepCopyInto

func (in *Duration) DeepCopyInto(out *Duration)

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

type DurationUnit

type DurationUnit string

+kubebuilder:validation:Enum=s;ms

const (
	DurationUnitS  DurationUnit = "s"
	DurationUnitMS DurationUnit = "ms"
)

type EgressFilter

type EgressFilter struct {
	// The egress filter type.
	Type EgressFilterType `json:"type"`
}

EgressFilter refers to https://docs.aws.amazon.com/app-mesh/latest/APIReference/API_EgressFilter.html

func (*EgressFilter) DeepCopy

func (in *EgressFilter) DeepCopy() *EgressFilter

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

func (*EgressFilter) DeepCopyInto

func (in *EgressFilter) DeepCopyInto(out *EgressFilter)

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

type EgressFilterType

type EgressFilterType string

+kubebuilder:validation:Enum=ALLOW_ALL;DROP_ALL

const (
	// EgressFilterTypeAllowAll allows egress to any endpoint inside or outside of the service mesh
	EgressFilterTypeAllowAll EgressFilterType = "ALLOW_ALL"
	// EgressFilterTypeDropAll allows egress only from virtual nodes to other defined resources in the service mesh (and any traffic to *.amazonaws.com for AWS API calls)
	EgressFilterTypeDropAll EgressFilterType = "DROP_ALL"
)

type FileAccessLog

type FileAccessLog struct {
	// The file path to write access logs to.
	// +kubebuilder:validation:MinLength=1
	// +kubebuilder:validation:MaxLength=255
	Path string `json:"path"`
}

FileAccessLog refers to https://docs.aws.amazon.com/app-mesh/latest/APIReference/API_FileAccessLog.html

func (*FileAccessLog) DeepCopy

func (in *FileAccessLog) DeepCopy() *FileAccessLog

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

func (*FileAccessLog) DeepCopyInto

func (in *FileAccessLog) DeepCopyInto(out *FileAccessLog)

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

type GRPCConnectionPool added in v1.2.0

type GRPCConnectionPool struct {
	// Represents the maximum number of inflight requests that an envoy
	// can concurrently support across all the hosts in the upstream cluster
	// +kubebuilder:validation:Minimum=1
	MaxRequests int64 `json:"maxRequests"`
}

func (*GRPCConnectionPool) DeepCopy added in v1.2.0

func (in *GRPCConnectionPool) DeepCopy() *GRPCConnectionPool

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

func (*GRPCConnectionPool) DeepCopyInto added in v1.2.0

func (in *GRPCConnectionPool) DeepCopyInto(out *GRPCConnectionPool)

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

type GRPCGatewayRoute

type GRPCGatewayRoute struct {
	// An object that represents the criteria for determining a request match.
	Match GRPCGatewayRouteMatch `json:"match"`
	// An object that represents the action to take if a match is determined.
	Action GRPCGatewayRouteAction `json:"action"`
}

GRPCGatewayRoute refers to https://docs.aws.amazon.com/app-mesh/latest/userguide/gateway-routes.html

func (*GRPCGatewayRoute) DeepCopy

func (in *GRPCGatewayRoute) DeepCopy() *GRPCGatewayRoute

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

func (*GRPCGatewayRoute) DeepCopyInto

func (in *GRPCGatewayRoute) DeepCopyInto(out *GRPCGatewayRoute)

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

type GRPCGatewayRouteAction

type GRPCGatewayRouteAction struct {
	// An object that represents the target that traffic is routed to when a request matches the route.
	Target GatewayRouteTarget `json:"target"`
	// +optional
	Rewrite *GrpcGatewayRouteRewrite `json:"rewrite,omitempty"`
}

GRPCGatewayRouteAction refers to https://docs.aws.amazon.com/app-mesh/latest/APIReference/API_GrpcGatewayRouteAction.html

func (*GRPCGatewayRouteAction) DeepCopy

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

func (*GRPCGatewayRouteAction) DeepCopyInto

func (in *GRPCGatewayRouteAction) DeepCopyInto(out *GRPCGatewayRouteAction)

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

type GRPCGatewayRouteMatch

type GRPCGatewayRouteMatch struct {
	// Either ServiceName or Hostname must be specified. Both are allowed as well
	// The fully qualified domain name for the service to match from the request.
	// +optional
	ServiceName *string `json:"serviceName,omitempty"`
	// The client specified Hostname to match on.
	// +optional
	Hostname *GatewayRouteHostnameMatch `json:"hostname,omitempty"`
	// An object that represents the data to match from the request.
	// +kubebuilder:validation:MinItems=1
	// +kubebuilder:validation:MaxItems=10
	// +optional
	Metadata []GRPCGatewayRouteMetadata `json:"metadata,omitempty"`
}

GRPCGatewayRouteMatch refers to https://docs.aws.amazon.com/app-mesh/latest/APIReference/API_GrpcGatewayRouteMatch.html

func (*GRPCGatewayRouteMatch) DeepCopy

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

func (*GRPCGatewayRouteMatch) DeepCopyInto

func (in *GRPCGatewayRouteMatch) DeepCopyInto(out *GRPCGatewayRouteMatch)

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

type GRPCGatewayRouteMetadata added in v1.4.0

type GRPCGatewayRouteMetadata struct {
	// The name of the route.
	// +kubebuilder:validation:MinLength=1
	// +kubebuilder:validation:MaxLength=50
	Name *string `json:"name"`
	// An object that represents the data to match from the request.
	// +optional
	Match *GRPCRouteMetadataMatchMethod `json:"match,omitempty"`
	// Specify True to match anything except the match criteria. The default value is False.
	// +optional
	Invert *bool `json:"invert,omitempty"`
}

GRPCGatewayRouteMetadata refers to https://docs.aws.amazon.com/app-mesh/latest/APIReference/API_GrpcGatewayRouteMetadata.html

func (*GRPCGatewayRouteMetadata) DeepCopy added in v1.4.0

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

func (*GRPCGatewayRouteMetadata) DeepCopyInto added in v1.4.0

func (in *GRPCGatewayRouteMetadata) DeepCopyInto(out *GRPCGatewayRouteMetadata)

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

type GRPCRetryPolicy

type GRPCRetryPolicy struct {
	// +kubebuilder:validation:MinItems=1
	// +kubebuilder:validation:MaxItems=5
	// +optional
	GRPCRetryEvents []GRPCRetryPolicyEvent `json:"grpcRetryEvents,omitempty"`
	// +kubebuilder:validation:MinItems=1
	// +kubebuilder:validation:MaxItems=25
	// +optional
	HTTPRetryEvents []HTTPRetryPolicyEvent `json:"httpRetryEvents,omitempty"`
	// +kubebuilder:validation:MinItems=1
	// +kubebuilder:validation:MaxItems=1
	// +optional
	TCPRetryEvents []TCPRetryPolicyEvent `json:"tcpRetryEvents,omitempty"`
	// The maximum number of retry attempts.
	// +kubebuilder:validation:Minimum=0
	MaxRetries int64 `json:"maxRetries"`
	// An object that represents a duration of time.
	PerRetryTimeout Duration `json:"perRetryTimeout"`
}

GRPCRetryPolicy refers to https://docs.aws.amazon.com/app-mesh/latest/APIReference/API_GrpcRetryPolicy.html

func (*GRPCRetryPolicy) DeepCopy

func (in *GRPCRetryPolicy) DeepCopy() *GRPCRetryPolicy

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

func (*GRPCRetryPolicy) DeepCopyInto

func (in *GRPCRetryPolicy) DeepCopyInto(out *GRPCRetryPolicy)

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

type GRPCRetryPolicyEvent

type GRPCRetryPolicyEvent string

+kubebuilder:validation:Enum=cancelled;deadline-exceeded;internal;resource-exhausted;unavailable

type GRPCRoute

type GRPCRoute struct {
	// An object that represents the criteria for determining a request match.
	Match GRPCRouteMatch `json:"match"`
	// An object that represents the action to take if a match is determined.
	Action GRPCRouteAction `json:"action"`
	// An object that represents a retry policy.
	// +optional
	RetryPolicy *GRPCRetryPolicy `json:"retryPolicy,omitempty"`
	// An object that represents a grpc timeout.
	// +optional
	Timeout *GRPCTimeout `json:"timeout,omitempty"`
}

GRPCRoute refers to https://docs.aws.amazon.com/app-mesh/latest/APIReference/API_GrpcRoute.html

func (*GRPCRoute) DeepCopy

func (in *GRPCRoute) DeepCopy() *GRPCRoute

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

func (*GRPCRoute) DeepCopyInto

func (in *GRPCRoute) DeepCopyInto(out *GRPCRoute)

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

type GRPCRouteAction

type GRPCRouteAction struct {
	// An object that represents the targets that traffic is routed to when a request matches the route.
	// +kubebuilder:validation:MinItems=1
	// +kubebuilder:validation:MaxItems=10
	WeightedTargets []WeightedTarget `json:"weightedTargets"`
}

GRPCRouteAction refers to https://docs.aws.amazon.com/app-mesh/latest/APIReference/API_GrpcRouteAction.html

func (*GRPCRouteAction) DeepCopy

func (in *GRPCRouteAction) DeepCopy() *GRPCRouteAction

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

func (*GRPCRouteAction) DeepCopyInto

func (in *GRPCRouteAction) DeepCopyInto(out *GRPCRouteAction)

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

type GRPCRouteMatch

type GRPCRouteMatch struct {
	// The method name to match from the request. If you specify a name, you must also specify a serviceName.
	// +kubebuilder:validation:MinLength=1
	// +kubebuilder:validation:MaxLength=50
	// +optional
	MethodName *string `json:"methodName,omitempty"`
	// The fully qualified domain name for the service to match from the request.
	// +optional
	ServiceName *string `json:"serviceName,omitempty"`
	// An object that represents the data to match from the request.
	// +kubebuilder:validation:MinItems=1
	// +kubebuilder:validation:MaxItems=10
	// +optional
	Metadata []GRPCRouteMetadata `json:"metadata,omitempty"`
}

GRPCRouteMatch refers to https://docs.aws.amazon.com/app-mesh/latest/APIReference/API_GrpcRouteMatch.html

func (*GRPCRouteMatch) DeepCopy

func (in *GRPCRouteMatch) DeepCopy() *GRPCRouteMatch

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

func (*GRPCRouteMatch) DeepCopyInto

func (in *GRPCRouteMatch) DeepCopyInto(out *GRPCRouteMatch)

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

type GRPCRouteMetadata

type GRPCRouteMetadata struct {
	// The name of the route.
	// +kubebuilder:validation:MinLength=1
	// +kubebuilder:validation:MaxLength=50
	Name string `json:"name"`
	// An object that represents the data to match from the request.
	// +optional
	Match *GRPCRouteMetadataMatchMethod `json:"match,omitempty"`
	// Specify True to match anything except the match criteria. The default value is False.
	// +optional
	Invert *bool `json:"invert,omitempty"`
}

GRPCRouteMetadata refers to https://docs.aws.amazon.com/app-mesh/latest/APIReference/API_GrpcRouteMetadata.html

func (*GRPCRouteMetadata) DeepCopy

func (in *GRPCRouteMetadata) DeepCopy() *GRPCRouteMetadata

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

func (*GRPCRouteMetadata) DeepCopyInto

func (in *GRPCRouteMetadata) DeepCopyInto(out *GRPCRouteMetadata)

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

type GRPCRouteMetadataMatchMethod

type GRPCRouteMetadataMatchMethod struct {
	// The value sent by the client must match the specified value exactly.
	// +kubebuilder:validation:MinLength=1
	// +kubebuilder:validation:MaxLength=255
	// +optional
	Exact *string `json:"exact,omitempty"`
	// The value sent by the client must begin with the specified characters.
	// +kubebuilder:validation:MinLength=1
	// +kubebuilder:validation:MaxLength=255
	// +optional
	Prefix *string `json:"prefix,omitempty"`
	// An object that represents the range of values to match on
	// +optional
	Range *MatchRange `json:"range,omitempty"`
	// The value sent by the client must include the specified characters.
	// +kubebuilder:validation:MinLength=1
	// +kubebuilder:validation:MaxLength=255
	// +optional
	Regex *string `json:"regex,omitempty"`
	// The value sent by the client must end with the specified characters.
	// +kubebuilder:validation:MinLength=1
	// +kubebuilder:validation:MaxLength=255
	// +optional
	Suffix *string `json:"suffix,omitempty"`
}

GRPCRouteMetadataMatchMethod refers to https://docs.aws.amazon.com/app-mesh/latest/APIReference/API_GrpcRouteMetadataMatchMethod.html

func (*GRPCRouteMetadataMatchMethod) DeepCopy

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

func (*GRPCRouteMetadataMatchMethod) DeepCopyInto

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

type GRPCTimeout

type GRPCTimeout struct {
	// An object that represents per request timeout duration.
	// +optional
	PerRequest *Duration `json:"perRequest,omitempty"`
	// An object that represents idle timeout duration.
	// +optional
	Idle *Duration `json:"idle,omitempty"`
}

func (*GRPCTimeout) DeepCopy

func (in *GRPCTimeout) DeepCopy() *GRPCTimeout

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

func (*GRPCTimeout) DeepCopyInto

func (in *GRPCTimeout) DeepCopyInto(out *GRPCTimeout)

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

type GatewayRoute

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

	Spec   GatewayRouteSpec   `json:"spec,omitempty"`
	Status GatewayRouteStatus `json:"status,omitempty"`
}

+kubebuilder:object:root=true +kubebuilder:resource:categories=all +kubebuilder:subresource:status +kubebuilder:printcolumn:name="ARN",type="string",JSONPath=".status.gatewayRouteARN",description="The AppMesh GatewayRoute object's Amazon Resource Name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:pruning:PreserveUnknownFields GatewayRoute is the Schema for the gatewayroutes API

func (*GatewayRoute) DeepCopy

func (in *GatewayRoute) DeepCopy() *GatewayRoute

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

func (*GatewayRoute) DeepCopyInto

func (in *GatewayRoute) DeepCopyInto(out *GatewayRoute)

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

func (*GatewayRoute) DeepCopyObject

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

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

type GatewayRouteCondition

type GatewayRouteCondition struct {
	// Type of GatewayRoute condition.
	Type GatewayRouteConditionType `json:"type"`
	// Status of the condition, one of True, False, Unknown.
	Status corev1.ConditionStatus `json:"status"`
	// Last time the condition transitioned from one status to another.
	// +optional
	LastTransitionTime *metav1.Time `json:"lastTransitionTime,omitempty"`
	// The reason for the condition's last transition.
	// +optional
	Reason *string `json:"reason,omitempty"`
	// A human readable message indicating details about the transition.
	// +optional
	Message *string `json:"message,omitempty"`
}

func (*GatewayRouteCondition) DeepCopy

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

func (*GatewayRouteCondition) DeepCopyInto

func (in *GatewayRouteCondition) DeepCopyInto(out *GatewayRouteCondition)

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

type GatewayRouteConditionType

type GatewayRouteConditionType string
const (
	// GatewayRouteActive is True when the AppMesh GatewayRoute has been created or found via the API
	GatewayRouteActive GatewayRouteConditionType = "GatewayRouteActive"
)

type GatewayRouteHostnameMatch added in v1.4.0

type GatewayRouteHostnameMatch struct {
	// The value sent by the client must match the specified value exactly.
	// +kubebuilder:validation:MinLength=1
	// +kubebuilder:validation:MaxLength=253
	// +optional
	Exact *string `json:"exact,omitempty"`
	// The value sent by the client must end with the specified characters.
	// +kubebuilder:validation:MinLength=1
	// +kubebuilder:validation:MaxLength=253
	// +optional
	Suffix *string `json:"suffix,omitempty"`
}

Hostname based match, either Exact or Suffix must be specified. Both are not allowed Refer to https://docs.aws.amazon.com/app-mesh/latest/APIReference/API_GatewayRouteHostnameMatch.html

func (*GatewayRouteHostnameMatch) DeepCopy added in v1.4.0

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

func (*GatewayRouteHostnameMatch) DeepCopyInto added in v1.4.0

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

type GatewayRouteHostnameRewrite added in v1.4.0

type GatewayRouteHostnameRewrite struct {
	// +optional
	// +kubebuilder:validation:Enum=ENABLED;DISABLED;
	DefaultTargetHostname *string `json:"defaultTargetHostname,omitempty"`
}

GatewayRouteHostnameRewrite refers to https://docs.aws.amazon.com/app-mesh/latest/APIReference/API_GatewayRouteHostnameRewrite.html ENABLE or DISABLE default behavior for Hostname rewrite

func (*GatewayRouteHostnameRewrite) DeepCopy added in v1.4.0

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

func (*GatewayRouteHostnameRewrite) DeepCopyInto added in v1.4.0

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

type GatewayRouteList

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

GatewayRouteList contains a list of GatewayRoute

func (*GatewayRouteList) DeepCopy

func (in *GatewayRouteList) DeepCopy() *GatewayRouteList

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

func (*GatewayRouteList) DeepCopyInto

func (in *GatewayRouteList) DeepCopyInto(out *GatewayRouteList)

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

func (*GatewayRouteList) DeepCopyObject

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

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

type GatewayRoutePathRewrite added in v1.4.0

type GatewayRoutePathRewrite struct {
	// +kubebuilder:validation:MinLength=1
	// +kubebuilder:validation:MaxLength=255
	// +optional
	Exact *string `json:"exact,omitempty"`
}

GatewayRoutePathRewrite refers to https://docs.aws.amazon.com/app-mesh/latest/APIReference/API_HttpGatewayRoutePathRewrite.html

func (*GatewayRoutePathRewrite) DeepCopy added in v1.4.0

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

func (*GatewayRoutePathRewrite) DeepCopyInto added in v1.4.0

func (in *GatewayRoutePathRewrite) DeepCopyInto(out *GatewayRoutePathRewrite)

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

type GatewayRoutePrefixRewrite added in v1.4.0

type GatewayRoutePrefixRewrite struct {
	// +optional
	// +kubebuilder:validation:Enum=ENABLED;DISABLED;
	DefaultPrefix *string `json:"defaultPrefix,omitempty"`
	// When DefaultPrefix is specified, Value cannot be set
	// +kubebuilder:validation:MinLength=1
	// +kubebuilder:validation:MaxLength=255
	// +optional
	Value *string `json:"value,omitempty"`
}

GatewayRoutePrefixRewrite refers to https://docs.aws.amazon.com/app-mesh/latest/APIReference/API_HttpGatewayRoutePrefixRewrite.html

func (*GatewayRoutePrefixRewrite) DeepCopy added in v1.4.0

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

func (*GatewayRoutePrefixRewrite) DeepCopyInto added in v1.4.0

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

type GatewayRouteSpec

type GatewayRouteSpec struct {
	// AWSName is the AppMesh GatewayRoute object's name.
	// If unspecified or empty, it defaults to be "${name}_${namespace}" of k8s GatewayRoute
	// +optional
	AWSName *string `json:"awsName,omitempty"`
	// Priority for the gatewayroute.
	// Default Priority is 1000 which is lowest priority
	// +kubebuilder:validation:Minimum=0
	// +kubebuilder:validation:Maximum=1000
	// +optional
	Priority *int64 `json:"priority,omitempty"`
	// An object that represents the specification of a gRPC gatewayRoute.
	// +optional
	GRPCRoute *GRPCGatewayRoute `json:"grpcRoute,omitempty"`
	// An object that represents the specification of an HTTP gatewayRoute.
	// +optional
	HTTPRoute *HTTPGatewayRoute `json:"httpRoute,omitempty"`
	// An object that represents the specification of an HTTP/2 gatewayRoute.
	// +optional
	HTTP2Route *HTTPGatewayRoute `json:"http2Route,omitempty"`
	// A reference to k8s VirtualGateway CR that this GatewayRoute belongs to.
	// The admission controller populates it using VirtualGateway's selector, and prevents users from setting this field.
	//
	// Populated by the system.
	// Read-only.
	// +optional
	VirtualGatewayRef *VirtualGatewayReference `json:"virtualGatewayRef,omitempty"`
	// A reference to k8s Mesh CR that this GatewayRoute belongs to.
	// The admission controller populates it using Meshes's selector, and prevents users from setting this field.
	//
	// Populated by the system.
	// Read-only.
	// +optional
	MeshRef *MeshReference `json:"meshRef,omitempty"`
}

GatewayRouteSpec defines the desired state of GatewayRoute refers to https://docs.aws.amazon.com/app-mesh/latest/userguide/virtual_gateways.html

func (*GatewayRouteSpec) DeepCopy

func (in *GatewayRouteSpec) DeepCopy() *GatewayRouteSpec

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

func (*GatewayRouteSpec) DeepCopyInto

func (in *GatewayRouteSpec) DeepCopyInto(out *GatewayRouteSpec)

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

type GatewayRouteStatus

type GatewayRouteStatus struct {
	// GatewayRouteARN is the AppMesh GatewayRoute object's Amazon Resource Name
	// +optional
	GatewayRouteARN *string `json:"gatewayRouteARN,omitempty"`
	// The current GatewayRoute status.
	// +optional
	Conditions []GatewayRouteCondition `json:"conditions,omitempty"`
	// The generation observed by the GatewayRoute controller.
	// +optional
	ObservedGeneration *int64 `json:"observedGeneration,omitempty"`
}

GatewayRouteStatus defines the observed state of GatewayRoute

func (*GatewayRouteStatus) DeepCopy

func (in *GatewayRouteStatus) DeepCopy() *GatewayRouteStatus

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

func (*GatewayRouteStatus) DeepCopyInto

func (in *GatewayRouteStatus) DeepCopyInto(out *GatewayRouteStatus)

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

type GatewayRouteTarget

type GatewayRouteTarget struct {
	// The virtual service to associate with the gateway route target.
	VirtualService GatewayRouteVirtualService `json:"virtualService"`
}

GatewayRouteTarget refers to https://docs.aws.amazon.com/app-mesh/latest/APIReference/API_GatewayRouteTarget.html

func (*GatewayRouteTarget) DeepCopy

func (in *GatewayRouteTarget) DeepCopy() *GatewayRouteTarget

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

func (*GatewayRouteTarget) DeepCopyInto

func (in *GatewayRouteTarget) DeepCopyInto(out *GatewayRouteTarget)

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

type GatewayRouteVirtualService

type GatewayRouteVirtualService struct {
	// Reference to Kubernetes VirtualService CR in cluster to associate with the gateway route virtual service target. Exactly one of 'virtualServiceRef' or 'virtualServiceARN' must be specified.
	// +optional
	VirtualServiceRef *VirtualServiceReference `json:"virtualServiceRef,omitempty"`
	// Amazon Resource Name to AppMesh VirtualService object to associate with the gateway route virtual service target. Exactly one of 'virtualServiceRef' or 'virtualServiceARN' must be specified.
	// +optional
	VirtualServiceARN *string `json:"virtualServiceARN,omitempty"`
}

GatewayRouteVirtualService refers to https://docs.aws.amazon.com/app-mesh/latest/APIReference/API_GatewayRouteVirtualService.html

func (*GatewayRouteVirtualService) DeepCopy

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

func (*GatewayRouteVirtualService) DeepCopyInto

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

type GrpcGatewayRouteRewrite added in v1.4.0

type GrpcGatewayRouteRewrite struct {
	Hostname *GatewayRouteHostnameRewrite `json:"hostname,omitempty"`
}

GrpcGatewayRouteRewrite refers to https://docs.aws.amazon.com/app-mesh/latest/APIReference/API_GrpcGatewayRouteRewrite.html

func (*GrpcGatewayRouteRewrite) DeepCopy added in v1.4.0

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

func (*GrpcGatewayRouteRewrite) DeepCopyInto added in v1.4.0

func (in *GrpcGatewayRouteRewrite) DeepCopyInto(out *GrpcGatewayRouteRewrite)

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

type HTTP2ConnectionPool added in v1.2.0

type HTTP2ConnectionPool struct {
	// Represents the maximum number of inflight requests that an envoy
	// can concurrently support across all the hosts in the upstream cluster
	// +kubebuilder:validation:Minimum=1
	MaxRequests int64 `json:"maxRequests"`
}

func (*HTTP2ConnectionPool) DeepCopy added in v1.2.0

func (in *HTTP2ConnectionPool) DeepCopy() *HTTP2ConnectionPool

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

func (*HTTP2ConnectionPool) DeepCopyInto added in v1.2.0

func (in *HTTP2ConnectionPool) DeepCopyInto(out *HTTP2ConnectionPool)

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

type HTTPConnectionPool added in v1.2.0

type HTTPConnectionPool struct {
	// Represents the maximum number of outbound TCP connections
	// the envoy can establish concurrently with all the hosts in the upstream cluster.
	// +kubebuilder:validation:Minimum=1
	MaxConnections int64 `json:"maxConnections"`
	// Represents the number of overflowing requests after max_connections
	// that an envoy will queue to an upstream cluster.
	// +kubebuilder:validation:Minimum=1
	// +optional
	MaxPendingRequests *int64 `json:"maxPendingRequests,omitempty"`
}

func (*HTTPConnectionPool) DeepCopy added in v1.2.0

func (in *HTTPConnectionPool) DeepCopy() *HTTPConnectionPool

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

func (*HTTPConnectionPool) DeepCopyInto added in v1.2.0

func (in *HTTPConnectionPool) DeepCopyInto(out *HTTPConnectionPool)

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

type HTTPGatewayRoute

type HTTPGatewayRoute struct {
	// An object that represents the criteria for determining a request match.
	Match HTTPGatewayRouteMatch `json:"match"`
	// An object that represents the action to take if a match is determined.
	Action HTTPGatewayRouteAction `json:"action"`
}

HTTPGatewayRoute refers to https://docs.aws.amazon.com/app-mesh/latest/userguide/gateway-routes.html

func (*HTTPGatewayRoute) DeepCopy

func (in *HTTPGatewayRoute) DeepCopy() *HTTPGatewayRoute

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

func (*HTTPGatewayRoute) DeepCopyInto

func (in *HTTPGatewayRoute) DeepCopyInto(out *HTTPGatewayRoute)

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

type HTTPGatewayRouteAction

type HTTPGatewayRouteAction struct {
	// An object that represents the target that traffic is routed to when a request matches the route.
	Target GatewayRouteTarget `json:"target"`
	// +optional
	Rewrite *HTTPGatewayRouteRewrite `json:"rewrite,omitempty"`
}

HTTPGatewayRouteAction refers to https://docs.aws.amazon.com/app-mesh/latest/APIReference/API_HttpGatewayRouteAction.html

func (*HTTPGatewayRouteAction) DeepCopy

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

func (*HTTPGatewayRouteAction) DeepCopyInto

func (in *HTTPGatewayRouteAction) DeepCopyInto(out *HTTPGatewayRouteAction)

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

type HTTPGatewayRouteHeader added in v1.4.0

type HTTPGatewayRouteHeader struct {
	// A name for the HTTP header in the client request that will be matched on.
	// +kubebuilder:validation:MinLength=1
	// +kubebuilder:validation:MaxLength=50
	Name string `json:"name"`
	// The HeaderMatchMethod object.
	// +optional
	Match *HeaderMatchMethod `json:"match,omitempty"`
	// Specify True to match anything except the match criteria. The default value is False.
	// +optional
	Invert *bool `json:"invert,omitempty"`
}

HTTPGatewayRouteHeader refers to https://docs.aws.amazon.com/app-mesh/latest/APIReference/API_HttpGatewayRouteHeader.html

func (*HTTPGatewayRouteHeader) DeepCopy added in v1.4.0

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

func (*HTTPGatewayRouteHeader) DeepCopyInto added in v1.4.0

func (in *HTTPGatewayRouteHeader) DeepCopyInto(out *HTTPGatewayRouteHeader)

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

type HTTPGatewayRouteMatch

type HTTPGatewayRouteMatch struct {
	// Either Prefix or Hostname must be specified. Both are allowed as well.
	// Specifies the prefix to match requests with
	// +optional
	Prefix *string `json:"prefix,omitempty"`
	// Specified path of the request to be matched on
	// +optional
	Path *HTTPPathMatch `json:"path,omitempty"`
	// Client specified query parameters to match on
	// +kubebuilder:validation:MinItems=1
	// +kubebuilder:validation:MaxItems=10
	// +optional
	QueryParameters []HTTPQueryParameters `json:"queryParameters,omitempty"`
	// The client request method to match on.
	// +kubebuilder:validation:Enum=CONNECT;DELETE;GET;HEAD;OPTIONS;PATCH;POST;PUT;TRACE
	// +optional
	Method *string `json:"method,omitempty"`
	// The client specified Hostname to match on.
	// +optional
	Hostname *GatewayRouteHostnameMatch `json:"hostname,omitempty"`
	// An object that represents the client request headers to match on.
	// +kubebuilder:validation:MinItems=1
	// +kubebuilder:validation:MaxItems=10
	// +optional
	Headers []HTTPGatewayRouteHeader `json:"headers,omitempty"`
}

HTTPGatewayRouteMatch refers to https://docs.aws.amazon.com/app-mesh/latest/APIReference/API_HttpGatewayRouteMatch.html

func (*HTTPGatewayRouteMatch) DeepCopy

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

func (*HTTPGatewayRouteMatch) DeepCopyInto

func (in *HTTPGatewayRouteMatch) DeepCopyInto(out *HTTPGatewayRouteMatch)

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

type HTTPGatewayRouteRewrite added in v1.4.0

type HTTPGatewayRouteRewrite struct {
	// +optional
	Prefix *GatewayRoutePrefixRewrite `json:"prefix,omitempty"`
	// +optional
	Path *GatewayRoutePathRewrite `json:"path,omitempty"`
	//+optional
	Hostname *GatewayRouteHostnameRewrite `json:"hostname,omitempty"`
}

HTTPGatewayRouteRewrite refers to https://docs.aws.amazon.com/app-mesh/latest/APIReference/API_HttpGatewayRouteRewrite.html

func (*HTTPGatewayRouteRewrite) DeepCopy added in v1.4.0

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

func (*HTTPGatewayRouteRewrite) DeepCopyInto added in v1.4.0

func (in *HTTPGatewayRouteRewrite) DeepCopyInto(out *HTTPGatewayRouteRewrite)

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

type HTTPPathMatch added in v1.4.0

type HTTPPathMatch struct {
	// The value sent by the client must match the specified value exactly.
	// +kubebuilder:validation:MinLength=1
	// +kubebuilder:validation:MaxLength=255
	// +optional
	Exact *string `json:"exact,omitempty"`
	// The value sent by the client must end with the specified characters.
	// +kubebuilder:validation:MinLength=1
	// +kubebuilder:validation:MaxLength=255
	// +optional
	Regex *string `json:"regex,omitempty"`
}

HTTPPathMatch refers to https://docs.aws.amazon.com/app-mesh/latest/APIReference/API_HttpPathMatch.html

func (*HTTPPathMatch) DeepCopy added in v1.4.0

func (in *HTTPPathMatch) DeepCopy() *HTTPPathMatch

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

func (*HTTPPathMatch) DeepCopyInto added in v1.4.0

func (in *HTTPPathMatch) DeepCopyInto(out *HTTPPathMatch)

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

type HTTPQueryParameters added in v1.4.0

type HTTPQueryParameters struct {
	Name *string `json:"name"`
	// The QueryMatchMethod object.
	// +optional
	Match *QueryMatchMethod `json:"match,omitempty"`
}

HTTPQueryParameters refers to https://docs.aws.amazon.com/app-mesh/latest/APIReference/API_HttpQueryParameter.html

func (*HTTPQueryParameters) DeepCopy added in v1.4.0

func (in *HTTPQueryParameters) DeepCopy() *HTTPQueryParameters

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

func (*HTTPQueryParameters) DeepCopyInto added in v1.4.0

func (in *HTTPQueryParameters) DeepCopyInto(out *HTTPQueryParameters)

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

type HTTPRetryPolicy

type HTTPRetryPolicy struct {
	// +kubebuilder:validation:MinItems=1
	// +kubebuilder:validation:MaxItems=25
	// +optional
	HTTPRetryEvents []HTTPRetryPolicyEvent `json:"httpRetryEvents,omitempty"`
	// +kubebuilder:validation:MinItems=1
	// +kubebuilder:validation:MaxItems=1
	// +optional
	TCPRetryEvents []TCPRetryPolicyEvent `json:"tcpRetryEvents,omitempty"`
	// The maximum number of retry attempts.
	// +kubebuilder:validation:Minimum=0
	MaxRetries int64 `json:"maxRetries"`
	// An object that represents a duration of time
	PerRetryTimeout Duration `json:"perRetryTimeout"`
}

HTTPRetryPolicy refers to https://docs.aws.amazon.com/app-mesh/latest/APIReference/API_HttpRetryPolicy.html

func (*HTTPRetryPolicy) DeepCopy

func (in *HTTPRetryPolicy) DeepCopy() *HTTPRetryPolicy

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

func (*HTTPRetryPolicy) DeepCopyInto

func (in *HTTPRetryPolicy) DeepCopyInto(out *HTTPRetryPolicy)

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

type HTTPRetryPolicyEvent

type HTTPRetryPolicyEvent string

+kubebuilder:validation:Enum=server-error;gateway-error;client-error;stream-error

type HTTPRoute

type HTTPRoute struct {
	// An object that represents the criteria for determining a request match.
	Match HTTPRouteMatch `json:"match"`
	// An object that represents the action to take if a match is determined.
	Action HTTPRouteAction `json:"action"`
	// An object that represents a retry policy.
	// +optional
	RetryPolicy *HTTPRetryPolicy `json:"retryPolicy,omitempty"`
	// An object that represents a http timeout.
	// +optional
	Timeout *HTTPTimeout `json:"timeout,omitempty"`
}

HTTPRoute refers to https://docs.aws.amazon.com/app-mesh/latest/APIReference/API_HttpRoute.html

func (*HTTPRoute) DeepCopy

func (in *HTTPRoute) DeepCopy() *HTTPRoute

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

func (*HTTPRoute) DeepCopyInto

func (in *HTTPRoute) DeepCopyInto(out *HTTPRoute)

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

type HTTPRouteAction

type HTTPRouteAction struct {
	// An object that represents the targets that traffic is routed to when a request matches the route.
	// +kubebuilder:validation:MinItems=1
	// +kubebuilder:validation:MaxItems=10
	WeightedTargets []WeightedTarget `json:"weightedTargets"`
}

HTTPRouteAction refers to https://docs.aws.amazon.com/app-mesh/latest/APIReference/API_HttpRouteAction.html

func (*HTTPRouteAction) DeepCopy

func (in *HTTPRouteAction) DeepCopy() *HTTPRouteAction

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

func (*HTTPRouteAction) DeepCopyInto

func (in *HTTPRouteAction) DeepCopyInto(out *HTTPRouteAction)

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

type HTTPRouteHeader

type HTTPRouteHeader struct {
	// A name for the HTTP header in the client request that will be matched on.
	// +kubebuilder:validation:MinLength=1
	// +kubebuilder:validation:MaxLength=50
	Name string `json:"name"`
	// The HeaderMatchMethod object.
	// +optional
	Match *HeaderMatchMethod `json:"match,omitempty"`
	// Specify True to match anything except the match criteria. The default value is False.
	// +optional
	Invert *bool `json:"invert,omitempty"`
}

HTTPRouteHeader refers to https://docs.aws.amazon.com/app-mesh/latest/APIReference/API_HttpRouteHeader.html

func (*HTTPRouteHeader) DeepCopy

func (in *HTTPRouteHeader) DeepCopy() *HTTPRouteHeader

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

func (*HTTPRouteHeader) DeepCopyInto

func (in *HTTPRouteHeader) DeepCopyInto(out *HTTPRouteHeader)

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

type HTTPRouteMatch

type HTTPRouteMatch struct {
	// An object that represents the client request headers to match on.
	// +kubebuilder:validation:MinItems=1
	// +kubebuilder:validation:MaxItems=10
	// +optional
	Headers []HTTPRouteHeader `json:"headers,omitempty"`
	// The client request method to match on.
	// +kubebuilder:validation:Enum=CONNECT;DELETE;GET;HEAD;OPTIONS;PATCH;POST;PUT;TRACE
	// +optional
	Method *string `json:"method,omitempty"`
	// Specifies the prefix to match requests with
	// +optional
	Prefix *string `json:"prefix,omitempty"`
	// The client request scheme to match on
	// +kubebuilder:validation:Enum=http;https
	// +optional
	Scheme *string `json:"scheme,omitempty"`
	// The client specified Path to match on.
	// +optional
	Path *HTTPPathMatch `json:"path,omitempty"`
	// The client specified queryParameters to match on
	// +kubebuilder:validation:MinItems=1
	// +kubebuilder:validation:MaxItems=10
	// +optional
	QueryParameters []HTTPQueryParameters `json:"queryParameters,omitempty"`
}

HTTPRouteMatch refers to https://docs.aws.amazon.com/app-mesh/latest/APIReference/API_HttpRouteMatch.html

func (*HTTPRouteMatch) DeepCopy

func (in *HTTPRouteMatch) DeepCopy() *HTTPRouteMatch

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

func (*HTTPRouteMatch) DeepCopyInto

func (in *HTTPRouteMatch) DeepCopyInto(out *HTTPRouteMatch)

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

type HTTPTimeout

type HTTPTimeout struct {
	// An object that represents per request timeout duration.
	// +optional
	PerRequest *Duration `json:"perRequest,omitempty"`
	// An object that represents idle timeout duration.
	// +optional
	Idle *Duration `json:"idle,omitempty"`
}

func (*HTTPTimeout) DeepCopy

func (in *HTTPTimeout) DeepCopy() *HTTPTimeout

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

func (*HTTPTimeout) DeepCopyInto

func (in *HTTPTimeout) DeepCopyInto(out *HTTPTimeout)

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

type HeaderMatchMethod

type HeaderMatchMethod struct {
	// The value sent by the client must match the specified value exactly.
	// +kubebuilder:validation:MinLength=1
	// +kubebuilder:validation:MaxLength=255
	// +optional
	Exact *string `json:"exact,omitempty"`
	// The value sent by the client must begin with the specified characters.
	// +kubebuilder:validation:MinLength=1
	// +kubebuilder:validation:MaxLength=255
	// +optional
	Prefix *string `json:"prefix,omitempty"`
	// An object that represents the range of values to match on.
	// +optional
	Range *MatchRange `json:"range,omitempty"`
	// The value sent by the client must include the specified characters.
	// +kubebuilder:validation:MinLength=1
	// +kubebuilder:validation:MaxLength=255
	// +optional
	Regex *string `json:"regex,omitempty"`
	// The value sent by the client must end with the specified characters.
	// +kubebuilder:validation:MinLength=1
	// +kubebuilder:validation:MaxLength=255
	// +optional
	Suffix *string `json:"suffix,omitempty"`
}

HeaderMatchMethod refers to https://docs.aws.amazon.com/app-mesh/latest/APIReference/API_HeaderMatchMethod.html

func (*HeaderMatchMethod) DeepCopy

func (in *HeaderMatchMethod) DeepCopy() *HeaderMatchMethod

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

func (*HeaderMatchMethod) DeepCopyInto

func (in *HeaderMatchMethod) DeepCopyInto(out *HeaderMatchMethod)

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

type HealthCheckPolicy

type HealthCheckPolicy struct {
	// The number of consecutive successful health checks that must occur before declaring listener healthy.
	// +kubebuilder:validation:Minimum=2
	// +kubebuilder:validation:Maximum=10
	HealthyThreshold int64 `json:"healthyThreshold"`
	// The time period in milliseconds between each health check execution.
	// +kubebuilder:validation:Minimum=5000
	// +kubebuilder:validation:Maximum=300000
	IntervalMillis int64 `json:"intervalMillis"`
	// The destination path for the health check request.
	// This value is only used if the specified protocol is http or http2. For any other protocol, this value is ignored.
	// +optional
	Path *string `json:"path,omitempty"`
	// The destination port for the health check request.
	// +optional
	Port *PortNumber `json:"port,omitempty"`
	// The protocol for the health check request
	Protocol PortProtocol `json:"protocol"`
	// The amount of time to wait when receiving a response from the health check, in milliseconds.
	// +kubebuilder:validation:Minimum=2000
	// +kubebuilder:validation:Maximum=60000
	TimeoutMillis int64 `json:"timeoutMillis"`
	// The number of consecutive failed health checks that must occur before declaring a virtual node unhealthy.
	// +kubebuilder:validation:Minimum=2
	// +kubebuilder:validation:Maximum=10
	UnhealthyThreshold int64 `json:"unhealthyThreshold"`
}

HealthCheckPolicy refers to https://docs.aws.amazon.com/app-mesh/latest/APIReference/API_HealthCheckPolicy.html

func (*HealthCheckPolicy) DeepCopy

func (in *HealthCheckPolicy) DeepCopy() *HealthCheckPolicy

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

func (*HealthCheckPolicy) DeepCopyInto

func (in *HealthCheckPolicy) DeepCopyInto(out *HealthCheckPolicy)

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

type Listener

type Listener struct {
	// The port mapping information for the listener.
	PortMapping PortMapping `json:"portMapping"`
	// The health check information for the listener.
	// +optional
	HealthCheck *HealthCheckPolicy `json:"healthCheck,omitempty"`
	// The outlier detection for the listener
	// +optional
	OutlierDetection *OutlierDetection `json:"outlierDetection,omitempty"`
	// The connection pool settings for the listener
	// +optional
	ConnectionPool *VirtualNodeConnectionPool `json:"connectionPool,omitempty"`
	// A reference to an object that represents the Transport Layer Security (TLS) properties for a listener.
	// +optional
	TLS *ListenerTLS `json:"tls,omitempty"`
	// A reference to an object that represents
	// +optional
	Timeout *ListenerTimeout `json:"timeout,omitempty"`
}

Listener refers to https://docs.aws.amazon.com/app-mesh/latest/APIReference/API_Listener.html

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.

type ListenerTLS

type ListenerTLS struct {
	// A reference to an object that represents a listener's TLS certificate.
	Certificate ListenerTLSCertificate `json:"certificate"`
	// ListenerTLS mode
	Mode ListenerTLSMode `json:"mode"`
	// A reference to an object that represents an SDS Trust Domain
	// +optional
	Validation *ListenerTLSValidationContext `json:"validation,omitempty"`
}

ListenerTLS refers to https://docs.aws.amazon.com/app-mesh/latest/APIReference/API_ListenerTls.html

func (*ListenerTLS) DeepCopy

func (in *ListenerTLS) DeepCopy() *ListenerTLS

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

func (*ListenerTLS) DeepCopyInto

func (in *ListenerTLS) DeepCopyInto(out *ListenerTLS)

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

type ListenerTLSACMCertificate

type ListenerTLSACMCertificate struct {
	// The Amazon Resource Name (ARN) for the certificate.
	CertificateARN string `json:"certificateARN"`
}

ListenerTLSACMCertificate refers to https://docs.aws.amazon.com/app-mesh/latest/APIReference/API_ListenerTlsAcmCertificate.html

func (*ListenerTLSACMCertificate) DeepCopy

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

func (*ListenerTLSACMCertificate) DeepCopyInto

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

type ListenerTLSCertificate

type ListenerTLSCertificate struct {
	// A reference to an object that represents an AWS Certificate Manager (ACM) certificate.
	// +optional
	ACM *ListenerTLSACMCertificate `json:"acm,omitempty"`
	// A reference to an object that represents a local file certificate.
	// +optional
	File *ListenerTLSFileCertificate `json:"file,omitempty"`
	// A reference to an object that represents an SDS certificate.
	// +optional
	SDS *ListenerTLSSDSCertificate `json:"sds,omitempty"`
}

ListenerTLSCertificate refers to https://docs.aws.amazon.com/app-mesh/latest/APIReference/API_ListenerTlsCertificate.html

func (*ListenerTLSCertificate) DeepCopy

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

func (*ListenerTLSCertificate) DeepCopyInto

func (in *ListenerTLSCertificate) DeepCopyInto(out *ListenerTLSCertificate)

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

type ListenerTLSFileCertificate

type ListenerTLSFileCertificate struct {
	// The certificate chain for the certificate.
	// +kubebuilder:validation:MinLength=1
	// +kubebuilder:validation:MaxLength=255
	CertificateChain string `json:"certificateChain"`
	// The private key for a certificate stored on the file system of the virtual node that the proxy is running on.
	// +kubebuilder:validation:MinLength=1
	// +kubebuilder:validation:MaxLength=255
	PrivateKey string `json:"privateKey"`
}

ListenerTLSFileCertificate refers to https://docs.aws.amazon.com/app-mesh/latest/APIReference/API_ListenerTlsFileCertificate.html

func (*ListenerTLSFileCertificate) DeepCopy

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

func (*ListenerTLSFileCertificate) DeepCopyInto

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

type ListenerTLSMode

type ListenerTLSMode string

+kubebuilder:validation:Enum=DISABLED;PERMISSIVE;STRICT

const (
	ListenerTLSModeDisabled   ListenerTLSMode = "DISABLED"
	ListenerTLSModePermissive ListenerTLSMode = "PERMISSIVE"
	ListenerTLSModeStrict     ListenerTLSMode = "STRICT"
)

type ListenerTLSSDSCertificate added in v1.3.0

type ListenerTLSSDSCertificate struct {
	// The certificate trust chain for a certificate issued via SDS cluster
	SecretName *string `json:"secretName"`
}

ListenerTLSSDSCertificate refers to https://docs.aws.amazon.com/app-mesh/latest/APIReference/API_ListenerTlsFileCertificate.html

func (*ListenerTLSSDSCertificate) DeepCopy added in v1.3.0

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

func (*ListenerTLSSDSCertificate) DeepCopyInto added in v1.3.0

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

type ListenerTLSValidationContext added in v1.3.0

type ListenerTLSValidationContext struct {
	Trust ListenerTLSValidationContextTrust `json:"trust"`
	// Possible alternative names to consider
	// +optional
	SubjectAlternativeNames *SubjectAlternativeNames `json:"subjectAlternativeNames,omitempty"`
}

func (*ListenerTLSValidationContext) DeepCopy added in v1.3.0

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

func (*ListenerTLSValidationContext) DeepCopyInto added in v1.3.0

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

type ListenerTLSValidationContextTrust added in v1.3.0

type ListenerTLSValidationContextTrust struct {
	// An object that represents a TLS validation context trust for a local file.
	// +optional
	File *TLSValidationContextFileTrust `json:"file,omitempty"`
	// An object that represents a TLS validation context trust for an SDS server
	// +optional
	SDS *TLSValidationContextSDSTrust `json:"sds,omitempty"`
}

func (*ListenerTLSValidationContextTrust) DeepCopy added in v1.3.0

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

func (*ListenerTLSValidationContextTrust) DeepCopyInto added in v1.3.0

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

type ListenerTimeout

type ListenerTimeout struct {
	// Specifies tcp timeout information for the virtual node.
	// +optional
	TCP *TCPTimeout `json:"tcp,omitempty"`
	// Specifies http timeout information for the virtual node.
	// +optional
	HTTP *HTTPTimeout `json:"http,omitempty"`
	// Specifies http2 information for the virtual node.
	// +optional
	HTTP2 *HTTPTimeout `json:"http2,omitempty"`
	// Specifies grpc timeout information for the virtual node.
	// +optional
	GRPC *GRPCTimeout `json:"grpc,omitempty"`
}

ListenerTimeout refers to https://docs.aws.amazon.com/app-mesh/latest/APIReference/API_ListenerTimeout.html

func (*ListenerTimeout) DeepCopy

func (in *ListenerTimeout) DeepCopy() *ListenerTimeout

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

func (*ListenerTimeout) DeepCopyInto

func (in *ListenerTimeout) DeepCopyInto(out *ListenerTimeout)

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

type Logging

type Logging struct {
	// The access log configuration for a virtual node.
	// +optional
	AccessLog *AccessLog `json:"accessLog,omitempty"`
}

Logging refers to https://docs.aws.amazon.com/app-mesh/latest/APIReference/API_Logging.html

func (*Logging) DeepCopy

func (in *Logging) DeepCopy() *Logging

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

func (*Logging) DeepCopyInto

func (in *Logging) DeepCopyInto(out *Logging)

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

type MatchRange

type MatchRange struct {
	// The start of the range.
	Start int64 `json:"start"`
	// The end of the range.
	End int64 `json:"end"`
}

func (*MatchRange) DeepCopy

func (in *MatchRange) DeepCopy() *MatchRange

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

func (*MatchRange) DeepCopyInto

func (in *MatchRange) DeepCopyInto(out *MatchRange)

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

type Mesh

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

	Spec   MeshSpec   `json:"spec,omitempty"`
	Status MeshStatus `json:"status,omitempty"`
}

+kubebuilder:object:root=true +kubebuilder:resource:scope=Cluster +kubebuilder:subresource:status +kubebuilder:printcolumn:name="ARN",type="string",JSONPath=".status.meshARN",description="The AppMesh Mesh object's Amazon Resource Name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:pruning:PreserveUnknownFields Mesh is the Schema for the meshes API

func (*Mesh) DeepCopy

func (in *Mesh) DeepCopy() *Mesh

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

func (*Mesh) DeepCopyInto

func (in *Mesh) DeepCopyInto(out *Mesh)

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

func (*Mesh) DeepCopyObject

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

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

type MeshCondition

type MeshCondition struct {
	// Type of mesh condition.
	Type MeshConditionType `json:"type"`
	// Status of the condition, one of True, False, Unknown.
	Status corev1.ConditionStatus `json:"status"`
	// Last time the condition transitioned from one status to another.
	// +optional
	LastTransitionTime *metav1.Time `json:"lastTransitionTime,omitempty"`
	// The reason for the condition's last transition.
	// +optional
	Reason *string `json:"reason,omitempty"`
	// A human readable message indicating details about the transition.
	// +optional
	Message *string `json:"message,omitempty"`
}

func (*MeshCondition) DeepCopy

func (in *MeshCondition) DeepCopy() *MeshCondition

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

func (*MeshCondition) DeepCopyInto

func (in *MeshCondition) DeepCopyInto(out *MeshCondition)

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

type MeshConditionType

type MeshConditionType string
const (
	// MeshActive is True when the AppMesh Mesh has been created or found via the API
	MeshActive MeshConditionType = "MeshActive"
)

type MeshList

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

MeshList contains a list of Mesh

func (*MeshList) DeepCopy

func (in *MeshList) DeepCopy() *MeshList

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

func (*MeshList) DeepCopyInto

func (in *MeshList) DeepCopyInto(out *MeshList)

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

func (*MeshList) DeepCopyObject

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

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

type MeshReference

type MeshReference struct {
	// Name is the name of Mesh CR
	Name string `json:"name"`
	// UID is the UID of Mesh CR
	UID types.UID `json:"uid"`
}

MeshReference holds a reference to Mesh.appmesh.k8s.aws

func (*MeshReference) DeepCopy

func (in *MeshReference) DeepCopy() *MeshReference

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

func (*MeshReference) DeepCopyInto

func (in *MeshReference) DeepCopyInto(out *MeshReference)

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

type MeshServiceDiscovery added in v1.5.0

type MeshServiceDiscovery struct {
	// The ipPreference for the mesh.
	// +kubebuilder:validation:Enum=IPv6_ONLY;IPv4_ONLY
	// +optional
	IpPreference *string `json:"ipPreference,omitempty"`
}

func (*MeshServiceDiscovery) DeepCopy added in v1.5.0

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

func (*MeshServiceDiscovery) DeepCopyInto added in v1.5.0

func (in *MeshServiceDiscovery) DeepCopyInto(out *MeshServiceDiscovery)

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

type MeshSpec

type MeshSpec struct {
	// AWSName is the AppMesh Mesh object's name.
	// If unspecified or empty, it defaults to be "${name}" of k8s Mesh
	// +optional
	AWSName *string `json:"awsName,omitempty"`
	// NamespaceSelector selects Namespaces using labels to designate mesh membership.
	// This field follows standard label selector semantics:
	//	if present but empty, it selects all namespaces.
	// 	if absent, it selects no namespace.
	// +optional
	NamespaceSelector *metav1.LabelSelector `json:"namespaceSelector,omitempty"`
	// The egress filter rules for the service mesh.
	// If unspecified, default settings from AWS API will be applied. Refer to AWS Docs for default settings.
	// +optional
	EgressFilter *EgressFilter `json:"egressFilter,omitempty"`
	// The AWS IAM account ID of the service mesh owner.
	// Required if the account ID is not your own.
	// +optional
	MeshOwner *string `json:"meshOwner,omitempty"`
	// +optional
	ServiceDiscovery *MeshServiceDiscovery `json:"meshServiceDiscovery,omitempty"`
}

MeshSpec defines the desired state of Mesh refers to https://docs.aws.amazon.com/app-mesh/latest/APIReference/API_MeshSpec.html

func (*MeshSpec) DeepCopy

func (in *MeshSpec) DeepCopy() *MeshSpec

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

func (*MeshSpec) DeepCopyInto

func (in *MeshSpec) DeepCopyInto(out *MeshSpec)

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

type MeshStatus

type MeshStatus struct {
	// MeshARN is the AppMesh Mesh object's Amazon Resource Name
	// +optional
	MeshARN *string `json:"meshARN,omitempty"`
	// The current Mesh status.
	// +optional
	Conditions []MeshCondition `json:"conditions,omitempty"`

	// The generation observed by the Mesh controller.
	// +optional
	ObservedGeneration *int64 `json:"observedGeneration,omitempty"`
}

MeshStatus defines the observed state of Mesh

func (*MeshStatus) DeepCopy

func (in *MeshStatus) DeepCopy() *MeshStatus

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

func (*MeshStatus) DeepCopyInto

func (in *MeshStatus) DeepCopyInto(out *MeshStatus)

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

type OutlierDetection added in v1.2.0

type OutlierDetection struct {
	// The threshold for the number of server errors returned by a given host during an outlier detection interval.
	// If the server error count meets/exceeds this threshold the host is ejected.
	// A server error is defined as any HTTP 5xx response (or the equivalent for gRPC and TCP connections)
	// +kubebuilder:validation:Minimum=1
	MaxServerErrors int64 `json:"maxServerErrors"`
	// The time interval between ejection analysis sweeps. This can result in both new ejections as well as hosts being returned to service
	Interval Duration `json:"interval"`
	// The base time that a host is ejected for. The real time is equal to the base time multiplied by the number of times the host has been ejected
	BaseEjectionDuration Duration `json:"baseEjectionDuration"`
	// The threshold for the max percentage of outlier hosts that can be ejected from the load balancing set.
	// maxEjectionPercent=100 means outlier detection can potentially eject all of the hosts from the upstream service if they are all considered outliers, leaving the load balancing set with zero hosts
	// +kubebuilder:validation:Minimum=0
	// +kubebuilder:validation:Maximum=100
	MaxEjectionPercent int64 `json:"maxEjectionPercent"`
}

OutlierDetection defines the health check policy that temporarily ejects an endpoint/host of a VirtualNode from the load balancing set when it meets failure threshold

func (*OutlierDetection) DeepCopy added in v1.2.0

func (in *OutlierDetection) DeepCopy() *OutlierDetection

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

func (*OutlierDetection) DeepCopyInto added in v1.2.0

func (in *OutlierDetection) DeepCopyInto(out *OutlierDetection)

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

type PortMapping

type PortMapping struct {
	// The port used for the port mapping.
	Port PortNumber `json:"port"`
	// The protocol used for the port mapping.
	Protocol PortProtocol `json:"protocol"`
}

PortMapping refers to https://docs.aws.amazon.com/app-mesh/latest/APIReference/API_PortMapping.html

func (*PortMapping) DeepCopy

func (in *PortMapping) DeepCopy() *PortMapping

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

func (*PortMapping) DeepCopyInto

func (in *PortMapping) DeepCopyInto(out *PortMapping)

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

type PortNumber

type PortNumber int64

+kubebuilder:validation:Minimum=1 +kubebuilder:validation:Maximum=65535

type PortProtocol

type PortProtocol string

+kubebuilder:validation:Enum=grpc;http;http2;tcp

const (
	PortProtocolGRPC  PortProtocol = "grpc"
	PortProtocolHTTP  PortProtocol = "http"
	PortProtocolHTTP2 PortProtocol = "http2"
	PortProtocolTCP   PortProtocol = "tcp"
)

type QueryMatchMethod added in v1.4.0

type QueryMatchMethod struct {
	// +optional
	Exact *string `json:"exact,omitempty"`
}

func (*QueryMatchMethod) DeepCopy added in v1.4.0

func (in *QueryMatchMethod) DeepCopy() *QueryMatchMethod

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

func (*QueryMatchMethod) DeepCopyInto added in v1.4.0

func (in *QueryMatchMethod) DeepCopyInto(out *QueryMatchMethod)

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

type Route

type Route struct {
	// Route's name
	Name string `json:"name"`
	// An object that represents the specification of a gRPC route.
	// +optional
	GRPCRoute *GRPCRoute `json:"grpcRoute,omitempty"`
	// An object that represents the specification of an HTTP route.
	// +optional
	HTTPRoute *HTTPRoute `json:"httpRoute,omitempty"`
	// An object that represents the specification of an HTTP/2 route.
	// +optional
	HTTP2Route *HTTPRoute `json:"http2Route,omitempty"`
	// An object that represents the specification of a TCP route.
	// +optional
	TCPRoute *TCPRoute `json:"tcpRoute,omitempty"`
	// The priority for the route.
	// +kubebuilder:validation:Minimum=0
	// +kubebuilder:validation:Maximum=1000
	// +optional
	Priority *int64 `json:"priority,omitempty"`
}

Route refers to https://docs.aws.amazon.com/app-mesh/latest/APIReference/API_RouteSpec.html

func (*Route) DeepCopy

func (in *Route) DeepCopy() *Route

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

func (*Route) DeepCopyInto

func (in *Route) DeepCopyInto(out *Route)

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

type ServiceDiscovery

type ServiceDiscovery struct {
	// Specifies any AWS Cloud Map information for the virtual node.
	// +optional
	AWSCloudMap *AWSCloudMapServiceDiscovery `json:"awsCloudMap,omitempty"`
	// Specifies the DNS information for the virtual node.
	// +optional
	DNS *DNSServiceDiscovery `json:"dns,omitempty"`
}

ServiceDiscovery refers to https://docs.aws.amazon.com/app-mesh/latest/APIReference/API_ServiceDiscovery.html

func (*ServiceDiscovery) DeepCopy

func (in *ServiceDiscovery) DeepCopy() *ServiceDiscovery

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

func (*ServiceDiscovery) DeepCopyInto

func (in *ServiceDiscovery) DeepCopyInto(out *ServiceDiscovery)

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

type SubjectAlternativeNameMatchers added in v1.3.0

type SubjectAlternativeNameMatchers struct {
	// Exact is a required field
	Exact []*string `json:"exact"`
}

func (*SubjectAlternativeNameMatchers) DeepCopy added in v1.3.0

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

func (*SubjectAlternativeNameMatchers) DeepCopyInto added in v1.3.0

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

type SubjectAlternativeNames added in v1.3.0

type SubjectAlternativeNames struct {
	// Match is a required field
	Match *SubjectAlternativeNameMatchers `json:"match"`
}

func (*SubjectAlternativeNames) DeepCopy added in v1.3.0

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

func (*SubjectAlternativeNames) DeepCopyInto added in v1.3.0

func (in *SubjectAlternativeNames) DeepCopyInto(out *SubjectAlternativeNames)

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

type TCPConnectionPool added in v1.2.0

type TCPConnectionPool struct {
	// Represents the maximum number of outbound TCP connections
	// the envoy can establish concurrently with all the hosts in the upstream cluster.
	// +kubebuilder:validation:Minimum=1
	MaxConnections int64 `json:"maxConnections"`
}

func (*TCPConnectionPool) DeepCopy added in v1.2.0

func (in *TCPConnectionPool) DeepCopy() *TCPConnectionPool

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

func (*TCPConnectionPool) DeepCopyInto added in v1.2.0

func (in *TCPConnectionPool) DeepCopyInto(out *TCPConnectionPool)

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

type TCPRetryPolicyEvent

type TCPRetryPolicyEvent string

+kubebuilder:validation:Enum=connection-error

type TCPRoute

type TCPRoute struct {
	// The action to take if a match is determined.
	Action TCPRouteAction `json:"action"`
	// An object that represents a tcp timeout.
	// +optional
	Timeout *TCPTimeout `json:"timeout,omitempty"`
}

TCPRoute refers to https://docs.aws.amazon.com/app-mesh/latest/APIReference/API_TcpRoute.html

func (*TCPRoute) DeepCopy

func (in *TCPRoute) DeepCopy() *TCPRoute

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

func (*TCPRoute) DeepCopyInto

func (in *TCPRoute) DeepCopyInto(out *TCPRoute)

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

type TCPRouteAction

type TCPRouteAction struct {
	// An object that represents the targets that traffic is routed to when a request matches the route.
	// +kubebuilder:validation:MinItems=1
	// +kubebuilder:validation:MaxItems=10
	WeightedTargets []WeightedTarget `json:"weightedTargets"`
}

TCPRouteAction refers to https://docs.aws.amazon.com/app-mesh/latest/APIReference/API_TcpRouteAction.html

func (*TCPRouteAction) DeepCopy

func (in *TCPRouteAction) DeepCopy() *TCPRouteAction

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

func (*TCPRouteAction) DeepCopyInto

func (in *TCPRouteAction) DeepCopyInto(out *TCPRouteAction)

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

type TCPTimeout

type TCPTimeout struct {
	// An object that represents idle timeout duration.
	// +optional
	Idle *Duration `json:"idle,omitempty"`
}

func (*TCPTimeout) DeepCopy

func (in *TCPTimeout) DeepCopy() *TCPTimeout

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

func (*TCPTimeout) DeepCopyInto

func (in *TCPTimeout) DeepCopyInto(out *TCPTimeout)

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

type TLSValidationContext

type TLSValidationContext struct {
	// A reference to an object that represents a TLS validation context trust
	Trust TLSValidationContextTrust `json:"trust"`
	// Possible Alternative names to consider
	// +optional
	SubjectAlternativeNames *SubjectAlternativeNames `json:"subjectAlternativeNames,omitempty"`
}

TLSValidationContext refers to https://docs.aws.amazon.com/app-mesh/latest/APIReference/API_TlsValidationContext.html

func (*TLSValidationContext) DeepCopy

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

func (*TLSValidationContext) DeepCopyInto

func (in *TLSValidationContext) DeepCopyInto(out *TLSValidationContext)

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

type TLSValidationContextACMTrust

type TLSValidationContextACMTrust struct {
	// One or more ACM Amazon Resource Name (ARN)s.
	// +kubebuilder:validation:MinItems=1
	// +kubebuilder:validation:MaxItems=3
	CertificateAuthorityARNs []string `json:"certificateAuthorityARNs"`
}

TLSValidationContextACMTrust refers to https://docs.aws.amazon.com/app-mesh/latest/APIReference/API_TlsValidationContextAcmTrust.html

func (*TLSValidationContextACMTrust) DeepCopy

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

func (*TLSValidationContextACMTrust) DeepCopyInto

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

type TLSValidationContextFileTrust

type TLSValidationContextFileTrust struct {
	// The certificate trust chain for a certificate stored on the file system of the virtual node that the proxy is running on.
	// +kubebuilder:validation:MinLength=1
	// +kubebuilder:validation:MaxLength=255
	CertificateChain string `json:"certificateChain"`
}

TLSValidationContextFileTrust refers to https://docs.aws.amazon.com/app-mesh/latest/APIReference/API_TlsValidationContextFileTrust.html

func (*TLSValidationContextFileTrust) DeepCopy

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

func (*TLSValidationContextFileTrust) DeepCopyInto

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

type TLSValidationContextSDSTrust added in v1.3.0

type TLSValidationContextSDSTrust struct {
	// The certificate trust chain for a certificate obtained via SDS
	SecretName *string `json:"secretName"`
}

TLSValidationContextSDSTrust refers to https://docs.aws.amazon.com/app-mesh/latest/APIReference/API_TlsValidationContextFileTrust.html

func (*TLSValidationContextSDSTrust) DeepCopy added in v1.3.0

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

func (*TLSValidationContextSDSTrust) DeepCopyInto added in v1.3.0

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

type TLSValidationContextTrust

type TLSValidationContextTrust struct {
	// A reference to an object that represents a TLS validation context trust for an AWS Certicate Manager (ACM) certificate.
	// +optional
	ACM *TLSValidationContextACMTrust `json:"acm,omitempty"`
	// An object that represents a TLS validation context trust for a local file.
	// +optional
	File *TLSValidationContextFileTrust `json:"file,omitempty"`
	// An object that represents a TLS validation context trust for a SDS.
	// +optional
	SDS *TLSValidationContextSDSTrust `json:"sds,omitempty"`
}

TLSValidationContextTrust refers to https://docs.aws.amazon.com/app-mesh/latest/APIReference/API_TlsValidationContextTrust.html

func (*TLSValidationContextTrust) DeepCopy

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

func (*TLSValidationContextTrust) DeepCopyInto

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

type VirtualGateway

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

	Spec   VirtualGatewaySpec   `json:"spec,omitempty"`
	Status VirtualGatewayStatus `json:"status,omitempty"`
}

+kubebuilder:object:root=true +kubebuilder:resource:categories=all +kubebuilder:subresource:status +kubebuilder:printcolumn:name="ARN",type="string",JSONPath=".status.virtualGatewayARN",description="The AppMesh VirtualGateway object's Amazon Resource Name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:pruning:PreserveUnknownFields VirtualGateway is the Schema for the virtualgateways API

func (*VirtualGateway) DeepCopy

func (in *VirtualGateway) DeepCopy() *VirtualGateway

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

func (*VirtualGateway) DeepCopyInto

func (in *VirtualGateway) DeepCopyInto(out *VirtualGateway)

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

func (*VirtualGateway) DeepCopyObject

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

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

type VirtualGatewayAccessLog

type VirtualGatewayAccessLog struct {
	// The file object to send virtual gateway access logs to.
	// +optional
	File *VirtualGatewayFileAccessLog `json:"file,omitempty"`
}

VirtualGatewayAccessLog refers to https://docs.aws.amazon.com/app-mesh/latest/userguide/virtual_gateways.html

func (*VirtualGatewayAccessLog) DeepCopy

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

func (*VirtualGatewayAccessLog) DeepCopyInto

func (in *VirtualGatewayAccessLog) DeepCopyInto(out *VirtualGatewayAccessLog)

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

type VirtualGatewayBackendDefaults

type VirtualGatewayBackendDefaults struct {
	// A reference to an object that represents a client policy.
	// +optional
	ClientPolicy *VirtualGatewayClientPolicy `json:"clientPolicy,omitempty"`
}

VirtualGatewayBackendDefaults refers to https://docs.aws.amazon.com/app-mesh/latest/userguide/virtual_gateways.html

func (*VirtualGatewayBackendDefaults) DeepCopy

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

func (*VirtualGatewayBackendDefaults) DeepCopyInto

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

type VirtualGatewayClientPolicy

type VirtualGatewayClientPolicy struct {
	// A reference to an object that represents a Transport Layer Security (TLS) client policy.
	// +optional
	TLS *VirtualGatewayClientPolicyTLS `json:"tls,omitempty"`
}

VirtualGatewayClientPolicy refers to https://docs.aws.amazon.com/app-mesh/latest/userguide/virtual_gateways.html

func (*VirtualGatewayClientPolicy) DeepCopy

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

func (*VirtualGatewayClientPolicy) DeepCopyInto

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

type VirtualGatewayClientPolicyTLS

type VirtualGatewayClientPolicyTLS struct {
	// Whether the policy is enforced.
	// If unspecified, default settings from AWS API will be applied. Refer to AWS Docs for default settings.
	// +optional
	Enforce *bool `json:"enforce,omitempty"`
	// The range of ports that the policy is enforced for.
	// +optional
	Ports []PortNumber `json:"ports,omitempty"`
	// A reference to an object that represents TLS certificate.
	//+optional
	Certificate *VirtualGatewayClientTLSCertificate `json:"certificate,omitempty"`
	// A reference to an object that represents a TLS validation context.
	Validation VirtualGatewayTLSValidationContext `json:"validation"`
}

VirtualGatewayClientPolicyTLS refers to https://docs.aws.amazon.com/app-mesh/latest/userguide/virtual_gateways.html

func (*VirtualGatewayClientPolicyTLS) DeepCopy

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

func (*VirtualGatewayClientPolicyTLS) DeepCopyInto

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

type VirtualGatewayClientTLSCertificate added in v1.3.0

type VirtualGatewayClientTLSCertificate struct {
	// An object that represents a TLS cert via a local file
	// +optional
	File *VirtualGatewayListenerTLSFileCertificate `json:"file,omitempty"`
	// An object that represents a TLS cert via SDS entry
	// +optional
	SDS *VirtualGatewayListenerTLSSDSCertificate `json:"sds,omitempty"`
}

VirtualGatewayTLSValidationContext refers to https://docs.aws.amazon.com/app-mesh/latest/userguide/virtual_gateways.html

func (*VirtualGatewayClientTLSCertificate) DeepCopy added in v1.3.0

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

func (*VirtualGatewayClientTLSCertificate) DeepCopyInto added in v1.3.0

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

type VirtualGatewayCondition

type VirtualGatewayCondition struct {
	// Type of VirtualGateway condition.
	Type VirtualGatewayConditionType `json:"type"`
	// Status of the condition, one of True, False, Unknown.
	Status corev1.ConditionStatus `json:"status"`
	// Last time the condition transitioned from one status to another.
	// +optional
	LastTransitionTime *metav1.Time `json:"lastTransitionTime,omitempty"`
	// The reason for the condition's last transition.
	// +optional
	Reason *string `json:"reason,omitempty"`
	// A human readable message indicating details about the transition.
	// +optional
	Message *string `json:"message,omitempty"`
}

func (*VirtualGatewayCondition) DeepCopy

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

func (*VirtualGatewayCondition) DeepCopyInto

func (in *VirtualGatewayCondition) DeepCopyInto(out *VirtualGatewayCondition)

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

type VirtualGatewayConditionType

type VirtualGatewayConditionType string
const (
	// VirtualGatewayActive is True when the AppMesh VirtualGateway has been created or found via the API
	VirtualGatewayActive VirtualGatewayConditionType = "VirtualGatewayActive"
)

type VirtualGatewayConnectionPool added in v1.2.0

type VirtualGatewayConnectionPool struct {
	// Specifies http connection pool settings for the virtual gateway listener
	// +optional
	HTTP *HTTPConnectionPool `json:"http,omitempty"`
	// Specifies http2 connection pool settings for the virtual gateway listener
	// +optional
	HTTP2 *HTTP2ConnectionPool `json:"http2,omitempty"`
	// Specifies grpc connection pool settings for the virtual gateway listener
	// +optional
	GRPC *GRPCConnectionPool `json:"grpc,omitempty"`
}

VirtualGatewayConnectionPool refers to the connection pools settings for Virtual Gateway. Connection pool limits the number of connections that an Envoy can concurrently establish with all the hosts in the upstream cluster. Currently connection pool is supported only at the listener level and it is intended protect your local application from being overwhelmed with connections.

func (*VirtualGatewayConnectionPool) DeepCopy added in v1.2.0

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

func (*VirtualGatewayConnectionPool) DeepCopyInto added in v1.2.0

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

type VirtualGatewayFileAccessLog

type VirtualGatewayFileAccessLog struct {
	// The file path to write access logs to.
	// +kubebuilder:validation:MinLength=1
	// +kubebuilder:validation:MaxLength=255
	Path string `json:"path"`
}

VirtualGatewayFileAccessLog refers to https://docs.aws.amazon.com/app-mesh/latest/userguide/virtual_gateways.html

func (*VirtualGatewayFileAccessLog) DeepCopy

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

func (*VirtualGatewayFileAccessLog) DeepCopyInto

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

type VirtualGatewayHealthCheckPolicy

type VirtualGatewayHealthCheckPolicy struct {
	// The number of consecutive successful health checks that must occur before declaring listener healthy.
	// +kubebuilder:validation:Minimum=2
	// +kubebuilder:validation:Maximum=10
	// +optional
	HealthyThreshold int64 `json:"healthyThreshold"`
	// The time period in milliseconds between each health check execution.
	// +kubebuilder:validation:Minimum=5000
	// +kubebuilder:validation:Maximum=300000
	IntervalMillis int64 `json:"intervalMillis"`
	// The destination path for the health check request.
	// This value is only used if the specified protocol is http or http2. For any other protocol, this value is ignored.
	// +optional
	Path *string `json:"path,omitempty"`
	// The destination port for the health check request.
	// +optional
	Port *PortNumber `json:"port,omitempty"`
	// The protocol for the health check request
	Protocol VirtualGatewayPortProtocol `json:"protocol"`
	// The amount of time to wait when receiving a response from the health check, in milliseconds.
	// +kubebuilder:validation:Minimum=2000
	// +kubebuilder:validation:Maximum=60000
	TimeoutMillis int64 `json:"timeoutMillis"`
	// The number of consecutive failed health checks that must occur before declaring a virtual Gateway unhealthy.
	// +kubebuilder:validation:Minimum=2
	// +kubebuilder:validation:Maximum=10
	UnhealthyThreshold int64 `json:"unhealthyThreshold"`
}

VirtualGatewayHealthCheckPolicy refers to https://docs.aws.amazon.com/app-mesh/latest/userguide/virtual_gateways.html

func (*VirtualGatewayHealthCheckPolicy) DeepCopy

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

func (*VirtualGatewayHealthCheckPolicy) DeepCopyInto

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

type VirtualGatewayList

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

VirtualGatewayList contains a list of VirtualGateway

func (*VirtualGatewayList) DeepCopy

func (in *VirtualGatewayList) DeepCopy() *VirtualGatewayList

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

func (*VirtualGatewayList) DeepCopyInto

func (in *VirtualGatewayList) DeepCopyInto(out *VirtualGatewayList)

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

func (*VirtualGatewayList) DeepCopyObject

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

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

type VirtualGatewayListener

type VirtualGatewayListener struct {
	// The port mapping information for the listener.
	PortMapping VirtualGatewayPortMapping `json:"portMapping"`
	// The health check information for the listener.
	// +optional
	HealthCheck *VirtualGatewayHealthCheckPolicy `json:"healthCheck,omitempty"`
	// The connection pool settings for the listener
	// +optional
	ConnectionPool *VirtualGatewayConnectionPool `json:"connectionPool,omitempty"`
	// A reference to an object that represents the Transport Layer Security (TLS) properties for a listener.
	// +optional
	TLS *VirtualGatewayListenerTLS `json:"tls,omitempty"`
}

VirtualGatewayListener refers to https://docs.aws.amazon.com/app-mesh/latest/userguide/virtual_gateways.html

func (*VirtualGatewayListener) DeepCopy

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

func (*VirtualGatewayListener) DeepCopyInto

func (in *VirtualGatewayListener) DeepCopyInto(out *VirtualGatewayListener)

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

type VirtualGatewayListenerTLS

type VirtualGatewayListenerTLS struct {
	// A reference to an object that represents a listener's TLS certificate.
	Certificate VirtualGatewayListenerTLSCertificate `json:"certificate"`
	// A reference to an object that represents Validation context
	// +optional
	Validation *VirtualGatewayListenerTLSValidationContext `json:"validation,omitempty"`
	// ListenerTLS mode
	Mode VirtualGatewayListenerTLSMode `json:"mode"`
}

VirtualGatewayListenerTLS refers to https://docs.aws.amazon.com/app-mesh/latest/userguide/virtual_gateways.html

func (*VirtualGatewayListenerTLS) DeepCopy

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

func (*VirtualGatewayListenerTLS) DeepCopyInto

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

type VirtualGatewayListenerTLSACMCertificate

type VirtualGatewayListenerTLSACMCertificate struct {
	// The Amazon Resource Name (ARN) for the certificate.
	CertificateARN string `json:"certificateARN"`
}

VirtualGatewayListenerTLSACMCertificate refers to https://docs.aws.amazon.com/app-mesh/latest/userguide/virtual_gateways.html

func (*VirtualGatewayListenerTLSACMCertificate) DeepCopy

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

func (*VirtualGatewayListenerTLSACMCertificate) DeepCopyInto

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

type VirtualGatewayListenerTLSCertificate

type VirtualGatewayListenerTLSCertificate struct {
	// A reference to an object that represents an AWS Certificate Manager (ACM) certificate.
	// +optional
	ACM *VirtualGatewayListenerTLSACMCertificate `json:"acm,omitempty"`
	// A reference to an object that represents a local file certificate.
	// +optional
	File *VirtualGatewayListenerTLSFileCertificate `json:"file,omitempty"`
	// A reference to an object that represents an SDS issued certificate
	// +optional
	SDS *VirtualGatewayListenerTLSSDSCertificate `json:"sds,omitempty"`
}

VirtualGatewayListenerTLSCertificate refers to https://docs.aws.amazon.com/app-mesh/latest/userguide/virtual_gateways.html

func (*VirtualGatewayListenerTLSCertificate) DeepCopy

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

func (*VirtualGatewayListenerTLSCertificate) DeepCopyInto

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

type VirtualGatewayListenerTLSFileCertificate

type VirtualGatewayListenerTLSFileCertificate struct {
	// The certificate chain for the certificate.
	// +kubebuilder:validation:MinLength=1
	// +kubebuilder:validation:MaxLength=255
	CertificateChain string `json:"certificateChain"`
	// The private key for a certificate stored on the file system of the virtual Gateway.
	// +kubebuilder:validation:MinLength=1
	// +kubebuilder:validation:MaxLength=255
	PrivateKey string `json:"privateKey"`
}

VirtualGatewayListenerTLSFileCertificate refers to https://docs.aws.amazon.com/app-mesh/latest/userguide/virtual_gateways.html

func (*VirtualGatewayListenerTLSFileCertificate) DeepCopy

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

func (*VirtualGatewayListenerTLSFileCertificate) DeepCopyInto

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

type VirtualGatewayListenerTLSMode

type VirtualGatewayListenerTLSMode string

+kubebuilder:validation:Enum=DISABLED;PERMISSIVE;STRICT

const (
	VirtualGatewayListenerTLSModeDisabled   VirtualGatewayListenerTLSMode = "DISABLED"
	VirtualGatewayListenerTLSModePermissive VirtualGatewayListenerTLSMode = "PERMISSIVE"
	VirtualGatewayListenerTLSModeStrict     VirtualGatewayListenerTLSMode = "STRICT"
)

type VirtualGatewayListenerTLSSDSCertificate added in v1.3.0

type VirtualGatewayListenerTLSSDSCertificate struct {
	// The certificate trust chain for a certificate issued via SDS cluster
	SecretName *string `json:"secretName"`
}

func (*VirtualGatewayListenerTLSSDSCertificate) DeepCopy added in v1.3.0

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

func (*VirtualGatewayListenerTLSSDSCertificate) DeepCopyInto added in v1.3.0

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

type VirtualGatewayListenerTLSValidationContext added in v1.3.0

type VirtualGatewayListenerTLSValidationContext struct {
	Trust VirtualGatewayListenerTLSValidationContextTrust `json:"trust"`
	// Possible alternate names to consider
	// +optional
	SubjectAlternativeNames *SubjectAlternativeNames `json:"subjectAlternativeNames,omitempty"`
}

VirtualGatewayListenerTLSCertificate refers to https://docs.aws.amazon.com/app-mesh/latest/userguide/virtual_gateways.html

func (*VirtualGatewayListenerTLSValidationContext) DeepCopy added in v1.3.0

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

func (*VirtualGatewayListenerTLSValidationContext) DeepCopyInto added in v1.3.0

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

type VirtualGatewayListenerTLSValidationContextTrust added in v1.3.0

type VirtualGatewayListenerTLSValidationContextTrust struct {
	// A reference to an object that represents a TLS validation context trust for an AWS Certicate Manager (ACM) certificate.
	// +optional
	ACM *VirtualGatewayTLSValidationContextACMTrust `json:"acm,omitempty"`
	// An object that represents a TLS validation context trust for a local file.
	// +optional
	File *VirtualGatewayTLSValidationContextFileTrust `json:"file,omitempty"`
	// An object that represents a TLS validation context trust for an SDS system
	// +optional
	SDS *VirtualGatewayTLSValidationContextSDSTrust `json:"sds,omitempty"`
}

func (*VirtualGatewayListenerTLSValidationContextTrust) DeepCopy added in v1.3.0

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

func (*VirtualGatewayListenerTLSValidationContextTrust) DeepCopyInto added in v1.3.0

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

type VirtualGatewayLogging

type VirtualGatewayLogging struct {
	// The access log configuration for a virtual Gateway.
	// +optional
	AccessLog *VirtualGatewayAccessLog `json:"accessLog,omitempty"`
}

VirtualGatewayLogging refers to https://docs.aws.amazon.com/app-mesh/latest/userguide/virtual_gateways.html

func (*VirtualGatewayLogging) DeepCopy

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

func (*VirtualGatewayLogging) DeepCopyInto

func (in *VirtualGatewayLogging) DeepCopyInto(out *VirtualGatewayLogging)

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

type VirtualGatewayPortMapping

type VirtualGatewayPortMapping struct {
	// The port used for the port mapping.
	Port PortNumber `json:"port"`
	// The protocol used for the port mapping.
	Protocol VirtualGatewayPortProtocol `json:"protocol"`
}

VirtualGatewayPortMapping refers to https://docs.aws.amazon.com/app-mesh/latest/userguide/virtual_gateways.html

func (*VirtualGatewayPortMapping) DeepCopy

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

func (*VirtualGatewayPortMapping) DeepCopyInto

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

type VirtualGatewayPortProtocol

type VirtualGatewayPortProtocol string

+kubebuilder:validation:Enum=grpc;http;http2

const (
	VirtualGatewayPortProtocolGRPC  VirtualGatewayPortProtocol = "grpc"
	VirtualGatewayPortProtocolHTTP  VirtualGatewayPortProtocol = "http"
	VirtualGatewayPortProtocolHTTP2 VirtualGatewayPortProtocol = "http2"
	VirtualGatewayPortProtocolTCP   VirtualGatewayPortProtocol = "tcp"
)

type VirtualGatewayReference

type VirtualGatewayReference struct {
	// Namespace is the namespace of VirtualGateway CR.
	// If unspecified, defaults to the referencing object's namespace
	// +optional
	Namespace *string `json:"namespace,omitempty"`
	// Name is the name of VirtualGateway CR
	Name string `json:"name"`
	// UID is the UID of VirtualGateway CR
	UID types.UID `json:"uid"`
}

VirtualGatewayReference holds a reference to VirtualGateway.appmesh.k8s.aws

func (*VirtualGatewayReference) DeepCopy

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

func (*VirtualGatewayReference) DeepCopyInto

func (in *VirtualGatewayReference) DeepCopyInto(out *VirtualGatewayReference)

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

type VirtualGatewaySpec

type VirtualGatewaySpec struct {
	// AWSName is the AppMesh VirtualGateway object's name.
	// If unspecified or empty, it defaults to be "${name}_${namespace}" of k8s VirtualGateway
	// +optional
	AWSName *string `json:"awsName,omitempty"`
	// NamespaceSelector selects Namespaces using labels to designate GatewayRoute membership.
	// This field follows standard label selector semantics; if present but empty, it selects all namespaces.
	// +optional
	NamespaceSelector *metav1.LabelSelector `json:"namespaceSelector,omitempty"`
	// PodSelector selects Pods using labels to designate VirtualGateway membership.
	// This field follows standard label selector semantics:
	//	if present but empty, it selects all pods within namespace.
	// 	if absent, it selects no pod.
	// +optional
	PodSelector *metav1.LabelSelector `json:"podSelector,omitempty"`
	// GatewayRouteSelector selects GatewayRoutes using labels to designate GatewayRoute membership.
	// If not specified it selects all GatewayRoutes in that namespace.
	// +optional
	GatewayRouteSelector *metav1.LabelSelector `json:"gatewayRouteSelector,omitempty"`
	// The listener that the virtual gateway is expected to receive inbound traffic from
	// +kubebuilder:validation:MinItems=0
	// +kubebuilder:validation:MaxItems=1
	Listeners []VirtualGatewayListener `json:"listeners,omitempty"`
	// The inbound and outbound access logging information for the virtual gateway.
	// +optional
	Logging *VirtualGatewayLogging `json:"logging,omitempty"`
	// A reference to an object that represents the defaults for backend GatewayRoutes.
	// +optional
	BackendDefaults *VirtualGatewayBackendDefaults `json:"backendDefaults,omitempty"`

	// A reference to k8s Mesh CR that this VirtualGateway belongs to.
	// The admission controller populates it using Meshes's selector, and prevents users from setting this field.
	//
	// Populated by the system.
	// Read-only.
	// +optional
	MeshRef *MeshReference `json:"meshRef,omitempty"`
}

VirtualGatewaySpec defines the desired state of VirtualGateway refers to https://docs.aws.amazon.com/app-mesh/latest/userguide/virtual_gateways.html

func (*VirtualGatewaySpec) DeepCopy

func (in *VirtualGatewaySpec) DeepCopy() *VirtualGatewaySpec

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

func (*VirtualGatewaySpec) DeepCopyInto

func (in *VirtualGatewaySpec) DeepCopyInto(out *VirtualGatewaySpec)

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

type VirtualGatewayStatus

type VirtualGatewayStatus struct {
	// VirtualGatewayARN is the AppMesh VirtualGateway object's Amazon Resource Name
	// +optional
	VirtualGatewayARN *string `json:"virtualGatewayARN,omitempty"`
	// The current VirtualGateway status.
	// +optional
	Conditions []VirtualGatewayCondition `json:"conditions,omitempty"`

	// The generation observed by the VirtualGateway controller.
	// +optional
	ObservedGeneration *int64 `json:"observedGeneration,omitempty"`
}

VirtualGatewayStatus defines the observed state of VirtualGateway

func (*VirtualGatewayStatus) DeepCopy

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

func (*VirtualGatewayStatus) DeepCopyInto

func (in *VirtualGatewayStatus) DeepCopyInto(out *VirtualGatewayStatus)

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

type VirtualGatewayTLSValidationContext

type VirtualGatewayTLSValidationContext struct {
	// A reference to an object that represents a TLS validation context trust
	Trust VirtualGatewayTLSValidationContextTrust `json:"trust"`
	// Possible alternative names to consider
	// +optional
	SubjectAlternativeNames *SubjectAlternativeNames `json:"subjectAlternativeNames,omitempty"`
}

VirtualGatewayTLSValidationContext refers to https://docs.aws.amazon.com/app-mesh/latest/userguide/virtual_gateways.html

func (*VirtualGatewayTLSValidationContext) DeepCopy

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

func (*VirtualGatewayTLSValidationContext) DeepCopyInto

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

type VirtualGatewayTLSValidationContextACMTrust

type VirtualGatewayTLSValidationContextACMTrust struct {
	// One or more ACM Amazon Resource Name (ARN)s.
	// +kubebuilder:validation:MinItems=1
	// +kubebuilder:validation:MaxItems=3
	CertificateAuthorityARNs []string `json:"certificateAuthorityARNs"`
}

VirtualGatewayTLSValidationContextACMTrust refers to https://docs.aws.amazon.com/app-mesh/latest/userguide/virtual_gateways.html

func (*VirtualGatewayTLSValidationContextACMTrust) DeepCopy

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

func (*VirtualGatewayTLSValidationContextACMTrust) DeepCopyInto

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

type VirtualGatewayTLSValidationContextFileTrust

type VirtualGatewayTLSValidationContextFileTrust struct {
	// The certificate trust chain for a certificate stored on the file system of the virtual Gateway.
	// +kubebuilder:validation:MinLength=1
	// +kubebuilder:validation:MaxLength=255
	CertificateChain string `json:"certificateChain"`
}

VirtualGatewayTLSValidationContextFileTrust refers to https://docs.aws.amazon.com/app-mesh/latest/userguide/virtual_gateways.html

func (*VirtualGatewayTLSValidationContextFileTrust) DeepCopy

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

func (*VirtualGatewayTLSValidationContextFileTrust) DeepCopyInto

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

type VirtualGatewayTLSValidationContextSDSTrust added in v1.3.0

type VirtualGatewayTLSValidationContextSDSTrust struct {
	// The certificate trust chain for a certificate issued via SDS.
	SecretName *string `json:"secretName"`
}

VirtualGatewayTLSValidationContextSDSTrust refers to https://docs.aws.amazon.com/app-mesh/latest/userguide/virtual_gateways.html

func (*VirtualGatewayTLSValidationContextSDSTrust) DeepCopy added in v1.3.0

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

func (*VirtualGatewayTLSValidationContextSDSTrust) DeepCopyInto added in v1.3.0

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

type VirtualGatewayTLSValidationContextTrust

type VirtualGatewayTLSValidationContextTrust struct {
	// A reference to an object that represents a TLS validation context trust for an AWS Certicate Manager (ACM) certificate.
	// +optional
	ACM *VirtualGatewayTLSValidationContextACMTrust `json:"acm,omitempty"`
	// An object that represents a TLS validation context trust for a local file.
	// +optional
	File *VirtualGatewayTLSValidationContextFileTrust `json:"file,omitempty"`
	// An object that represents a TLS validation context trust for a SDS certificate
	// +optional
	SDS *VirtualGatewayTLSValidationContextSDSTrust `json:"sds,omitempty"`
}

VirtualGatewayTLSValidationContextTrust refers to https://docs.aws.amazon.com/app-mesh/latest/userguide/virtual_gateways.html

func (*VirtualGatewayTLSValidationContextTrust) DeepCopy

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

func (*VirtualGatewayTLSValidationContextTrust) DeepCopyInto

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

type VirtualNode

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

	Spec   VirtualNodeSpec   `json:"spec,omitempty"`
	Status VirtualNodeStatus `json:"status,omitempty"`
}

+kubebuilder:object:root=true +kubebuilder:resource:categories=all +kubebuilder:subresource:status +kubebuilder:printcolumn:name="ARN",type="string",JSONPath=".status.virtualNodeARN",description="The AppMesh VirtualNode object's Amazon Resource Name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:pruning:PreserveUnknownFields VirtualNode is the Schema for the virtualnodes API

func (*VirtualNode) DeepCopy

func (in *VirtualNode) DeepCopy() *VirtualNode

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

func (*VirtualNode) DeepCopyInto

func (in *VirtualNode) DeepCopyInto(out *VirtualNode)

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

func (*VirtualNode) DeepCopyObject

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

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

type VirtualNodeCondition

type VirtualNodeCondition struct {
	// Type of VirtualNode condition.
	Type VirtualNodeConditionType `json:"type"`
	// Status of the condition, one of True, False, Unknown.
	Status corev1.ConditionStatus `json:"status"`
	// Last time the condition transitioned from one status to another.
	// +optional
	LastTransitionTime *metav1.Time `json:"lastTransitionTime,omitempty"`
	// The reason for the condition's last transition.
	// +optional
	Reason *string `json:"reason,omitempty"`
	// A human readable message indicating details about the transition.
	// +optional
	Message *string `json:"message,omitempty"`
}

func (*VirtualNodeCondition) DeepCopy

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

func (*VirtualNodeCondition) DeepCopyInto

func (in *VirtualNodeCondition) DeepCopyInto(out *VirtualNodeCondition)

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

type VirtualNodeConditionType

type VirtualNodeConditionType string
const (
	// VirtualNodeActive is True when the AppMesh VirtualNode has been created or found via the API
	VirtualNodeActive VirtualNodeConditionType = "VirtualNodeActive"
)

type VirtualNodeConnectionPool added in v1.2.0

type VirtualNodeConnectionPool struct {
	// Specifies tcp connection pool settings for the virtual node listener
	// +optional
	TCP *TCPConnectionPool `json:"tcp,omitempty"`
	// Specifies http connection pool settings for the virtual node listener
	// +optional
	HTTP *HTTPConnectionPool `json:"http,omitempty"`
	// Specifies http2 connection pool settings for the virtual node listener
	// +optional
	HTTP2 *HTTP2ConnectionPool `json:"http2,omitempty"`
	// Specifies grpc connection pool settings for the virtual node listener
	// +optional
	GRPC *GRPCConnectionPool `json:"grpc,omitempty"`
}

VirtualNodeConnectionPool refers to the connection pools settings for Virtual Node. Connection pool limits the number of connections that an Envoy can concurrently establish with all the hosts in the upstream cluster. Currently connection pool is supported only at the listener level and it is intended protect your local application from being overwhelmed with connections.

func (*VirtualNodeConnectionPool) DeepCopy added in v1.2.0

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

func (*VirtualNodeConnectionPool) DeepCopyInto added in v1.2.0

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

type VirtualNodeList

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

VirtualNodeList contains a list of VirtualNode

func (*VirtualNodeList) DeepCopy

func (in *VirtualNodeList) DeepCopy() *VirtualNodeList

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

func (*VirtualNodeList) DeepCopyInto

func (in *VirtualNodeList) DeepCopyInto(out *VirtualNodeList)

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

func (*VirtualNodeList) DeepCopyObject

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

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

type VirtualNodeReference

type VirtualNodeReference struct {
	// Namespace is the namespace of VirtualNode CR.
	// If unspecified, defaults to the referencing object's namespace
	// +optional
	Namespace *string `json:"namespace,omitempty"`
	// Name is the name of VirtualNode CR
	Name string `json:"name"`
}

VirtualNodeReference holds a reference to VirtualNode.appmesh.k8s.aws

func (*VirtualNodeReference) DeepCopy

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

func (*VirtualNodeReference) DeepCopyInto

func (in *VirtualNodeReference) DeepCopyInto(out *VirtualNodeReference)

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

type VirtualNodeServiceProvider

type VirtualNodeServiceProvider struct {
	// Reference to Kubernetes VirtualNode CR in cluster that is acting as a service provider. Exactly one of 'virtualNodeRef' or 'virtualNodeARN' must be specified.
	// +optional
	VirtualNodeRef *VirtualNodeReference `json:"virtualNodeRef,omitempty"`
	// Amazon Resource Name to AppMesh VirtualNode object that is acting as a service provider. Exactly one of 'virtualNodeRef' or 'virtualNodeARN' must be specified.
	// +optional
	VirtualNodeARN *string `json:"virtualNodeARN,omitempty"`
}

VirtualNodeServiceProvider refers to https://docs.aws.amazon.com/app-mesh/latest/APIReference/API_VirtualNodeServiceProvider.html

func (*VirtualNodeServiceProvider) DeepCopy

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

func (*VirtualNodeServiceProvider) DeepCopyInto

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

type VirtualNodeSpec

type VirtualNodeSpec struct {
	// AWSName is the AppMesh VirtualNode object's name.
	// If unspecified or empty, it defaults to be "${name}_${namespace}" of k8s VirtualNode
	// +optional
	AWSName *string `json:"awsName,omitempty"`
	// PodSelector selects Pods using labels to designate VirtualNode membership.
	// This field follows standard label selector semantics:
	//	if present but empty, it selects all pods within namespace.
	// 	if absent, it selects no pod.
	// +optional
	PodSelector *metav1.LabelSelector `json:"podSelector,omitempty"`
	// The listener that the virtual node is expected to receive inbound traffic from
	// +kubebuilder:validation:MinItems=0
	// +kubebuilder:validation:MaxItems=1
	// +optional
	Listeners []Listener `json:"listeners,omitempty"`
	// The service discovery information for the virtual node. Optional if there is no
	// inbound traffic(no listeners). Mandatory if a listener is specified.
	// +optional
	ServiceDiscovery *ServiceDiscovery `json:"serviceDiscovery,omitempty"`
	// The backends that the virtual node is expected to send outbound traffic to.
	// +optional
	Backends []Backend `json:"backends,omitempty"`
	// A reference to an object that represents the defaults for backends.
	// +optional
	BackendDefaults *BackendDefaults `json:"backendDefaults,omitempty"`
	// The inbound and outbound access logging information for the virtual node.
	// +optional
	Logging *Logging `json:"logging,omitempty"`

	// A reference to k8s Mesh CR that this VirtualNode belongs to.
	// The admission controller populates it using Meshes's selector, and prevents users from setting this field.
	//
	// Populated by the system.
	// Read-only.
	// +optional
	MeshRef *MeshReference `json:"meshRef,omitempty"`
}

VirtualNodeSpec defines the desired state of VirtualNode refers to https://docs.aws.amazon.com/app-mesh/latest/APIReference/API_VirtualNodeSpec.html

func (*VirtualNodeSpec) DeepCopy

func (in *VirtualNodeSpec) DeepCopy() *VirtualNodeSpec

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

func (*VirtualNodeSpec) DeepCopyInto

func (in *VirtualNodeSpec) DeepCopyInto(out *VirtualNodeSpec)

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

type VirtualNodeStatus

type VirtualNodeStatus struct {
	// VirtualNodeARN is the AppMesh VirtualNode object's Amazon Resource Name
	// +optional
	VirtualNodeARN *string `json:"virtualNodeARN,omitempty"`
	// The current VirtualNode status.
	// +optional
	Conditions []VirtualNodeCondition `json:"conditions,omitempty"`

	// The generation observed by the VirtualNode controller.
	// +optional
	ObservedGeneration *int64 `json:"observedGeneration,omitempty"`
}

VirtualNodeStatus defines the observed state of VirtualNode

func (*VirtualNodeStatus) DeepCopy

func (in *VirtualNodeStatus) DeepCopy() *VirtualNodeStatus

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

func (*VirtualNodeStatus) DeepCopyInto

func (in *VirtualNodeStatus) DeepCopyInto(out *VirtualNodeStatus)

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

type VirtualRouter

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

	Spec   VirtualRouterSpec   `json:"spec,omitempty"`
	Status VirtualRouterStatus `json:"status,omitempty"`
}

+kubebuilder:object:root=true +kubebuilder:resource:categories=all +kubebuilder:subresource:status +kubebuilder:printcolumn:name="ARN",type="string",JSONPath=".status.virtualRouterARN",description="The AppMesh VirtualRouter object's Amazon Resource Name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:pruning:PreserveUnknownFields VirtualRouter is the Schema for the virtualrouters API

func (*VirtualRouter) DeepCopy

func (in *VirtualRouter) DeepCopy() *VirtualRouter

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

func (*VirtualRouter) DeepCopyInto

func (in *VirtualRouter) DeepCopyInto(out *VirtualRouter)

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

func (*VirtualRouter) DeepCopyObject

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

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

type VirtualRouterCondition

type VirtualRouterCondition struct {
	// Type of VirtualRouter condition.
	Type VirtualRouterConditionType `json:"type"`
	// Status of the condition, one of True, False, Unknown.
	Status corev1.ConditionStatus `json:"status"`
	// Last time the condition transitioned from one status to another.
	// +optional
	LastTransitionTime *metav1.Time `json:"lastTransitionTime,omitempty"`
	// The reason for the condition's last transition.
	// +optional
	Reason *string `json:"reason,omitempty"`
	// A human readable message indicating details about the transition.
	// +optional
	Message *string `json:"message,omitempty"`
}

func (*VirtualRouterCondition) DeepCopy

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

func (*VirtualRouterCondition) DeepCopyInto

func (in *VirtualRouterCondition) DeepCopyInto(out *VirtualRouterCondition)

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

type VirtualRouterConditionType

type VirtualRouterConditionType string
const (
	// VirtualRouterActive is True when the AppMesh VirtualRouter has been created or found via the API
	VirtualRouterActive VirtualRouterConditionType = "VirtualRouterActive"
)

type VirtualRouterList

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

VirtualRouterList contains a list of VirtualRouter

func (*VirtualRouterList) DeepCopy

func (in *VirtualRouterList) DeepCopy() *VirtualRouterList

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

func (*VirtualRouterList) DeepCopyInto

func (in *VirtualRouterList) DeepCopyInto(out *VirtualRouterList)

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

func (*VirtualRouterList) DeepCopyObject

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

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

type VirtualRouterListener

type VirtualRouterListener struct {
	// The port mapping information for the listener.
	PortMapping PortMapping `json:"portMapping"`
}

VirtualRouterListener refers to https://docs.aws.amazon.com/app-mesh/latest/APIReference/API_VirtualRouterListener.html

func (*VirtualRouterListener) DeepCopy

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

func (*VirtualRouterListener) DeepCopyInto

func (in *VirtualRouterListener) DeepCopyInto(out *VirtualRouterListener)

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

type VirtualRouterReference

type VirtualRouterReference struct {
	// Namespace is the namespace of VirtualRouter CR.
	// If unspecified, defaults to the referencing object's namespace
	// +optional
	Namespace *string `json:"namespace,omitempty"`
	// Name is the name of VirtualRouter CR
	Name string `json:"name"`
}

VirtualRouterReference holds a reference to VirtualRouter.appmesh.k8s.aws

func (*VirtualRouterReference) DeepCopy

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

func (*VirtualRouterReference) DeepCopyInto

func (in *VirtualRouterReference) DeepCopyInto(out *VirtualRouterReference)

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

type VirtualRouterServiceProvider

type VirtualRouterServiceProvider struct {
	// Reference to Kubernetes VirtualRouter CR in cluster that is acting as a service provider. Exactly one of 'virtualRouterRef' or 'virtualRouterARN' must be specified.
	// +optional
	VirtualRouterRef *VirtualRouterReference `json:"virtualRouterRef,omitempty"`
	// Amazon Resource Name to AppMesh VirtualRouter object that is acting as a service provider. Exactly one of 'virtualRouterRef' or 'virtualRouterARN' must be specified.
	// +optional
	VirtualRouterARN *string `json:"virtualRouterARN,omitempty"`
}

VirtualRouterServiceProvider refers to https://docs.aws.amazon.com/app-mesh/latest/APIReference/API_VirtualRouterServiceProvider.html

func (*VirtualRouterServiceProvider) DeepCopy

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

func (*VirtualRouterServiceProvider) DeepCopyInto

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

type VirtualRouterSpec

type VirtualRouterSpec struct {
	// AWSName is the AppMesh VirtualRouter object's name.
	// If unspecified or empty, it defaults to be "${name}_${namespace}" of k8s VirtualRouter
	// +optional
	AWSName *string `json:"awsName,omitempty"`
	// The listeners that the virtual router is expected to receive inbound traffic from
	// +kubebuilder:validation:MinItems=1
	// +kubebuilder:validation:MaxItems=1
	Listeners []VirtualRouterListener `json:"listeners,omitempty"`

	// The routes associated with VirtualRouter
	// +optional
	Routes []Route `json:"routes,omitempty"`

	// A reference to k8s Mesh CR that this VirtualRouter belongs to.
	// The admission controller populates it using Meshes's selector, and prevents users from setting this field.
	//
	// Populated by the system.
	// Read-only.
	// +optional
	MeshRef *MeshReference `json:"meshRef,omitempty"`
}

VirtualRouterSpec defines the desired state of VirtualRouter refers to https://docs.aws.amazon.com/app-mesh/latest/APIReference/API_VirtualRouterSpec.html

func (*VirtualRouterSpec) DeepCopy

func (in *VirtualRouterSpec) DeepCopy() *VirtualRouterSpec

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

func (*VirtualRouterSpec) DeepCopyInto

func (in *VirtualRouterSpec) DeepCopyInto(out *VirtualRouterSpec)

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

type VirtualRouterStatus

type VirtualRouterStatus struct {
	// VirtualRouterARN is the AppMesh VirtualRouter object's Amazon Resource Name.
	// +optional
	VirtualRouterARN *string `json:"virtualRouterARN,omitempty"`
	// RouteARNs is a map of AppMesh Route objects' Amazon Resource Names, indexed by route name.
	// +optional
	RouteARNs map[string]string `json:"routeARNs,omitempty"`
	// The current VirtualRouter status.
	// +optional
	Conditions []VirtualRouterCondition `json:"conditions,omitempty"`

	// The generation observed by the VirtualRouter controller.
	// +optional
	ObservedGeneration *int64 `json:"observedGeneration,omitempty"`
}

VirtualRouterStatus defines the observed state of VirtualRouter

func (*VirtualRouterStatus) DeepCopy

func (in *VirtualRouterStatus) DeepCopy() *VirtualRouterStatus

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

func (*VirtualRouterStatus) DeepCopyInto

func (in *VirtualRouterStatus) DeepCopyInto(out *VirtualRouterStatus)

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

type VirtualService

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

	Spec   VirtualServiceSpec   `json:"spec,omitempty"`
	Status VirtualServiceStatus `json:"status,omitempty"`
}

+kubebuilder:object:root=true +kubebuilder:resource:categories=all +kubebuilder:subresource:status +kubebuilder:printcolumn:name="ARN",type="string",JSONPath=".status.virtualServiceARN",description="The AppMesh VirtualService object's Amazon Resource Name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:pruning:PreserveUnknownFields VirtualService is the Schema for the virtualservices API

func (*VirtualService) DeepCopy

func (in *VirtualService) DeepCopy() *VirtualService

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

func (*VirtualService) DeepCopyInto

func (in *VirtualService) DeepCopyInto(out *VirtualService)

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

func (*VirtualService) DeepCopyObject

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

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

type VirtualServiceBackend

type VirtualServiceBackend struct {
	// Reference to Kubernetes VirtualService CR in cluster that is acting as a virtual node backend. Exactly one of 'virtualServiceRef' or 'virtualServiceARN' must be specified.
	// +optional
	VirtualServiceRef *VirtualServiceReference `json:"virtualServiceRef,omitempty"`
	// Amazon Resource Name to AppMesh VirtualService object that is acting as a virtual node backend. Exactly one of 'virtualServiceRef' or 'virtualServiceARN' must be specified.
	// +optional
	VirtualServiceARN *string `json:"virtualServiceARN,omitempty"`
	// A reference to an object that represents the client policy for a backend.
	// +optional
	ClientPolicy *ClientPolicy `json:"clientPolicy,omitempty"`
}

VirtualServiceBackend refers to https://docs.aws.amazon.com/app-mesh/latest/APIReference/API_VirtualServiceBackend.html

func (*VirtualServiceBackend) DeepCopy

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

func (*VirtualServiceBackend) DeepCopyInto

func (in *VirtualServiceBackend) DeepCopyInto(out *VirtualServiceBackend)

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

type VirtualServiceCondition

type VirtualServiceCondition struct {
	// Type of VirtualService condition.
	Type VirtualServiceConditionType `json:"type"`
	// Status of the condition, one of True, False, Unknown.
	Status corev1.ConditionStatus `json:"status"`
	// Last time the condition transitioned from one status to another.
	// +optional
	LastTransitionTime *metav1.Time `json:"lastTransitionTime,omitempty"`
	// The reason for the condition's last transition.
	// +optional
	Reason *string `json:"reason,omitempty"`
	// A human readable message indicating details about the transition.
	// +optional
	Message *string `json:"message,omitempty"`
}

func (*VirtualServiceCondition) DeepCopy

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

func (*VirtualServiceCondition) DeepCopyInto

func (in *VirtualServiceCondition) DeepCopyInto(out *VirtualServiceCondition)

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

type VirtualServiceConditionType

type VirtualServiceConditionType string
const (
	// VirtualServiceActive is True when the AppMesh VirtualService has been created or found via the API
	VirtualServiceActive VirtualServiceConditionType = "VirtualServiceActive"
)

type VirtualServiceList

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

VirtualServiceList contains a list of VirtualService

func (*VirtualServiceList) DeepCopy

func (in *VirtualServiceList) DeepCopy() *VirtualServiceList

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

func (*VirtualServiceList) DeepCopyInto

func (in *VirtualServiceList) DeepCopyInto(out *VirtualServiceList)

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

func (*VirtualServiceList) DeepCopyObject

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

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

type VirtualServiceProvider

type VirtualServiceProvider struct {
	// The virtual node associated with a virtual service.
	// +optional
	VirtualNode *VirtualNodeServiceProvider `json:"virtualNode,omitempty"`
	// The virtual router associated with a virtual service.
	// +optional
	VirtualRouter *VirtualRouterServiceProvider `json:"virtualRouter,omitempty"`
}

VirtualServiceProvider refers to https://docs.aws.amazon.com/app-mesh/latest/APIReference/API_VirtualServiceProvider.html

func (*VirtualServiceProvider) DeepCopy

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

func (*VirtualServiceProvider) DeepCopyInto

func (in *VirtualServiceProvider) DeepCopyInto(out *VirtualServiceProvider)

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

type VirtualServiceReference

type VirtualServiceReference struct {
	// Namespace is the namespace of VirtualService CR.
	// If unspecified, defaults to the referencing object's namespace
	// +optional
	Namespace *string `json:"namespace,omitempty"`
	// Name is the name of VirtualService CR
	Name string `json:"name"`
}

VirtualServiceReference holds a reference to VirtualService.appmesh.k8s.aws

func (*VirtualServiceReference) DeepCopy

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

func (*VirtualServiceReference) DeepCopyInto

func (in *VirtualServiceReference) DeepCopyInto(out *VirtualServiceReference)

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

type VirtualServiceSpec

type VirtualServiceSpec struct {
	// AWSName is the AppMesh VirtualService object's name.
	// If unspecified or empty, it defaults to be "${name}.${namespace}" of k8s VirtualService
	// +optional
	AWSName *string `json:"awsName,omitempty"`

	// The provider for virtual services. You can specify a single virtual node or virtual router.
	// +optional
	Provider *VirtualServiceProvider `json:"provider,omitempty"`

	// A reference to k8s Mesh CR that this VirtualService belongs to.
	// The admission controller populates it using Meshes's selector, and prevents users from setting this field.
	//
	// Populated by the system.
	// Read-only.
	// +optional
	MeshRef *MeshReference `json:"meshRef,omitempty"`
}

VirtualServiceSpec defines the desired state of VirtualService refers to https://docs.aws.amazon.com/app-mesh/latest/APIReference/API_VirtualServiceSpec.html

func (*VirtualServiceSpec) DeepCopy

func (in *VirtualServiceSpec) DeepCopy() *VirtualServiceSpec

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

func (*VirtualServiceSpec) DeepCopyInto

func (in *VirtualServiceSpec) DeepCopyInto(out *VirtualServiceSpec)

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

type VirtualServiceStatus

type VirtualServiceStatus struct {
	// VirtualServiceARN is the AppMesh VirtualService object's Amazon Resource Name.
	// +optional
	VirtualServiceARN *string `json:"virtualServiceARN,omitempty"`
	// The current VirtualService status.
	// +optional
	Conditions []VirtualServiceCondition `json:"conditions,omitempty"`

	// The generation observed by the VirtualService controller.
	// +optional
	ObservedGeneration *int64 `json:"observedGeneration,omitempty"`
}

VirtualServiceStatus defines the observed state of VirtualService

func (*VirtualServiceStatus) DeepCopy

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

func (*VirtualServiceStatus) DeepCopyInto

func (in *VirtualServiceStatus) DeepCopyInto(out *VirtualServiceStatus)

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

type WeightedTarget

type WeightedTarget struct {
	// Reference to Kubernetes VirtualNode CR in cluster to associate with the weighted target. Exactly one of 'virtualNodeRef' or 'virtualNodeARN' must be specified.
	// +optional
	VirtualNodeRef *VirtualNodeReference `json:"virtualNodeRef,omitempty"`
	// Amazon Resource Name to AppMesh VirtualNode object to associate with the weighted target. Exactly one of 'virtualNodeRef' or 'virtualNodeARN' must be specified.
	// +optional
	VirtualNodeARN *string `json:"virtualNodeARN,omitempty"`
	// The relative weight of the weighted target.
	// +kubebuilder:validation:Minimum=0
	// +kubebuilder:validation:Maximum=100
	Weight int64 `json:"weight"`
}

WeightedTarget refers to https://docs.aws.amazon.com/app-mesh/latest/APIReference/API_WeightedTarget.html

func (*WeightedTarget) DeepCopy

func (in *WeightedTarget) DeepCopy() *WeightedTarget

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

func (*WeightedTarget) DeepCopyInto

func (in *WeightedTarget) DeepCopyInto(out *WeightedTarget)

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