v1alpha1

package
v0.0.0-...-2350287 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

+k8s:protobuf-gen=package +groupName=ctrlmesh.kruise.io

Package v1alpha1 contains API Schema definitions for the ctrlmesh v1alpha1 API group +kubebuilder:object:generate=true +groupName=ctrlmesh.kruise.io

Index

Constants

View Source
const (
	NameOfManager = "ctrlmesh-manager"
)
View Source
const (
	VirtualAppInjectedKey = "ctrlmesh.kruise.io/virtual-app-injected"
)

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "ctrlmesh.kruise.io", Version: "v1alpha1"}

	SchemeGroupVersion = GroupVersion

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

func Resource

func Resource(resource string) schema.GroupResource

Resource is required by pkg/client/listers/...

Types

type APIGroupResource

type APIGroupResource struct {
	// APIGroups is the API groups the resources belong to. '*' is all groups.
	// If '*' is present, the length of the slice must be one.
	APIGroups []string `json:"apiGroups"`
	// Resources is a list of resources this rule applies to.
	//
	// For example:
	// 'pods' means pods.
	// 'pods/log' means the log subresource of pods.
	// '*' means all resources, but not subresources.
	// 'pods/*' means all subresources of pods.
	// '*/scale' means all scale subresources.
	// '*/*' means all resources and their subresources.
	//
	// If wildcard is present, the validation rule will ensure resources do not
	// overlap with each other.
	//
	// Depending on the enclosing object, subresources might not be allowed.
	Resources []string `json:"resources"`
}

func (*APIGroupResource) DeepCopy

func (in *APIGroupResource) DeepCopy() *APIGroupResource

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

func (*APIGroupResource) DeepCopyInto

func (in *APIGroupResource) DeepCopyInto(out *APIGroupResource)

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

type ManagerState

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

	Spec   ManagerStateSpec   `json:"spec,omitempty"`
	Status ManagerStateStatus `json:"status,omitempty"`
}

ManagerState is the Schema for the managerstates API

func (*ManagerState) DeepCopy

func (in *ManagerState) DeepCopy() *ManagerState

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

func (*ManagerState) DeepCopyInto

func (in *ManagerState) DeepCopyInto(out *ManagerState)

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

func (*ManagerState) DeepCopyObject

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

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

type ManagerStateEndpoint

type ManagerStateEndpoint struct {
	Name   string `json:"name"`
	PodIP  string `json:"podIP"`
	Leader bool   `json:"leader"`
}

func (*ManagerStateEndpoint) DeepCopy

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

func (*ManagerStateEndpoint) DeepCopyInto

func (in *ManagerStateEndpoint) DeepCopyInto(out *ManagerStateEndpoint)

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

type ManagerStateEndpoints

type ManagerStateEndpoints []ManagerStateEndpoint

func (ManagerStateEndpoints) DeepCopy

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

func (ManagerStateEndpoints) DeepCopyInto

func (in ManagerStateEndpoints) DeepCopyInto(out *ManagerStateEndpoints)

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

func (ManagerStateEndpoints) Len

func (e ManagerStateEndpoints) Len() int

func (ManagerStateEndpoints) Less

func (e ManagerStateEndpoints) Less(i, j int) bool

func (ManagerStateEndpoints) Swap

func (e ManagerStateEndpoints) Swap(i, j int)

type ManagerStateList

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

ManagerStateList contains a list of ManagerState

func (*ManagerStateList) DeepCopy

func (in *ManagerStateList) DeepCopy() *ManagerStateList

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

func (*ManagerStateList) DeepCopyInto

func (in *ManagerStateList) DeepCopyInto(out *ManagerStateList)

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

func (*ManagerStateList) DeepCopyObject

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

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

type ManagerStatePorts

type ManagerStatePorts struct {
	GrpcLeaderElectionPort    int `json:"grpcLeaderElectionPort,omitempty"`
	GrpcNonLeaderElectionPort int `json:"grpcNonLeaderElectionPort,omitempty"`
}

func (*ManagerStatePorts) DeepCopy

func (in *ManagerStatePorts) DeepCopy() *ManagerStatePorts

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

func (*ManagerStatePorts) DeepCopyInto

func (in *ManagerStatePorts) DeepCopyInto(out *ManagerStatePorts)

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

type ManagerStateSpec

type ManagerStateSpec struct {
}

ManagerStateSpec defines the desired state of ManagerState

func (*ManagerStateSpec) DeepCopy

func (in *ManagerStateSpec) DeepCopy() *ManagerStateSpec

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

func (*ManagerStateSpec) DeepCopyInto

func (in *ManagerStateSpec) DeepCopyInto(out *ManagerStateSpec)

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

type ManagerStateStatus

