v1beta1

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2022 License: UPL-1.0 Imports: 6 Imported by: 0

Documentation

Overview

Package v1beta1 contains API Schema definitions for the servicemesh.oci v1beta1 API group +kubebuilder:object:generate=true +groupName=servicemesh.oci.oracle.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "servicemesh.oci.oracle.com", Version: "v1beta1"}

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

type AccessLogging struct {
	// Checks whether access path is enabled
	// +optional
	IsEnabled bool `json:"isEnabled,omitempty"`
}

AccessLogging information

func (*AccessLogging) DeepCopy

func (in *AccessLogging) DeepCopy() *AccessLogging

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

func (*AccessLogging) DeepCopyInto

func (in *AccessLogging) DeepCopyInto(out *AccessLogging)

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

type AccessPolicy

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

	Spec   AccessPolicySpec  `json:"spec,omitempty"`
	Status ServiceMeshStatus `json:"status,omitempty"`
}

AccessPolicy is the Schema for the accesspolicies API

func (*AccessPolicy) DeepCopy

func (in *AccessPolicy) DeepCopy() *AccessPolicy

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

func (*AccessPolicy) DeepCopyInto

func (in *AccessPolicy) DeepCopyInto(out *AccessPolicy)

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

func (*AccessPolicy) DeepCopyObject

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

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

type AccessPolicyList

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

AccessPolicyList contains a list of AccessPolicy

func (*AccessPolicyList) DeepCopy

func (in *AccessPolicyList) DeepCopy() *AccessPolicyList

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

func (*AccessPolicyList) DeepCopyInto

func (in *AccessPolicyList) DeepCopyInto(out *AccessPolicyList)

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

func (*AccessPolicyList) DeepCopyObject

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

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

type AccessPolicyRule

type AccessPolicyRule struct {
	Action      ActionType    `json:"action"`
	Source      TrafficTarget `json:"source"`
	Destination TrafficTarget `json:"destination"`
}

Describes the applicable rules for the Access Policy

func (*AccessPolicyRule) DeepCopy

func (in *AccessPolicyRule) DeepCopy() *AccessPolicyRule

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

func (*AccessPolicyRule) DeepCopyInto

func (in *AccessPolicyRule) DeepCopyInto(out *AccessPolicyRule)

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

type AccessPolicySpec

type AccessPolicySpec struct {
	api.TagResources `json:",inline"`
	// +optional
	Name          *Name    `json:"name,omitempty"`
	CompartmentId api.OCID `json:"compartmentId"`
	Mesh          RefOrId  `json:"mesh"`
	// +optional
	Description *Description `json:"description,omitempty"`
	// Access Policy Rules
	// +kubebuilder:validation:MinItems=1
	Rules []AccessPolicyRule `json:"rules,omitempty"`
}

AccessPolicySpec defines the desired state of AccessPolicy

func (*AccessPolicySpec) DeepCopy

func (in *AccessPolicySpec) DeepCopy() *AccessPolicySpec

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

func (*AccessPolicySpec) DeepCopyInto

func (in *AccessPolicySpec) DeepCopyInto(out *AccessPolicySpec)

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

type ActionType

type ActionType string

Indicates the action for the traffic between the source and the destination. +kubebuilder:validation:Enum=ALLOW

const (
	ActionTypeAllow ActionType = "ALLOW"
)

type AllVirtualServices

type AllVirtualServices struct {
}

AllVirtualServices represents all virtual services

func (*AllVirtualServices) DeepCopy

func (in *AllVirtualServices) DeepCopy() *AllVirtualServices

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

func (*AllVirtualServices) DeepCopyInto

func (in *AllVirtualServices) DeepCopyInto(out *AllVirtualServices)

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

type Autoscaling

type Autoscaling struct {
	// Minimum number of pods available for Ingress Gateway Deployment Resource
	// +kubebuilder:validation:Minimum=1
	// +kubebuilder:validation:Required
	MinPods int32 `json:"minPods"`

	// Maximum number of pods available for Ingress Gateway Deployment Resource
	// +kubebuilder:validation:Minimum=1
	// +kubebuilder:validation:Required
	MaxPods int32 `json:"maxPods"`

	// +optional
	Resources *corev1.ResourceRequirements `json:"resources,omitempty"`
}

Contains information about min and max replicas for Ingress Gateway Deployment Resource

func (*Autoscaling) DeepCopy

func (in *Autoscaling) DeepCopy() *Autoscaling

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

func (*Autoscaling) DeepCopyInto

func (in *Autoscaling) DeepCopyInto(out *Autoscaling)

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

type CaBundle

type CaBundle struct {
	// +optional
	OciCaBundle *OciCaBundle `json:"ociCaBundle,omitempty"`
	// +optional
	KubeSecretCaBundle *KubeSecretCaBundle `json:"kubeSecretCaBundle,omitempty"`
}

CaBundle Resource representing the CA bundle

func (*CaBundle) DeepCopy

func (in *CaBundle) DeepCopy() *CaBundle

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

func (*CaBundle) DeepCopyInto

func (in *CaBundle) DeepCopyInto(out *CaBundle)

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

type CertificateAuthority

type CertificateAuthority struct {
	Id api.OCID `json:"id"`
}

CertificateAuthority defines the resource to use for creating leaf certificates.

func (*CertificateAuthority) DeepCopy

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

func (*CertificateAuthority) DeepCopyInto

func (in *CertificateAuthority) DeepCopyInto(out *CertificateAuthority)

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

type CreateVirtualServiceMutualTransportLayerSecurity

type CreateVirtualServiceMutualTransportLayerSecurity struct {

	// DISABLED: Connection is not tunneled.
	// PERMISSIVE: Connection can be either plaintext or an mTLS tunnel.
	// STRICT: Connection is an mTLS tunnel.  Clients without a valid certificate will be rejected.
	Mode MutualTransportLayerSecurityModeEnum `json:"mode"`
}

CreateVirtualServiceMutualTransportLayerSecurity sets the mTLS authentication mode to use when communicating with other virtual services

func (*CreateVirtualServiceMutualTransportLayerSecurity) DeepCopy

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

func (*CreateVirtualServiceMutualTransportLayerSecurity) DeepCopyInto

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

type DefaultRoutingPolicy

type DefaultRoutingPolicy struct {
	Type RoutingPolicy `json:"type"`
}

Routing policy for the Virtual Service

func (*DefaultRoutingPolicy) DeepCopy

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

func (*DefaultRoutingPolicy) DeepCopyInto

func (in *DefaultRoutingPolicy) DeepCopyInto(out *DefaultRoutingPolicy)

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

type Description

type Description string

