Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the virtualservicecomponent v1alpha1 API group +kubebuilder:object:generate=true +groupName=virtualservicecomponent.shibataka000.com
Index ¶
- Variables
- type Destination
- type HTTPMatchRequest
- type HTTPRoute
- type HTTPRouteBinding
- type HTTPRouteBindingList
- type HTTPRouteBindingSpec
- type HTTPRouteBindingStatus
- type HTTPRouteDestination
- type StringMatch
- type VirtualService
- type VirtualServiceBase
- type VirtualServiceBaseList
- type VirtualServiceBaseRef
- type VirtualServiceBaseSpec
- type VirtualServiceBaseStatus
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "virtualservicecomponent.shibataka000.com", Version: "v1alpha1"} // 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 Destination ¶
type Destination struct { Host string `json:"host,omitempty"` Subset string `json:"subset,omitempty"` }
Destination indicates the network addressable service to which the request/connection will be sent after processing a routing rule.
func (*Destination) DeepCopy ¶
func (in *Destination) DeepCopy() *Destination
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Destination.
func (*Destination) DeepCopyInto ¶
func (in *Destination) DeepCopyInto(out *Destination)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Destination) IstioAPI ¶
func (a *Destination) IstioAPI() *networkingv1beta1.Destination
IstioAPI convert to Destination struct defined in istio.io/api
type HTTPMatchRequest ¶
type HTTPMatchRequest struct {
Headers map[string]*StringMatch `json:"headers,omitempty"`
}
HTTPMatchRequest specifies a set of criterion to be met in order for the rule to be applied to the HTTP request.
func (*HTTPMatchRequest) DeepCopy ¶
func (in *HTTPMatchRequest) DeepCopy() *HTTPMatchRequest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPMatchRequest.
func (*HTTPMatchRequest) DeepCopyInto ¶
func (in *HTTPMatchRequest) DeepCopyInto(out *HTTPMatchRequest)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*HTTPMatchRequest) IstioAPI ¶
func (a *HTTPMatchRequest) IstioAPI() *networkingv1beta1.HTTPMatchRequest
IstioAPI convert to HTTPMatchRequest struct defined in istio.io/api
type HTTPRoute ¶
type HTTPRoute struct { Match []*HTTPMatchRequest `json:"match,omitempty"` Route []*HTTPRouteDestination `json:"route,omitempty"` }
HTTPRoute describes match conditions and actions for routing HTTP/1.1, HTTP2, and gRPC traffic.
func (*HTTPRoute) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPRoute.
func (*HTTPRoute) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*HTTPRoute) IstioAPI ¶
func (a *HTTPRoute) IstioAPI() *networkingv1beta1.HTTPRoute
IstioAPI convert to HTTPRoute struct defined in istio.io/api
type HTTPRouteBinding ¶
type HTTPRouteBinding struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec HTTPRouteBindingSpec `json:"spec,omitempty"` Status HTTPRouteBindingStatus `json:"status,omitempty"` }
HTTPRouteBinding is the Schema for the httproutebindings API
func (*HTTPRouteBinding) DeepCopy ¶
func (in *HTTPRouteBinding) DeepCopy() *HTTPRouteBinding
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPRouteBinding.
func (*HTTPRouteBinding) DeepCopyInto ¶
func (in *HTTPRouteBinding) DeepCopyInto(out *HTTPRouteBinding)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*HTTPRouteBinding) DeepCopyObject ¶
func (in *HTTPRouteBinding) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type HTTPRouteBindingList ¶
type HTTPRouteBindingList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []HTTPRouteBinding `json:"items"` }
HTTPRouteBindingList contains a list of HTTPRouteBinding
func (*HTTPRouteBindingList) DeepCopy ¶
func (in *HTTPRouteBindingList) DeepCopy() *HTTPRouteBindingList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPRouteBindingList.
func (*HTTPRouteBindingList) DeepCopyInto ¶
func (in *HTTPRouteBindingList) DeepCopyInto(out *HTTPRouteBindingList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*HTTPRouteBindingList) DeepCopyObject ¶
func (in *HTTPRouteBindingList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type HTTPRouteBindingSpec ¶
type HTTPRouteBindingSpec struct { VirtualServiceBaseRef VirtualServiceBaseRef `json:"virtualServiceBaseRef,omitempty"` HTTPRoute HTTPRoute `json:"httpRoute,omitempty"` }
HTTPRouteBindingSpec defines the desired state of HTTPRouteBinding
func (*HTTPRouteBindingSpec) DeepCopy ¶
func (in *HTTPRouteBindingSpec) DeepCopy() *HTTPRouteBindingSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPRouteBindingSpec.
func (*HTTPRouteBindingSpec) DeepCopyInto ¶
func (in *HTTPRouteBindingSpec) DeepCopyInto(out *HTTPRouteBindingSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HTTPRouteBindingStatus ¶
type HTTPRouteBindingStatus struct { }
HTTPRouteBindingStatus defines the observed state of HTTPRouteBinding
func (*HTTPRouteBindingStatus) DeepCopy ¶
func (in *HTTPRouteBindingStatus) DeepCopy() *HTTPRouteBindingStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPRouteBindingStatus.
func (*HTTPRouteBindingStatus) DeepCopyInto ¶
func (in *HTTPRouteBindingStatus) DeepCopyInto(out *HTTPRouteBindingStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HTTPRouteDestination ¶
type HTTPRouteDestination struct {
Destination *Destination `json:"destination,omitempty"`
}
HTTPRouteDestination has routing rules which are associated with one or more service versions.
func (*HTTPRouteDestination) DeepCopy ¶
func (in *HTTPRouteDestination) DeepCopy() *HTTPRouteDestination
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPRouteDestination.
func (*HTTPRouteDestination) DeepCopyInto ¶
func (in *HTTPRouteDestination) DeepCopyInto(out *HTTPRouteDestination)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*HTTPRouteDestination) IstioAPI ¶
func (a *HTTPRouteDestination) IstioAPI() *networkingv1beta1.HTTPRouteDestination
IstioAPI convert to HTTPRouteDestination struct defined in istio.io/api
type StringMatch ¶
type StringMatch struct {
Exact string `json:"exact,omitempty"`
}
StringMatch describes how to match a given string in HTTP headers. Match is case-sensitive.
func (*StringMatch) DeepCopy ¶
func (in *StringMatch) DeepCopy() *StringMatch
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StringMatch.
func (*StringMatch) DeepCopyInto ¶
func (in *StringMatch) DeepCopyInto(out *StringMatch)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*StringMatch) IstioAPI ¶
func (a *StringMatch) IstioAPI() *networkingv1beta1.StringMatch
IstioAPI convert to StringMatch struct defined in istio.io/api
type VirtualService ¶
type VirtualService struct { Hosts []string `json:"hosts,omitempty"` Gateways []string `json:"gateways,omitempty"` }
VirtualService is configuration affecting traffic routing.
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) IstioAPI ¶
func (a *VirtualService) IstioAPI() *networkingv1beta1.VirtualService
IstioAPI convert to VirtualService struct defined in istio.io/api
type VirtualServiceBase ¶
type VirtualServiceBase struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec VirtualServiceBaseSpec `json:"spec,omitempty"` Status VirtualServiceBaseStatus `json:"status,omitempty"` }
VirtualServiceBase is the Schema for the virtualservicebases API
func (*VirtualServiceBase) DeepCopy ¶
func (in *VirtualServiceBase) DeepCopy() *VirtualServiceBase
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualServiceBase.
func (*VirtualServiceBase) DeepCopyInto ¶
func (in *VirtualServiceBase) DeepCopyInto(out *VirtualServiceBase)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VirtualServiceBase) DeepCopyObject ¶
func (in *VirtualServiceBase) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type VirtualServiceBaseList ¶
type VirtualServiceBaseList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []VirtualServiceBase `json:"items"` }
VirtualServiceBaseList contains a list of VirtualServiceBase
func (*VirtualServiceBaseList) DeepCopy ¶
func (in *VirtualServiceBaseList) DeepCopy() *VirtualServiceBaseList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualServiceBaseList.
func (*VirtualServiceBaseList) DeepCopyInto ¶
func (in *VirtualServiceBaseList) DeepCopyInto(out *VirtualServiceBaseList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VirtualServiceBaseList) DeepCopyObject ¶
func (in *VirtualServiceBaseList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type VirtualServiceBaseRef ¶
type VirtualServiceBaseRef struct { metav1.TypeMeta `json:",inline"` Name string `json:"name,omitempty"` Namespace string `json:"namespace,omitempty"` }
VirtualServiceBaseRef is reference to VirtualServiceBase resource
func (*VirtualServiceBaseRef) DeepCopy ¶
func (in *VirtualServiceBaseRef) DeepCopy() *VirtualServiceBaseRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualServiceBaseRef.
func (*VirtualServiceBaseRef) DeepCopyInto ¶
func (in *VirtualServiceBaseRef) DeepCopyInto(out *VirtualServiceBaseRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (VirtualServiceBaseRef) IsReference ¶
func (ref VirtualServiceBaseRef) IsReference(base *VirtualServiceBase) bool
type VirtualServiceBaseSpec ¶
type VirtualServiceBaseSpec struct {
VirtualService `json:",inline"`
}
VirtualServiceBaseSpec defines the desired state of VirtualServiceBase
func (*VirtualServiceBaseSpec) DeepCopy ¶
func (in *VirtualServiceBaseSpec) DeepCopy() *VirtualServiceBaseSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualServiceBaseSpec.
func (*VirtualServiceBaseSpec) DeepCopyInto ¶
func (in *VirtualServiceBaseSpec) DeepCopyInto(out *VirtualServiceBaseSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VirtualServiceBaseStatus ¶
type VirtualServiceBaseStatus struct { }
VirtualServiceBaseStatus defines the observed state of VirtualServiceBase
func (*VirtualServiceBaseStatus) DeepCopy ¶
func (in *VirtualServiceBaseStatus) DeepCopy() *VirtualServiceBaseStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualServiceBaseStatus.
func (*VirtualServiceBaseStatus) DeepCopyInto ¶
func (in *VirtualServiceBaseStatus) DeepCopyInto(out *VirtualServiceBaseStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.