type ManagerStateStatus struct {
	Namespace string                `json:"namespace,omitempty"`
	Endpoints ManagerStateEndpoints `json:"endpoints,omitempty"`
	Ports     *ManagerStatePorts    `json:"ports,omitempty"`
}

ManagerStateStatus defines the observed state of ManagerState

func (*ManagerStateStatus) DeepCopy

func (in *ManagerStateStatus) DeepCopy() *ManagerStateStatus

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

func (*ManagerStateStatus) DeepCopyInto

func (in *ManagerStateStatus) DeepCopyInto(out *ManagerStateStatus)

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

type MatchLimitSelector

type MatchLimitSelector struct {
	NamespaceSelector *metav1.LabelSelector `json:"namespaceSelector,omitempty"`
	ObjectSelector    *metav1.LabelSelector `json:"objectSelector,omitempty"`
	NamespaceRegex    *string               `json:"namespaceRegex,omitempty"`
	Resources         []APIGroupResource    `json:"resources,omitempty"`
}

func (*MatchLimitSelector) DeepCopy

func (in *MatchLimitSelector) DeepCopy() *MatchLimitSelector

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

func (*MatchLimitSelector) DeepCopyInto

func (in *MatchLimitSelector) DeepCopyInto(out *MatchLimitSelector)

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

type TrafficAPIServerRules

type TrafficAPIServerRules struct {
	// `resourceRules` is a slice of ResourcePolicyRules that identify matching requests according to their verb and the
	// target resource.
	// At least one of `resourceRules` and `nonResourceRules` has to be non-empty.
	ResourceRules []flowcontrolv1beta1.ResourcePolicyRule `json:"resourceRules,omitempty"`
	// `nonResourceRules` is a list of NonResourcePolicyRules that identify matching requests according to their verb
	// and the target non-resource URL.
	NonResourceRules []flowcontrolv1beta1.NonResourcePolicyRule `json:"nonResourceRules,omitempty"`
}

TrafficAPIServerRules contains rules for apiserver requests.

func (*TrafficAPIServerRules) DeepCopy

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

func (*TrafficAPIServerRules) DeepCopyInto

func (in *TrafficAPIServerRules) DeepCopyInto(out *TrafficAPIServerRules)

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

type TrafficCircuitBreaking

type TrafficCircuitBreaking struct {
	APIServer *TrafficAPIServerRules `json:"apiServer,omitempty"`
	Webhook   *TrafficWebhookRules   `json:"webhook,omitempty"`
}

TrafficCircuitBreaking defines policies that ctrlmesh-proxy should intercept the requests.

func (*TrafficCircuitBreaking) DeepCopy

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

func (*TrafficCircuitBreaking) DeepCopyInto

func (in *TrafficCircuitBreaking) DeepCopyInto(out *TrafficCircuitBreaking)

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

type TrafficPolicy

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

	Spec   TrafficPolicySpec   `json:"spec,omitempty"`
	Status TrafficPolicyStatus `json:"status,omitempty"`
}

TrafficPolicy is the Schema for the trafficpolicies API

func (*TrafficPolicy) DeepCopy

func (in *TrafficPolicy) DeepCopy() *TrafficPolicy

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

func (*TrafficPolicy) DeepCopyInto

func (in *TrafficPolicy) DeepCopyInto(out *TrafficPolicy)

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

func (*TrafficPolicy) DeepCopyObject

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

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

type TrafficPolicyList

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

TrafficPolicyList contains a list of TrafficPolicy

func (*TrafficPolicyList) DeepCopy

func (in *TrafficPolicyList) DeepCopy() *TrafficPolicyList

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

func (*TrafficPolicyList) DeepCopyInto

func (in *TrafficPolicyList) DeepCopyInto(out *TrafficPolicyList)

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

func (*TrafficPolicyList) DeepCopyObject

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

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

type TrafficPolicySpec

type TrafficPolicySpec struct {
	TargetVirtualApps []TrafficTargetVirtualApp `json:"targetVirtualApps"`
	CircuitBreaking   *TrafficCircuitBreaking   `json:"circuitBreaking,omitempty"`
	RateLimiting      *TrafficRateLimiting      `json:"rateLimiting,omitempty"`
}

TrafficPolicySpec defines the desired state of TrafficPolicy

func (*TrafficPolicySpec) DeepCopy

func (in *TrafficPolicySpec) DeepCopy() *TrafficPolicySpec

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

func (*TrafficPolicySpec) DeepCopyInto

func (in *TrafficPolicySpec) DeepCopyInto(out *TrafficPolicySpec)

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

type TrafficPolicyStatus

type TrafficPolicyStatus struct {
}

TrafficPolicyStatus defines the observed state of TrafficPolicy

func (*TrafficPolicyStatus) DeepCopy