Description of the resource +kubebuilder:validation:MaxLength=400

type ExternalService

type ExternalService struct {
	// +optional
	TcpExternalService *TcpExternalService `json:"tcpExternalService,omitempty"`
	// +optional
	HttpExternalService *HttpExternalService `json:"httpExternalService,omitempty"`
	// +optional
	HttpsExternalService *HttpsExternalService `json:"httpsExternalService,omitempty"`
}

ExternalService represents anything running outside of the mesh. Only 1 of the following fields can be specified.

func (*ExternalService) DeepCopy

func (in *ExternalService) DeepCopy() *ExternalService

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

func (*ExternalService) DeepCopyInto

func (in *ExternalService) DeepCopyInto(out *ExternalService)

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

type GatewayListener

type GatewayListener struct {
	// Type of protocol used in resource
	Protocol corev1.Protocol `json:"protocol"`

	Port *int32 `json:"port"`

	ServicePort *int32 `json:"serviceport,omitempty"`

	Name string `json:"name,omitempty" protobuf:"bytes,1,opt,name=name"`
}

func (*GatewayListener) DeepCopy

func (in *GatewayListener) DeepCopy() *GatewayListener

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

func (*GatewayListener) DeepCopyInto

func (in *GatewayListener) DeepCopyInto(out *GatewayListener)

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

type HttpExternalService

type HttpExternalService struct {
	// IpAddresses of the external service in CIDR notation.
	// +kubebuilder:validation:MinItems=1
	Hostnames []string `json:"hostnames,omitempty"`
	// Ports exposed by the external service. If left empty all ports will be allowed.
	// +optional
	Ports []Port `json:"ports,omitempty"`
}

func (*HttpExternalService) DeepCopy

func (in *HttpExternalService) DeepCopy() *HttpExternalService

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

func (*HttpExternalService) DeepCopyInto

func (in *HttpExternalService) DeepCopyInto(out *HttpExternalService)

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

type HttpIngressGatewayTrafficRouteRule

type HttpIngressGatewayTrafficRouteRule struct {

	// +optional
	IngressGatewayHost *IngressGatewayHostRef `json:"ingressGatewayHost,omitempty"`

	// The destination of the request.
	// +kubebuilder:validation:MinItems=1
	Destinations []VirtualServiceTrafficRuleTarget `json:"destinations"`

	// Route to match
	// +optional
	Path *string `json:"path,omitempty"`

	// If true, the rule will check that the content-type header has a application/grpc
	// or one of the various application/grpc+ values.
	// +optional
	// +kubebuilder:default:= false
	IsGrpc *bool `json:"isGrpc,omitempty"`

	// Match type for the route
	// +optional
	PathType HttpIngressGatewayTrafficRouteRulePathTypeEnum `json:"pathType,omitempty"`

	// If true, the hostname will be rewritten to the target virtual deployment's DNS hostname.
	// +optional
	// +kubebuilder:default:= false
	IsHostRewriteEnabled *bool `json:"isHostRewriteEnabled,omitempty"`

	// If true, the matched path prefix will be rewritten to '/' before being directed to the target virtual deployment.
	// +optional
	// +kubebuilder:default:= false
	IsPathRewriteEnabled *bool `json:"isPathRewriteEnabled,omitempty"`
}

HttpIngressGatewayTrafficRouteRule Rule for routing incoming ingress gateway traffic with HTTP protocol

func (*HttpIngressGatewayTrafficRouteRule) DeepCopy

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

func (*HttpIngressGatewayTrafficRouteRule) DeepCopyInto

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

type HttpIngressGatewayTrafficRouteRulePathTypeEnum

type HttpIngressGatewayTrafficRouteRulePathTypeEnum string

HttpIngressGatewayTrafficRouteRulePathTypeEnum Enum with underlying type: string +kubebuilder:validation:Enum=PREFIX

const (
	HttpIngressGatewayTrafficRouteRulePathTypePrefix HttpIngressGatewayTrafficRouteRulePathTypeEnum = "PREFIX"
)

Set of constants representing the allowable values for HttpIngressGatewayTrafficRouteRulePathTypeEnum

type HttpVirtualServiceTrafficRouteRule

type HttpVirtualServiceTrafficRouteRule struct {

	// The destination of the request.
	// +kubebuilder:validation:MinItems=1
	Destinations []VirtualDeploymentTrafficRuleTarget `json:"destinations"`

	// Route to match
	// +optional
	Path *string `json:"path,omitempty"`

	// If true, the rule will check that the content-type header has a application/grpc
	// or one of the various application/grpc+ values.
	// +optional
	// +kubebuilder:default:= false
	IsGrpc *bool `json:"isGrpc,omitempty"`

	// Match type for the route
	// +optional
	PathType HttpVirtualServiceTrafficRouteRulePathTypeEnum `json:"pathType,omitempty"`
}

HttpVirtualServiceTrafficRouteRule Rule for routing incoming Virtual Service traffic with HTTP protocol

func (*HttpVirtualServiceTrafficRouteRule) DeepCopy

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

func (*HttpVirtualServiceTrafficRouteRule) DeepCopyInto

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

type HttpVirtualServiceTrafficRouteRulePathTypeEnum

type HttpVirtualServiceTrafficRouteRulePathTypeEnum string

HttpVirtualServiceTrafficRouteRulePathTypeEnum Enum with underlying type: string +kubebuilder:validation:Enum=PREFIX

const (
	HttpVirtualServiceTrafficRouteRulePathTypePrefix HttpVirtualServiceTrafficRouteRulePathTypeEnum = "PREFIX"
)

Set of constants representing the allowable values for HttpVirtualServiceTrafficRouteRulePathTypeEnum

type HttpsExternalService

type HttpsExternalService struct {
	// IpAddresses of the external service in CIDR notation.
	// +kubebuilder:validation:MinItems=1
	Hostnames []string `json:"hostnames,omitempty"`
	// Ports exposed by the external service. If left empty all ports will be allowed.
	// +optional
	Ports []Port `json:"ports,omitempty"`
}

func (*HttpsExternalService) DeepCopy

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

func (*HttpsExternalService) DeepCopyInto

func (in *HttpsExternalService) DeepCopyInto(out *HttpsExternalService)

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

type IngressDeployment

type IngressDeployment struct {
	// +kubebuilder:validation:Required
	Autoscaling *Autoscaling `json:"autoscaling"`

	// +optional
	Labels map[string]string `json:"labels,omitempty" protobuf:"bytes,11,rep,name=labels"`
}

func (*IngressDeployment) DeepCopy

func (in *IngressDeployment) DeepCopy() *IngressDeployment

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

