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 ¶
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 ¶
func (in *IstioExternalService) DeepCopy() *IstioExternalService
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 ¶
func (in *IstioExternalServiceEndpoint) DeepCopy() *IstioExternalServiceEndpoint
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IstioExternalServiceEndpoint.
func (*IstioExternalServiceEndpoint) DeepCopyInto ¶
func (in *IstioExternalServiceEndpoint) DeepCopyInto(out *IstioExternalServiceEndpoint)
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 ¶
func (in *IstioExternalServiceEntry) DeepCopy() *IstioExternalServiceEntry
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IstioExternalServiceEntry.
func (*IstioExternalServiceEntry) DeepCopyInto ¶
func (in *IstioExternalServiceEntry) DeepCopyInto(out *IstioExternalServiceEntry)
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 ¶
func (in *IstioExternalServiceHealthCheck) DeepCopy() *IstioExternalServiceHealthCheck
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IstioExternalServiceHealthCheck.
func (*IstioExternalServiceHealthCheck) DeepCopyInto ¶
func (in *IstioExternalServiceHealthCheck) DeepCopyInto(out *IstioExternalServiceHealthCheck)
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 ¶
func (in *IstioExternalServiceList) DeepCopy() *IstioExternalServiceList
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 ¶
func (in *IstioExternalServiceSpec) DeepCopy() *IstioExternalServiceSpec
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 ¶
func (in *IstioExternalServiceStatus) DeepCopy() *IstioExternalServiceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IstioExternalServiceStatus.
func (*IstioExternalServiceStatus) DeepCopyInto ¶
func (in *IstioExternalServiceStatus) DeepCopyInto(out *IstioExternalServiceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.