func (in *TrafficPolicyStatus) DeepCopy() *TrafficPolicyStatus

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

func (*TrafficPolicyStatus) DeepCopyInto

func (in *TrafficPolicyStatus) DeepCopyInto(out *TrafficPolicyStatus)

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

type TrafficRateLimiting

type TrafficRateLimiting struct {
	RatePolicies []TrafficRateLimitingPolicy `json:"ratePolicies,omitempty"`
}

func (*TrafficRateLimiting) DeepCopy

func (in *TrafficRateLimiting) DeepCopy() *TrafficRateLimiting

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

func (*TrafficRateLimiting) DeepCopyInto

func (in *TrafficRateLimiting) DeepCopyInto(out *TrafficRateLimiting)

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

type TrafficRateLimitingBucket

type TrafficRateLimitingBucket struct {
	QPS   int32 `json:"qps"`
	Burst int32 `json:"burst"`
}

func (*TrafficRateLimitingBucket) DeepCopy

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

func (*TrafficRateLimitingBucket) DeepCopyInto

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

type TrafficRateLimitingExponentialBackoff

type TrafficRateLimitingExponentialBackoff struct {
	BaseDelayInMillisecond   int32 `json:"baseDelayInMillisecond"`
	MaxDelayInMillisecond    int32 `json:"maxDelayInMillisecond"`
	ContinuouslyFailureTimes int32 `json:"continuouslyFailureTimes,omitempty"`
}

func (*TrafficRateLimitingExponentialBackoff) DeepCopy

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

func (*TrafficRateLimitingExponentialBackoff) DeepCopyInto

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

type TrafficRateLimitingPolicy

type TrafficRateLimitingPolicy struct {
	Rules TrafficAPIServerRules `json:"rules"`

	MaxInFlight        *int32                                 `json:"maxInFlight,omitempty"`
	Bucket             *TrafficRateLimitingBucket             `json:"bucket,omitempty"`
	ExponentialBackoff *TrafficRateLimitingExponentialBackoff `json:"exponentialBackoff,omitempty"`
}

func (*TrafficRateLimitingPolicy) DeepCopy

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

func (*TrafficRateLimitingPolicy) DeepCopyInto

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

type TrafficTargetVirtualApp

type TrafficTargetVirtualApp struct {
	Name            string   `json:"name"`
	SpecificSubsets []string `json:"specificSubsets,omitempty"`
}

TrafficTargetVirtualApp is the target VirtualApp and its optional specific subsets.

func (*TrafficTargetVirtualApp) DeepCopy

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

func (*TrafficTargetVirtualApp) DeepCopyInto

func (in *TrafficTargetVirtualApp) DeepCopyInto(out *TrafficTargetVirtualApp)

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

type TrafficWebhookRules

type TrafficWebhookRules struct {
	// Rules describes what operations on what resources/subresources should be intercepted.
	AdmissionRules []admissionregistrationv1.RuleWithOperations `json:"admissionRules,omitempty"`
}

TrafficWebhookRules contains rules for webhook requests.

func (*TrafficWebhookRules) DeepCopy

func (in *TrafficWebhookRules) DeepCopy() *TrafficWebhookRules

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

func (*TrafficWebhookRules) DeepCopyInto

func (in *TrafficWebhookRules) DeepCopyInto(out *TrafficWebhookRules)

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

type VirtualApp

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

	Spec   VirtualAppSpec   `json:"spec,omitempty"`
	Status VirtualAppStatus `json:"status,omitempty"`
}

VirtualApp is the Schema for the virtualapps API

func (*VirtualApp) DeepCopy

func (in *VirtualApp) DeepCopy() *VirtualApp

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

func (*VirtualApp) DeepCopyInto

func (in *VirtualApp) DeepCopyInto(out *VirtualApp)

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

func (*VirtualApp) DeepCopyObject

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

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

type VirtualAppConfiguration

type VirtualAppConfiguration struct {
	Controller *VirtualAppControllerConfiguration `json:"controller,omitempty"`
	Webhook    *VirtualAppWebhookConfiguration    `json:"webhook,omitempty"`
	// RestConfigOverrides defines the override policies for rest config.
	RestConfigOverrides *VirtualAppRestConfigOverrides `json:"restConfigOverrides,omitempty"`
}

VirtualAppConfiguration defines the configuration of controller or webhook of this application.

func (*VirtualAppConfiguration) DeepCopy

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

func (*VirtualAppConfiguration) DeepCopyInto

func (in *VirtualAppConfiguration) DeepCopyInto(out *VirtualAppConfiguration)

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

type VirtualAppControllerConfiguration

type VirtualAppControllerConfiguration struct {
	LeaderElectionName string `json:"leaderElectionName"`
}