func (*IngressDeployment) DeepCopyInto

func (in *IngressDeployment) DeepCopyInto(out *IngressDeployment)

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

type IngressGateway

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

	Spec   IngressGatewaySpec `json:"spec,omitempty"`
	Status ServiceMeshStatus  `json:"status,omitempty"`
}

IngressGateway is the Schema for the ingressgateways API

func (*IngressGateway) DeepCopy

func (in *IngressGateway) DeepCopy() *IngressGateway

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

func (*IngressGateway) DeepCopyInto

func (in *IngressGateway) DeepCopyInto(out *IngressGateway)

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

func (*IngressGateway) DeepCopyObject

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

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

type IngressGatewayDeployment

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

	Spec   IngressGatewayDeploymentSpec `json:"spec,omitempty"`
	Status ServiceMeshStatus            `json:"status,omitempty"`
}

IngressGatewayDeployment is the Schema for the ingressgatewaydeployments API

func (*IngressGatewayDeployment) DeepCopy

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

func (*IngressGatewayDeployment) DeepCopyInto

func (in *IngressGatewayDeployment) DeepCopyInto(out *IngressGatewayDeployment)

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

func (*IngressGatewayDeployment) DeepCopyObject

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

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

type IngressGatewayDeploymentList

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

IngressGatewayDeploymentList contains a list of IngressGatewayDeployment

func (*IngressGatewayDeploymentList) DeepCopy

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

func (*IngressGatewayDeploymentList) DeepCopyInto

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

func (*IngressGatewayDeploymentList) DeepCopyObject

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

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

type IngressGatewayDeploymentSpec

type IngressGatewayDeploymentSpec struct {
	// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
	IngressGateway RefOrId `json:"ingressGateway"`

	// +kubebuilder:validation:Required
	Deployment IngressDeployment `json:"deployment"`

	// +kubebuilder:validation:Required
	Ports []GatewayListener `json:"ports"`

	// +optional
	Service *IngressGatewayService `json:"service,omitempty"`

	// +optional
	Secrets []SecretReference `json:"secrets,omitempty"`
}

IngressGatewayDeploymentSpec defines the desired state of IngressGatewayDeployment

func (*IngressGatewayDeploymentSpec) DeepCopy

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

func (*IngressGatewayDeploymentSpec) DeepCopyInto

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

type IngressGatewayHost

type IngressGatewayHost struct {
	// A user-friendly name for the host. The name must be unique within the same ingress gateway.
	// This name can be used in the ingress gateway route table resource to attach a route to this host.
	Name Name `json:"name"`
	// Hostnames of the host.
	// Wildcard hostnames are supported in the prefix form.
	// Examples of valid hostnames are www.example.com, *.example.com, *.com
	// Applicable only for HTTP and TLS_PASSTHROUGH listeners.
	// +optional
	Hostnames []string `json:"hostnames,omitempty"`
	// The listeners for the ingress host
	// +kubebuilder:validation:MinItems=1
	Listeners []IngressGatewayListener `json:"listeners"`
}

IngressGatewayHost Host for the ingress gateway

func (*IngressGatewayHost) DeepCopy

func (in *IngressGatewayHost) DeepCopy() *IngressGatewayHost

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

func (*IngressGatewayHost) DeepCopyInto

func (in *IngressGatewayHost) DeepCopyInto(out *IngressGatewayHost)

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

type IngressGatewayHostRef

type IngressGatewayHostRef struct {
	// Name of the ingress gateway host
	Name Name `json:"name"`
	// Port of the ingress gateway host to select. Leave empty to select all ports of the host.
	// +optional
	Port *Port `json:"port,omitempty"`
}

IngressGatewayHostRef The ingress gateway host to which the route rule attaches. If not specified, the route rule gets attached to all hosts on the ingress gateway.

func (*IngressGatewayHostRef) DeepCopy

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

func (*IngressGatewayHostRef) DeepCopyInto

func (in *IngressGatewayHostRef) DeepCopyInto(out *IngressGatewayHostRef)

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

type IngressGatewayList

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

IngressGatewayList contains a list of IngressGateway

func (*IngressGatewayList) DeepCopy

func (in *IngressGatewayList) DeepCopy() *IngressGatewayList

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

func (*IngressGatewayList) DeepCopyInto

func (in *IngressGatewayList) DeepCopyInto(out *IngressGatewayList)

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

func (*IngressGatewayList) DeepCopyObject

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

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

type IngressGatewayListener

type IngressGatewayListener struct {
	// Type of protocol used in resource
	Protocol IngressGatewayListenerProtocolEnum `json:"protocol"`
	// Port in which resource is running
	Port Port `json:"port"`
	// +optional
	Tls *IngressListenerTlsConfig `json:"tls,omitempty"`
}

Listener configuration for ingress gateway host

func (*IngressGatewayListener) DeepCopy

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

func (*IngressGatewayListener) DeepCopyInto

func (in *IngressGatewayListener) DeepCopyInto(out *IngressGatewayListener)

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

type IngressGatewayListenerProtocolEnum

type IngressGatewayListenerProtocolEnum string

IngressGatewayListenerProtocolEnum Enum with underlying type: string +kubebuilder:validation:Enum=HTTP;TCP;TLS_PASSTHROUGH

const (
	IngressGatewayListenerProtocolHttp           IngressGatewayListenerProtocolEnum = "HTTP"
	IngressGatewayListenerProtocolTcp            IngressGatewayListenerProtocolEnum = "TCP"
	IngressGatewayListenerProtocolTlsPassthrough IngressGatewayListenerProtocolEnum = "TLS_PASSTHROUGH"
)

Set of constants representing the allowable values for IngressGatewayListenerProtocolEnum

type IngressGatewayMutualTransportLayerSecurity

type IngressGatewayMutualTransportLayerSecurity struct {
	// The OCID of the certificate resource that will be used for mTLS authentication with other virtual services
	// in the mesh.
	CertificateId api.OCID `json:"certificateId"`
}

IngressGatewayMutualTransportLayerSecurity sets mTLS settings used when sending requests to virtual services within the mesh.

func (*IngressGatewayMutualTransportLayerSecurity) DeepCopy

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

func (*IngressGatewayMutualTransportLayerSecurity) DeepCopyInto

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

type IngressGatewayRouteTable

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

	Spec   IngressGatewayRouteTableSpec `json:"spec,omitempty"`
	Status ServiceMeshStatus            `json:"status,omitempty"`
}

IngressGatewayRouteTable is the Schema for the ingressgatewayroutetables API

func (*IngressGatewayRouteTable) DeepCopy

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

func (*IngressGatewayRouteTable) DeepCopyInto

