v1

package
v0.0.0-...-44f915f Latest Latest
Warning

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

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

Documentation

Overview

Package v1 contains API Schema definitions for the istio.rodbate.github.com v1 API group +kubebuilder:object:generate=true +groupName=istio.rodbate.github.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "istio.rodbate.github.com", Version: "v1"}

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

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

	Spec   IstioExternalServiceSpec   `json:"spec,omitempty"`
	Status IstioExternalServiceStatus `json:"status,omitempty"`
}

IstioExternalService is the Schema for the istioexternalservices API

func (*IstioExternalService) DeepCopy

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

func (*IstioExternalService) DeepCopyInto

func (in *IstioExternalService) DeepCopyInto(out *IstioExternalService)

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

func (*IstioExternalService) DeepCopyObject

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

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

type IstioExternalServiceEndpoint

type IstioExternalServiceEndpoint struct {
	// Host istio external service hort or ip
	// +kubebuilder:validation:MinLength=1
	Host string `json:"host"`
	// +kubebuilder:validation:Minimum=1
	// +kubebuilder:validation:Maximum=65536
	Port int32 `json:"port"`
	// HealthCheck
	// +kubebuilder:default:={timeoutSeconds: 1, periodSeconds: 10, successThreshold: 1, failureThreshold: 3}
	// +optional
	HealthCheck IstioExternalServiceHealthCheck `json:"healthCheck"`
}

func (*IstioExternalServiceEndpoint) DeepCopy

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

func (*IstioExternalServiceEndpoint) DeepCopyInto

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

func (*IstioExternalServiceEndpoint) String

func (in *IstioExternalServiceEndpoint) String() string

type IstioExternalServiceEntry

type IstioExternalServiceEntry struct {
	// Name istio external service name
	// +kubebuilder:validation:MinLength=1
	Name string `json:"name"`
	// Endpoints istio external service endpoints
	// +kubebuilder:validation:MinItems=1
	Endpoints []IstioExternalServiceEndpoint `json:"endpoints"`
}

func (*IstioExternalServiceEntry) DeepCopy

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

func (*IstioExternalServiceEntry) DeepCopyInto

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

type IstioExternalServiceHealthCheck

type IstioExternalServiceHealthCheck struct {
	// +optional
	// +kubebuilder:default=1
	// +kubebuilder:validation:Minimum=1
	TimeoutSeconds int32 `json:"timeoutSeconds"`
	// +optional
	// +kubebuilder:default=10
	// +kubebuilder:validation:Minimum=1
	PeriodSeconds int32 `json:"periodSeconds"`
	// +optional
	// +kubebuilder:default=1
	// +kubebuilder:validation:Minimum=1
	SuccessThreshold int32 `json:"successThreshold"`
	// +optional
	// +kubebuilder:default=3
	// +kubebuilder:validation:Minimum=1
	FailureThreshold int32 `json:"failureThreshold"`
}

func (*IstioExternalServiceHealthCheck) DeepCopy

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

func (*IstioExternalServiceHealthCheck) DeepCopyInto

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

type IstioExternalServiceList

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

IstioExternalServiceList contains a list of IstioExternalService

func (*IstioExternalServiceList) DeepCopy

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

func (*IstioExternalServiceList) DeepCopyInto

func (in *IstioExternalServiceList) DeepCopyInto(out *IstioExternalServiceList)

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

func (*IstioExternalServiceList) DeepCopyObject

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

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

type IstioExternalServiceSpec

type IstioExternalServiceSpec struct {
	// Services istio external services
	// +kubebuilder:validation:MinItems=1
	Services []IstioExternalServiceEntry `json:"services"`
}

IstioExternalServiceSpec defines the desired state of IstioExternalService

func (*IstioExternalServiceSpec) DeepCopy

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

func (*IstioExternalServiceSpec) DeepCopyInto

func (in *IstioExternalServiceSpec) DeepCopyInto(out *IstioExternalServiceSpec)

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

type IstioExternalServiceStatus

type IstioExternalServiceStatus struct {
}

IstioExternalServiceStatus defines the observed state of IstioExternalService

func (*IstioExternalServiceStatus) DeepCopy

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

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