Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the cache v1alpha1 API group +kubebuilder:object:generate=true +groupName=cache.service-proxy-operator.local
Index ¶
- Constants
- Variables
- type ServiceProxy
- func (in *ServiceProxy) DeepCopy() *ServiceProxy
- func (in *ServiceProxy) DeepCopyInto(out *ServiceProxy)
- func (in *ServiceProxy) DeepCopyObject() runtime.Object
- func (s ServiceProxy) GetConfigMapName() string
- func (s ServiceProxy) GetIngressName() string
- func (s ServiceProxy) GetServiceName() string
- func (s ServiceProxy) ServiceListMatches(serviceList []string) bool
- type ServiceProxyList
- type ServiceProxySpec
- type ServiceProxyStatus
Constants ¶
const ( ConfigMapKey = "nginx.conf" ServiceProxyHTTPPortName = "http" )
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "cache.service-proxy-operator.local", 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 ServiceProxy ¶
type ServiceProxy struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ServiceProxySpec `json:"spec,omitempty"` Status ServiceProxyStatus `json:"status,omitempty"` }
ServiceProxy is the Schema for the serviceproxies API
func (*ServiceProxy) DeepCopy ¶
func (in *ServiceProxy) DeepCopy() *ServiceProxy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceProxy.
func (*ServiceProxy) DeepCopyInto ¶
func (in *ServiceProxy) DeepCopyInto(out *ServiceProxy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ServiceProxy) DeepCopyObject ¶
func (in *ServiceProxy) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (ServiceProxy) GetConfigMapName ¶
func (s ServiceProxy) GetConfigMapName() string
func (ServiceProxy) GetIngressName ¶
func (s ServiceProxy) GetIngressName() string
func (ServiceProxy) GetServiceName ¶
func (s ServiceProxy) GetServiceName() string
func (ServiceProxy) ServiceListMatches ¶
func (s ServiceProxy) ServiceListMatches(serviceList []string) bool
ServiceListMatches returns true if the serviceList in parameter matches the one in the spec, false if not
type ServiceProxyList ¶
type ServiceProxyList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ServiceProxy `json:"items"` }
ServiceProxyList contains a list of ServiceProxy
func (*ServiceProxyList) DeepCopy ¶
func (in *ServiceProxyList) DeepCopy() *ServiceProxyList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceProxyList.
func (*ServiceProxyList) DeepCopyInto ¶
func (in *ServiceProxyList) DeepCopyInto(out *ServiceProxyList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ServiceProxyList) DeepCopyObject ¶
func (in *ServiceProxyList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ServiceProxySpec ¶
type ServiceProxySpec struct { // ServiceNames points to the services the proxy should be in effect for // +operator-sdk:csv:customresourcedefinitions:type=spec // +optional ServiceNames []string `json:"serviceNames"` // ServiceNames points to the services the proxy should be in effect for // +operator-sdk:csv:customresourcedefinitions:type=spec // +optional // +kubebuilder:default:="" IngressDomainMatch string `json:"ingressDomainMatch"` }
ServiceProxySpec defines the desired state of ServiceProxy
func (*ServiceProxySpec) DeepCopy ¶
func (in *ServiceProxySpec) DeepCopy() *ServiceProxySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceProxySpec.
func (*ServiceProxySpec) DeepCopyInto ¶
func (in *ServiceProxySpec) DeepCopyInto(out *ServiceProxySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceProxyStatus ¶
type ServiceProxyStatus struct { // ServiceNames represents the names of services currently being proxied // +operator-sdk:csv:customresourcedefinitions:type=status // +optional ServiceNames []string `json:"serviceNames"` Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"` }
ServiceProxyStatus defines the observed state of ServiceProxy
func (*ServiceProxyStatus) DeepCopy ¶
func (in *ServiceProxyStatus) DeepCopy() *ServiceProxyStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceProxyStatus.
func (*ServiceProxyStatus) DeepCopyInto ¶
func (in *ServiceProxyStatus) DeepCopyInto(out *ServiceProxyStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.