func (in *IngressGatewayRouteTable) DeepCopyInto(out *IngressGatewayRouteTable)

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

func (*IngressGatewayRouteTable) DeepCopyObject

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

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

type IngressGatewayRouteTableList

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

IngressGatewayRouteTableList contains a list of IngressGatewayRouteTable

func (*IngressGatewayRouteTableList) DeepCopy

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

func (*IngressGatewayRouteTableList) DeepCopyInto

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

func (*IngressGatewayRouteTableList) DeepCopyObject

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

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

type IngressGatewayRouteTableSpec

type IngressGatewayRouteTableSpec struct {
	api.TagResources `json:",inline"`
	// +optional
	Name          *Name    `json:"name,omitempty"`
	CompartmentId api.OCID `json:"compartmentId"`
	// +optional
	Description    *Description `json:"description,omitempty"`
	IngressGateway RefOrId      `json:"ingressGateway"`
	// +kubebuilder:validation:MinItems=1
	RouteRules []IngressGatewayTrafficRouteRule `json:"routeRules"`
	// +optional
	Priority *int `json:"priority,omitempty"`
}

IngressGatewayRouteTableSpec defines the desired state of IngressGatewayRouteTable

func (*IngressGatewayRouteTableSpec) DeepCopy

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

func (*IngressGatewayRouteTableSpec) DeepCopyInto

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

type IngressGatewayService

type IngressGatewayService struct {

	// +kubebuilder:validation:Enum=LoadBalancer;NodePort;ClusterIP
	Type corev1.ServiceType `json:"type"`

	// Map of string keys and values that can be used to organize and categorize
	// (scope and select) objects. May match selectors of replication controllers
	// and services.
	// More info: http://kubernetes.io/docs/user-guide/labels
	// +optional
	Labels map[string]string `json:"labels,omitempty" protobuf:"bytes,11,rep,name=labels"`

	// Annotations is an unstructured key value map stored with a resource that may be
	// set by external tools to store and retrieve arbitrary metadata. They are not
	// queryable and should be preserved when modifying objects.
	// More info: http://kubernetes.io/docs/user-guide/annotations
	// +optional
	Annotations map[string]string `json:"annotations,omitempty"`
}

func (*IngressGatewayService) DeepCopy

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

func (*IngressGatewayService) DeepCopyInto

func (in *IngressGatewayService) DeepCopyInto(out *IngressGatewayService)

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

type IngressGatewaySpec

type IngressGatewaySpec struct {
	api.TagResources `json:",inline"`
	// +optional
	Name          *Name    `json:"name,omitempty"`
	CompartmentId api.OCID `json:"compartmentId"`
	Mesh          RefOrId  `json:"mesh"`
	// +optional
	Description *Description `json:"description,omitempty"`
	// +optional
	AccessLogging *AccessLogging `json:"accessLogging,omitempty"`
	// +kubebuilder:validation:MinItems=1
	Hosts []IngressGatewayHost `json:"hosts"`
}

IngressGatewaySpec defines the desired state of IngressGateway

func (*IngressGatewaySpec) DeepCopy

func (in *IngressGatewaySpec) DeepCopy() *IngressGatewaySpec

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

func (*IngressGatewaySpec) DeepCopyInto

func (in *IngressGatewaySpec) DeepCopyInto(out *IngressGatewaySpec)

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

type IngressGatewayTrafficRouteRule

type IngressGatewayTrafficRouteRule struct {
	// +optional
	HttpRoute *HttpIngressGatewayTrafficRouteRule `json:"httpRoute,omitempty"`
	// +optional
	TcpRoute *TcpIngressGatewayTrafficRouteRule `json:"tcpRoute,omitempty"`
	// +optional
	TlsPassthroughRoute *TlsPassthroughIngressGatewayTrafficRouteRule `json:"tlsPassthroughRoute,omitempty"`
}

Route rules for the ingress traffic

func (*IngressGatewayTrafficRouteRule) DeepCopy

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

func (*IngressGatewayTrafficRouteRule) DeepCopyInto

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

type IngressHostClientValidationConfig

type IngressHostClientValidationConfig struct {
	// +optional
	TrustedCaBundle *CaBundle `json:"trustedCaBundle,omitempty"`

	// A list of alternate names to verify the subject identity in the certificate presented by the client.
	// +optional
	SubjectAlternateNames []string `json:"subjectAlternateNames,omitempty"`
}

IngressHostClientValidationConfig Resource representing the TLS configuration used for validating client certificates.

func (*IngressHostClientValidationConfig) DeepCopy

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

func (*IngressHostClientValidationConfig) DeepCopyInto

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

type IngressListenerTlsConfig

type IngressListenerTlsConfig struct {

	// DISABLED: Connection can only be plaintext
	// PERMISSIVE: Connection can be either plaintext or TLS/mTLS. If the clientValidation.trustedCaBundle property is configured for the listener, mTLS will be performed and the client's certificates will be validated by the gateway.
	// TLS: Connection can only be TLS
	// MUTUAL_TLS: Connection can only be MTLS
	Mode IngressListenerTlsConfigModeEnum `json:"mode"`
	// +optional
	ServerCertificate *TlsCertificate `json:"serverCertificate,omitempty"`
	// +optional
	ClientValidation *IngressHostClientValidationConfig `json:"clientValidation,omitempty"`
}

IngressListenerTlsConfig TLS enforcement config for the ingress listener

func (*IngressListenerTlsConfig) DeepCopy

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

func (*IngressListenerTlsConfig) DeepCopyInto

func (in *IngressListenerTlsConfig) DeepCopyInto(out *IngressListenerTlsConfig)

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

type IngressListenerTlsConfigModeEnum

type IngressListenerTlsConfigModeEnum string

IngressListenerTlsConfigModeEnum Enum with underlying type: string +kubebuilder:validation:Enum=DISABLED;PERMISSIVE;TLS;MUTUAL_TLS

const (
	IngressListenerTlsConfigModeDisabled   IngressListenerTlsConfigModeEnum = "DISABLED"
	IngressListenerTlsConfigModePermissive IngressListenerTlsConfigModeEnum = "PERMISSIVE"
	IngressListenerTlsConfigModeTls        IngressListenerTlsConfigModeEnum = "TLS"
	IngressListenerTlsConfigModeMutualTls  IngressListenerTlsConfigModeEnum = "MUTUAL_TLS"
)

Set of constants representing the allowable values for IngressListenerTlsConfigModeEnum

type KubeSecretCaBundle

type KubeSecretCaBundle struct {
	// The name of the kubernetes secret for CA Bundle resource.
	SecretName string `json:"secretName"`
}