VirtualAppControllerConfiguration defines the configuration of controller in this application.

func (*VirtualAppControllerConfiguration) DeepCopy

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

func (*VirtualAppControllerConfiguration) DeepCopyInto

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

type VirtualAppList

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

VirtualAppList contains a list of VirtualApp

func (*VirtualAppList) DeepCopy

func (in *VirtualAppList) DeepCopy() *VirtualAppList

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

func (*VirtualAppList) DeepCopyInto

func (in *VirtualAppList) DeepCopyInto(out *VirtualAppList)

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

func (*VirtualAppList) DeepCopyObject

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

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

type VirtualAppRestConfigOverrides

type VirtualAppRestConfigOverrides struct {
	// UserAgentOrPrefix can override the UserAgent of application.
	// If it ends with '/', we consider it as prefix and will be added to the front of original UserAgent.
	// Otherwise, it will replace the original UserAgent.
	UserAgentOrPrefix *string `json:"userAgentOrPrefix,omitempty"`
}

VirtualAppRestConfigOverrides defines overrides to the application's rest config.

func (*VirtualAppRestConfigOverrides) DeepCopy

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

func (*VirtualAppRestConfigOverrides) DeepCopyInto

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

type VirtualAppRoute

type VirtualAppRoute struct {
	GlobalLimits          []MatchLimitSelector     `json:"globalLimits,omitempty"`
	SubRules              []VirtualAppRouteSubRule `json:"subRules,omitempty"`
	SubsetPublicResources []APIGroupResource       `json:"subsetPublicResources,omitempty"`
	// SubsetDefaultOnlyUserAgents contains UserAgents that should only handle resources
	// by the default subset.
	SubsetDefaultOnlyUserAgents []string `json:"subsetDefaultOnlyUserAgents,omitempty"`
}

VirtualAppRoute defines the route of this application including global and sub-rules.

func (*VirtualAppRoute) DeepCopy

func (in *VirtualAppRoute) DeepCopy() *VirtualAppRoute

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

func (*VirtualAppRoute) DeepCopyInto

func (in *VirtualAppRoute) DeepCopyInto(out *VirtualAppRoute)

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

type VirtualAppRouteSubRule

type VirtualAppRouteSubRule struct {
	Name  string               `json:"name"`
	Match []MatchLimitSelector `json:"match"`
}

func (*VirtualAppRouteSubRule) DeepCopy

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

func (*VirtualAppRouteSubRule) DeepCopyInto

func (in *VirtualAppRouteSubRule) DeepCopyInto(out *VirtualAppRouteSubRule)

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

type VirtualAppSpec

type VirtualAppSpec struct {
	// Selector is a label query over pods of this application.
	Selector *metav1.LabelSelector `json:"selector"`
	// Configuration defines the configuration of controller and webhook in this application.
	Configuration *VirtualAppConfiguration `json:"configuration,omitempty"`
	// Route defines the route of this application including global and sub rules.
	Route *VirtualAppRoute `json:"route,omitempty"`
	// Subsets defines the subsets for this application.
	Subsets []VirtualAppSubset `json:"subsets,omitempty"`
}

VirtualAppSpec defines the desired state of VirtualApp

func (*VirtualAppSpec) DeepCopy

func (in *VirtualAppSpec) DeepCopy() *VirtualAppSpec

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

func (*VirtualAppSpec) DeepCopyInto

func (in *VirtualAppSpec) DeepCopyInto(out *VirtualAppSpec)

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

type VirtualAppStatus

type VirtualAppStatus struct {
}

VirtualAppStatus defines the observed state of VirtualApp

func (*VirtualAppStatus) DeepCopy

func (in *VirtualAppStatus) DeepCopy() *VirtualAppStatus

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

func (*VirtualAppStatus) DeepCopyInto

func (in *VirtualAppStatus) DeepCopyInto(out *VirtualAppStatus)

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

type VirtualAppSubset

type VirtualAppSubset struct {
	Name       string            `json:"name"`
	Labels     map[string]string `json:"labels"`
	RouteRules []string          `json:"routeRules"`
}

func (*VirtualAppSubset) DeepCopy

func (in *VirtualAppSubset) DeepCopy() *VirtualAppSubset

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

func (*VirtualAppSubset) DeepCopyInto

func (in *VirtualAppSubset) DeepCopyInto(out *VirtualAppSubset)

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

type VirtualAppWebhookConfiguration

type VirtualAppWebhookConfiguration struct {
	CertDir string `json:"certDir"`
	Port    int    `json:"port"`
}

VirtualAppWebhookConfiguration defines the configuration of webhook in this application.

func (*VirtualAppWebhookConfiguration) DeepCopy

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

func (*VirtualAppWebhookConfiguration) 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