KubeSecretCaBundle CA Bundle from kubernetes secrets

func (*KubeSecretCaBundle) DeepCopy

func (in *KubeSecretCaBundle) DeepCopy() *KubeSecretCaBundle

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

func (*KubeSecretCaBundle) DeepCopyInto

func (in *KubeSecretCaBundle) DeepCopyInto(out *KubeSecretCaBundle)

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

type KubeSecretTlsCertificate

type KubeSecretTlsCertificate struct {
	// The name of the leaf certificate kubernetes secret.
	SecretName string `json:"secretName"`
}

KubeSecretTlsCertificate TLS certificate from kubernetes secrets

func (*KubeSecretTlsCertificate) DeepCopy

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

func (*KubeSecretTlsCertificate) DeepCopyInto

func (in *KubeSecretTlsCertificate) DeepCopyInto(out *KubeSecretTlsCertificate)

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

type Listener

type Listener struct {
	// Type of protocol used in resource
	Protocol ProtocolType `json:"protocol"`
	// Port in which resource is running
	Port Port `json:"port"`
}

Listener configuration for a resource

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 Mesh

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

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

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 MeshList

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

+kubebuilder:object:root=true 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 MeshMutualTransportLayerSecurity

type MeshMutualTransportLayerSecurity struct {

	// DISABLED: No minimum, virtual services within this mesh can use any mTLS authentication mode.
	// PERMISSIVE: Virtual services within this mesh can use either PERMISSIVE or STRICT modes.
	// STRICT: All virtual services within this mesh must use STRICT mode.
	Minimum MutualTransportLayerSecurityModeEnum `json:"minimum"`
}

MeshMutualTransportLayerSecurity sets a minimum level of mTLS authentication for all virtual services within the mesh

func (*MeshMutualTransportLayerSecurity) DeepCopy

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

func (*MeshMutualTransportLayerSecurity) DeepCopyInto

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

type MeshSpec

type MeshSpec struct {
	api.TagResources `json:",inline"`
	// +optional
	DisplayName *Name `json:"displayName,omitempty"`
	// The compartment id for the resource
	CompartmentId api.OCID `json:"compartmentId"`
	// +optional
	Description *Description `json:"description,omitempty"`
	// +kubebuilder:validation:MinItems=1
	CertificateAuthorities []CertificateAuthority `json:"certificateAuthorities"`
	// +optional
	Mtls *MeshMutualTransportLayerSecurity `json:"mtls,omitempty"`
}

MeshSpec defines the desired state of Mesh

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 MutualTransportLayerSecurityModeEnum

type MutualTransportLayerSecurityModeEnum string

Describes the Mutual Transport Layer Security mode for a resource Only one of the following mode should be present +kubebuilder:validation:Enum=DISABLED;PERMISSIVE;STRICT

const (
	MutualTransportLayerSecurityModeDisabled   MutualTransportLayerSecurityModeEnum = "DISABLED"
	MutualTransportLayerSecurityModePermissive MutualTransportLayerSecurityModeEnum = "PERMISSIVE"
	MutualTransportLayerSecurityModeStrict     MutualTransportLayerSecurityModeEnum = "STRICT"
)

type Name

type Name string

Name of the resource +kubebuilder:validation:MaxLength=255 +kubebuilder:validation:MinLength=1

type OciCaBundle

type OciCaBundle struct {
	// The OCID of the CA Bundle resource.
	CaBundleId v1beta1.OCID `json:"caBundleId"`
}

OciCaBundle CA Bundle from OCI Certificates service

func (*OciCaBundle) DeepCopy

func (in *OciCaBundle) DeepCopy() *OciCaBundle

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

func (*OciCaBundle) DeepCopyInto

func (in *OciCaBundle) DeepCopyInto(out *OciCaBundle)

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

type OciTlsCertificate

type OciTlsCertificate struct {
	// The OCID of the leaf certificate resource.
	CertificateId v1beta1.OCID `json:"certificateId"`
}

OciTlsCertificate TLS certificate from OCI Certificates service

func (*OciTlsCertificate) DeepCopy

func (in *OciTlsCertificate) DeepCopy() *OciTlsCertificate

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

func (*OciTlsCertificate) DeepCopyInto

func (in *OciTlsCertificate) DeepCopyInto(out *OciTlsCertificate)

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

type Port

type Port int32

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

type ProtocolType

type ProtocolType string

Describes the Protocol type for a resource Only one of the following protocol type should be present +kubebuilder:validation:Enum=HTTP;HTTP2;GRPC;TCP;TLS_PASSTHROUGH

const (
	ProtocolTypeHttp           ProtocolType = "HTTP"
	ProtocolTypeHttp2          ProtocolType = "HTTP2"
	ProtocolTypeGrpc           ProtocolType = "GRPC"
	ProtocolTypeTcp            ProtocolType = "TCP"
	ProtocolTypeTlsPassthrough ProtocolType = "TLS_PASSTHROUGH"
)

type RefOrId

type RefOrId struct {
	// +optional
	*ResourceRef `json:"ref,omitempty"`
	// +optional
	Id v1beta1.OCID `json:"id,omitempty"`
}

A reference to CR that a resource belongs to

func (*RefOrId) DeepCopy

func (in *RefOrId) DeepCopy() *RefOrId

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

func (*RefOrId) DeepCopyInto

func (in *RefOrId) DeepCopyInto(out *RefOrId)

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

type ResourceCondition

type ResourceCondition struct {
	// status of the condition, one of True, False, Unknown.
	// +required
	// +kubebuilder:validation:Required
	// +kubebuilder:validation:Enum=True;False;Unknown
	Status metav1.ConditionStatus `json:"status"`
	// observedGeneration represents the .metadata.generation that the condition was set based upon.
	// For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
	// with respect to the current state of the instance.
	// +optional
	// +kubebuilder:validation:Minimum=0
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// lastTransitionTime is the last time the condition transitioned from one status to another.
	// +required
	// +kubebuilder:validation:Required
	// +kubebuilder:validation:Type=string
	// +kubebuilder:validation:Format=date-time
	LastTransitionTime *metav1.Time `json:"lastTransitionTime"`
	// reason contains a programmatic identifier indicating the reason for the condition's last transition.
	// The value should be a CamelCase string.
	// This field may not be empty.
	// +required
	// +kubebuilder:validation:Required
	// +kubebuilder:validation:MaxLength=1024
	// +kubebuilder:validation:MinLength=1
	// +kubebuilder:validation:Pattern=`^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$`
	Reason string `json:"reason"`
	// message is a human readable message indicating details about the transition.
	// This may be an empty string.
	// +required
	// +kubebuilder:validation:Required
	// +kubebuilder:validation:MaxLength=32768
	Message string `json:"message"`
}

The base Resource condition

func (*ResourceCondition) DeepCopy

func (in *ResourceCondition) DeepCopy() *ResourceCondition

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

func (*ResourceCondition) DeepCopyInto

func (in *ResourceCondition) DeepCopyInto(out *ResourceCondition)

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

type ResourceRef

type ResourceRef struct {
	// Name of the referenced CR
	Name Name `json:"name"`
	// Namespace of the referenced CR
	// If unspecified, defaults to the referencing object's namespace
	// +optional
	// +kubebuilder:validation:MinLength=1
	Namespace string `json:"namespace,omitempty"`
}

Type representing the reference to a CR

func (*ResourceRef) DeepCopy

func (in *ResourceRef) DeepCopy() *ResourceRef

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

func (*ResourceRef) DeepCopyInto

func (in *ResourceRef) DeepCopyInto(out *ResourceRef)

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

type RoutingPolicy

type RoutingPolicy string

Describes the Routing policy for the resource Only one of the following policy should be present. +kubebuilder:validation:Enum=UNIFORM;DENY

const (
	RoutingPolicyUniform RoutingPolicy = "UNIFORM"
	RoutingPolicyDeny    RoutingPolicy = "DENY"
)

type SecretReference

type SecretReference struct {
	// name of the secret, this secret should reside in the same namespace as the gateway
	SecretName string `json:"secretName"`
}

Reference to kubernetes secret containing tls certificates/trust-chains for ingress gateway

func (*SecretReference) DeepCopy

func (in *SecretReference) DeepCopy() *SecretReference

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

func (*SecretReference) DeepCopyInto

func (in *SecretReference) DeepCopyInto(out *SecretReference)

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

type Service

type Service struct {
	ServiceRef ResourceRef `json:"ref"`
	// matchLabels is a map of {key,value} pairs.
	// +optional
	MatchLabels map[string]string `json:"matchLabels,omitempty"`
}

A reference to Service that a resource belongs to.

func (*Service) DeepCopy

func (in *Service) DeepCopy() *Service

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

func (*Service) DeepCopyInto

func (in *Service) DeepCopyInto(out *Service)

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

type ServiceDiscovery

type ServiceDiscovery struct {
	Type     ServiceDiscoveryType `json:"type"`
	Hostname string               `json:"hostname,omitempty"`
}

ServiceDiscovery configuration for Virtual Deployment

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 ServiceDiscoveryType

type ServiceDiscoveryType string

Describes the ServiceDiscoveryType for Virtual Deployment Only one of the following type should be present. +kubebuilder:validation:Enum=DNS;

const (
	ServiceDiscoveryTypeDns ServiceDiscoveryType = "DNS"
)

type ServiceMeshCondition

type ServiceMeshCondition struct {
	// Type of Service mesh condition.
	// +required
	// +kubebuilder:validation:Required
	Type              ServiceMeshConditionType `json:"type"`
	ResourceCondition `json:",inline"`
}

Indicates the condition of the Service mesh resource

func (*ServiceMeshCondition) DeepCopy

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

func (*ServiceMeshCondition) DeepCopyInto

func (in *ServiceMeshCondition) DeepCopyInto(out *ServiceMeshCondition)

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

type ServiceMeshConditionType

type ServiceMeshConditionType string

+kubebuilder:validation:Enum=ServiceMeshActive;ServiceMeshDependenciesActive;ServiceMeshConfigured

const (
	// Indicates whether the service mesh resource is active in the control-plane
	ServiceMeshActive ServiceMeshConditionType = "ServiceMeshActive"
	// Indicates whether the service mesh resource dependencies are in the Active state
	ServiceMeshDependenciesActive ServiceMeshConditionType = "ServiceMeshDependenciesActive"
	// Indicates whether the service mesh resource is configured in the mesh Control Plane
	ServiceMeshConfigured ServiceMeshConditionType = "ServiceMeshConfigured"
)

type ServiceMeshStatus

type ServiceMeshStatus struct {
	MeshId                      v1beta1.OCID                                `json:"meshId,omitempty"`
	VirtualServiceId            v1beta1.OCID                                `json:"virtualServiceId,omitempty"`
	VirtualServiceName          Name                                        `json:"virtualServiceName,omitempty"`
	VirtualDeploymentId         v1beta1.OCID                                `json:"virtualDeploymentId,omitempty"`
	VirtualDeploymentName       Name                                        `json:"virtualDeploymentName,omitempty"`
	VirtualServiceRouteTableId  v1beta1.OCID                                `json:"virtualServiceRouteTableId,omitempty"`
	AccessPolicyId              v1beta1.OCID                                `json:"accessPolicyId,omitempty"`
	RefIdForRules               []map[string]v1beta1.OCID                   `json:"refIdForRules,omitempty"`
	IngressGatewayId            v1beta1.OCID                                `json:"ingressGatewayId,omitempty"`
	IngressGatewayName          Name                                        `json:"ingressGatewayName,omitempty"`
	IngressGatewayRouteTableId  v1beta1.OCID                                `json:"ingressGatewayRouteTableId,omitempty"`
	VirtualServiceIdForRules    [][]v1beta1.OCID                            `json:"virtualServiceIdForRules,omitempty"`
	VirtualDeploymentIdForRules [][]v1beta1.OCID                            `json:"virtualDeploymentIdForRules,omitempty"`
	MeshMtls                    *MeshMutualTransportLayerSecurity           `json:"meshMtls,omitempty"`
	VirtualServiceMtls          *VirtualServiceMutualTransportLayerSecurity `json:"virtualServiceMtls,omitempty"`
	IngressGatewayMtls          *IngressGatewayMutualTransportLayerSecurity `json:"ingressGatewayMtls,omitempty"`
	Conditions                  []ServiceMeshCondition                      `json:"conditions,omitempty"`
	OpcRetryToken               *string                                     `json:"opcRetryToken,omitempty"`
	LastUpdatedTime             *metav1.Time                                `json:"lastUpdatedTime,omitempty"`
}

func (*ServiceMeshStatus) DeepCopy

func (in *ServiceMeshStatus) DeepCopy() *ServiceMeshStatus

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

func (*ServiceMeshStatus) DeepCopyInto

func (in *ServiceMeshStatus) DeepCopyInto(out *ServiceMeshStatus)

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

type Target

type Target struct {
	Service Service `json:"service"`
}

Target identifies the Virtual Deployment for a Virtual Deployment Binding

func (*Target) DeepCopy

func (in *Target) DeepCopy() *Target

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

func (*Target) DeepCopyInto

func (in *Target) DeepCopyInto(out *Target)

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

type TcpExternalService

type TcpExternalService struct {
	// IpAddresses of the external service in CIDR notation.
	// +kubebuilder:validation:MinItems=1
	IpAddresses []string `json:"ipAddresses,omitempty"`
	// Ports exposed by the external service. If left empty all ports will be allowed.
	// +optional
	Ports []Port `json:"ports,omitempty"`
}

func (*TcpExternalService) DeepCopy

func (in *TcpExternalService) DeepCopy() *TcpExternalService

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

func (*TcpExternalService) DeepCopyInto

func (in *TcpExternalService) DeepCopyInto(out *TcpExternalService)

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

type TcpIngressGatewayTrafficRouteRule

type TcpIngressGatewayTrafficRouteRule struct {

	// +optional
	IngressGatewayHost *IngressGatewayHostRef `json:"ingressGatewayHost,omitempty"`

	// The destination of the request.
	// +kubebuilder:validation:MinItems=1
	Destinations []VirtualServiceTrafficRuleTarget `json:"destinations"`
}

TcpIngressGatewayTrafficRouteRule Rule for routing incoming ingress gateway traffic with TCP protocol

func (*TcpIngressGatewayTrafficRouteRule) DeepCopy

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

func (*TcpIngressGatewayTrafficRouteRule) DeepCopyInto

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

type TcpVirtualServiceTrafficRouteRule

type TcpVirtualServiceTrafficRouteRule struct {
	// The destination of the request.
	// +kubebuilder:validation:MinItems=1
	Destinations []VirtualDeploymentTrafficRuleTarget `json:"destinations"`
}

func (*TcpVirtualServiceTrafficRouteRule) DeepCopy

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

func (*TcpVirtualServiceTrafficRouteRule) DeepCopyInto

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

type TlsCertificate

type TlsCertificate struct {
	// +optional
	OciTlsCertificate *OciTlsCertificate `json:"ociTlsCertificate,omitempty"`
	// +optional
	KubeSecretTlsCertificate *KubeSecretTlsCertificate `json:"kubeSecretTlsCertificate,omitempty"`
}

TlsCertificate Resource representing the location of the TLS certificate

func (*TlsCertificate) DeepCopy

func (in *TlsCertificate) DeepCopy() *TlsCertificate

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

func (*TlsCertificate) DeepCopyInto

func (in *TlsCertificate) DeepCopyInto(out *TlsCertificate)

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

type TlsPassthroughIngressGatewayTrafficRouteRule

type TlsPassthroughIngressGatewayTrafficRouteRule struct {

	// +optional
	IngressGatewayHost *IngressGatewayHostRef `json:"ingressGatewayHost,omitempty"`

	// The destination of the request.
	// +kubebuilder:validation:MinItems=1
	Destinations []VirtualServiceTrafficRuleTarget `json:"destinations"`
}

TlsPassthroughIngressGatewayTrafficRouteRule Rule for routing incoming ingress gateway traffic with TLS_PASSTHROUGH protocol

func (*TlsPassthroughIngressGatewayTrafficRouteRule) DeepCopy

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

func (*TlsPassthroughIngressGatewayTrafficRouteRule) DeepCopyInto

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

type TlsPassthroughVirtualServiceTrafficRouteRule

type TlsPassthroughVirtualServiceTrafficRouteRule struct {
	// The destination of the request.
	// +kubebuilder:validation:MinItems=1
	Destinations []VirtualDeploymentTrafficRuleTarget `json:"destinations"`
}

func (*TlsPassthroughVirtualServiceTrafficRouteRule) DeepCopy

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

func (*TlsPassthroughVirtualServiceTrafficRouteRule) DeepCopyInto

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

type TrafficTarget

type TrafficTarget struct {
	// +optional
	AllVirtualServices *AllVirtualServices `json:"allVirtualServices,omitempty"`
	// +optional
	VirtualService *RefOrId `json:"virtualService,omitempty"`
	// +optional
	ExternalService *ExternalService `json:"externalService,omitempty"`
	// +optional
	IngressGateway *RefOrId `json:"ingressGateway,omitempty"`
}

Describes the target of the traffic. This can either be the source or the destination of the traffic. Only 1 of the following fields can be specified.

func (*TrafficTarget) DeepCopy

func (in *TrafficTarget) DeepCopy() *TrafficTarget

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

func (*TrafficTarget) DeepCopyInto

func (in *TrafficTarget) DeepCopyInto(out *TrafficTarget)

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

type VirtualDeployment

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

	Spec   VirtualDeploymentSpec `json:"spec,omitempty"`
	Status ServiceMeshStatus     `json:"status,omitempty"`
}

VirtualDeployment is the Schema for the virtualdeployments API

func (*VirtualDeployment) DeepCopy

func (in *VirtualDeployment) DeepCopy() *VirtualDeployment

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

func (*VirtualDeployment) DeepCopyInto

func (in *VirtualDeployment) DeepCopyInto(out *VirtualDeployment)

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

func (*VirtualDeployment) DeepCopyObject

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

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

type VirtualDeploymentBinding

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

	Spec   VirtualDeploymentBindingSpec `json:"spec,omitempty"`
	Status ServiceMeshStatus            `json:"status,omitempty"`
}

VirtualDeploymentBinding is the Schema for the virtualdeploymentbindings API

func (*VirtualDeploymentBinding) DeepCopy

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

func (*VirtualDeploymentBinding) DeepCopyInto

func (in *VirtualDeploymentBinding) DeepCopyInto(out *VirtualDeploymentBinding)

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

func (*VirtualDeploymentBinding) DeepCopyObject

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

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

type VirtualDeploymentBindingList

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

VirtualDeploymentBindingList contains a list of VirtualDeploymentBinding

func (*VirtualDeploymentBindingList) DeepCopy

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

func (*VirtualDeploymentBindingList) DeepCopyInto

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

func (*VirtualDeploymentBindingList) DeepCopyObject

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

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

type VirtualDeploymentBindingSpec

type VirtualDeploymentBindingSpec struct {
	// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
	VirtualDeployment RefOrId `json:"virtualDeployment"`
	Target            Target  `json:"target"`

	// +optional
	Resources *corev1.ResourceRequirements `json:"resources,omitempty"`
}

VirtualDeploymentBindingSpec defines the desired state of VirtualDeploymentBinding

func (*VirtualDeploymentBindingSpec) DeepCopy

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

func (*VirtualDeploymentBindingSpec) DeepCopyInto

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

type VirtualDeploymentList

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

VirtualDeploymentList contains a list of VirtualDeployment

func (*VirtualDeploymentList) DeepCopy

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

func (*VirtualDeploymentList) DeepCopyInto

func (in *VirtualDeploymentList) DeepCopyInto(out *VirtualDeploymentList)

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

func (*VirtualDeploymentList) DeepCopyObject

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

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

type VirtualDeploymentSpec

type VirtualDeploymentSpec struct {
	api.TagResources `json:",inline"`
	// +optional
	Name          *Name    `json:"name,omitempty"`
	CompartmentId api.OCID `json:"compartmentId"`
	// +optional
	Description      *Description     `json:"description,omitempty"`
	VirtualService   RefOrId          `json:"virtualService"`
	ServiceDiscovery ServiceDiscovery `json:"serviceDiscovery"`
	// +optional
	AccessLogging *AccessLogging `json:"accessLogging,omitempty"`
	// +kubebuilder:validation:MinItems=1
	Listener []Listener `json:"listener"`
}

VirtualDeploymentSpec defines the desired state of VirtualDeployment

func (*VirtualDeploymentSpec) DeepCopy

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

func (*VirtualDeploymentSpec) DeepCopyInto

func (in *VirtualDeploymentSpec) DeepCopyInto(out *VirtualDeploymentSpec)

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

type VirtualDeploymentTrafficRuleTarget

type VirtualDeploymentTrafficRuleTarget struct {
	VirtualDeployment *RefOrId `json:"virtualDeployment"`
	// Amount of traffic flows to a specific Virtual Deployment
	// +kubebuilder:validation:Minimum=0
	// +kubebuilder:validation:Maximum=100
	Weight int `json:"weight"`
	// +optional
	Port *Port `json:"port,omitempty"`
}

Destination of a Virtual Deployment

func (*VirtualDeploymentTrafficRuleTarget) DeepCopy

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

func (*VirtualDeploymentTrafficRuleTarget) DeepCopyInto

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 ServiceMeshStatus  `json:"status,omitempty"`
}

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 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 VirtualServiceMutualTransportLayerSecurity

type VirtualServiceMutualTransportLayerSecurity struct {
	// The OCID of the certificate resource that will be used for mTLS authentication with other virtual services
	// in the mesh.
	// +optional
	CertificateId *api.OCID                            `json:"certificateId,omitempty"`
	Mode          MutualTransportLayerSecurityModeEnum `json:"mode"`
}

VirtualServiceMutualTransportLayerSecurity sets mTLS settings used when communicating with other virtual services within the mesh.

func (*VirtualServiceMutualTransportLayerSecurity) DeepCopy

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

func (*VirtualServiceMutualTransportLayerSecurity) DeepCopyInto

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

type VirtualServiceRouteTable

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

	Spec   VirtualServiceRouteTableSpec `json:"spec,omitempty"`
	Status ServiceMeshStatus            `json:"status,omitempty"`
}

VirtualServiceRouteTable is the Schema for the virtualserviceroutetables API

func (*VirtualServiceRouteTable) DeepCopy

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

func (*VirtualServiceRouteTable) DeepCopyInto

func (in *VirtualServiceRouteTable) DeepCopyInto(out *VirtualServiceRouteTable)

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

func (*VirtualServiceRouteTable) DeepCopyObject

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

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

type VirtualServiceRouteTableList

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

VirtualServiceRouteTableList contains a list of VirtualServiceRouteTable

func (*VirtualServiceRouteTableList) DeepCopy

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

func (*VirtualServiceRouteTableList) DeepCopyInto

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

func (*VirtualServiceRouteTableList) DeepCopyObject

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

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

type VirtualServiceRouteTableSpec

type VirtualServiceRouteTableSpec struct {
	// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
	api.TagResources `json:",inline"`
	// +optional
	Name          *Name    `json:"name,omitempty"`
	CompartmentId api.OCID `json:"compartmentId"`
	// +optional
	Description    *Description `json:"description,omitempty"`
	VirtualService RefOrId      `json:"virtualService"`
	// +kubebuilder:validation:MinItems=1
	RouteRules []VirtualServiceTrafficRouteRule `json:"routeRules"`
	// +optional
	Priority *int `json:"priority,omitempty"`
}

VirtualServiceRouteTableSpec defines the desired state of VirtualServiceRouteTable

func (*VirtualServiceRouteTableSpec) DeepCopy

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

func (*VirtualServiceRouteTableSpec) DeepCopyInto

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

type VirtualServiceSpec

type VirtualServiceSpec struct {
	api.TagResources `json:",inline"`
	// +optional
	Name          *Name    `json:"name,omitempty"`
	CompartmentId api.OCID `json:"compartmentId"`
	Mesh          RefOrId  `json:"mesh"`
	// +optional
	Description *Description `json:"description,omitempty"`
	// +optional
	DefaultRoutingPolicy *DefaultRoutingPolicy `json:"defaultRoutingPolicy,omitempty"`
	// The DNS hostnames of the virtual service that is used by its callers.
	// Wildcard hostnames are supported in the prefix form.
	// Examples of valid hostnames are www.example.com, *.example.com, *.com
	// +kubebuilder:validation:MinItems=1
	Hosts []string `json:"hosts"`
	// +optional
	Mtls *CreateVirtualServiceMutualTransportLayerSecurity `json:"mtls,omitempty"`
}

VirtualServiceSpec defines the desired state of VirtualService

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 VirtualServiceTrafficRouteRule

type VirtualServiceTrafficRouteRule struct {
	// +optional
	HttpRoute *HttpVirtualServiceTrafficRouteRule `json:"httpRoute,omitempty"`
	// +optional
	TcpRoute *TcpVirtualServiceTrafficRouteRule `json:"tcpRoute,omitempty"`
	// +optional
	TlsPassthroughRoute *TlsPassthroughVirtualServiceTrafficRouteRule `json:"tlsPassthroughRoute,omitempty"`
}

Rule for routing incoming Virtual Service traffic to a Virtual Deployment

func (*VirtualServiceTrafficRouteRule) DeepCopy

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

func (*VirtualServiceTrafficRouteRule) DeepCopyInto

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

type VirtualServiceTrafficRuleTarget

type VirtualServiceTrafficRuleTarget struct {
	VirtualService *RefOrId `json:"virtualService"`
	// Amount of traffic flows to a specific Virtual Service
	// +optional
	// +kubebuilder:validation:Minimum=0
	// +kubebuilder:validation:Maximum=100
	Weight *int `json:"weight"`
	// +optional
	Port *Port `json:"port,omitempty"`
}

Destination of a Virtual Service

func (*VirtualServiceTrafficRuleTarget) DeepCopy

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

func (*VirtualServiceTrafficRuleTarget) DeepCopyInto

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