Documentation
¶
Overview ¶
Copyright 2022 Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Index ¶
- Variables
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type ConnectionCheck
- type FeatureCheck
- type NodeChecker
- type NodeCheckerList
- type NodeCheckerSpec
- type NodeCheckerSpecSourceNodes
- type NodeCheckerStatus
- type TargetClusterEndpoints
- type TargetClusterEndpointsEndpoint
- type TargetClusterNodes
- type TargetExternal
Constants ¶
This section is empty.
Variables ¶
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: nodecontroller.GroupName, Version: "v1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type ConnectionCheck ¶
type ConnectionCheck struct { External []TargetExternal `json:"external,omitempty"` ClusterNodes []TargetClusterNodes `json:"clusterNodes,omitempty"` ClusterEndpoints []TargetClusterEndpoints `json:"clusterEndpoints,omitempty"` }
func (*ConnectionCheck) DeepCopy ¶
func (in *ConnectionCheck) DeepCopy() *ConnectionCheck
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectionCheck.
func (*ConnectionCheck) DeepCopyInto ¶
func (in *ConnectionCheck) DeepCopyInto(out *ConnectionCheck)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FeatureCheck ¶
type FeatureCheck struct { Command string `json:"command,omitempty"` SyncLabels map[string]string `json:"syncLabels,omitempty"` }
func (*FeatureCheck) DeepCopy ¶
func (in *FeatureCheck) DeepCopy() *FeatureCheck
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FeatureCheck.
func (*FeatureCheck) DeepCopyInto ¶
func (in *FeatureCheck) DeepCopyInto(out *FeatureCheck)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NodeChecker ¶
type NodeChecker struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec NodeCheckerSpec `json:"spec,omitempty"` Status NodeCheckerStatus `json:"status,omitempty"` }
NodeChecker is specification for a NodeChecker resource
func (*NodeChecker) DeepCopy ¶
func (in *NodeChecker) DeepCopy() *NodeChecker
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeChecker.
func (*NodeChecker) DeepCopyInto ¶
func (in *NodeChecker) DeepCopyInto(out *NodeChecker)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NodeChecker) DeepCopyObject ¶
func (in *NodeChecker) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NodeCheckerList ¶
type NodeCheckerList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []NodeChecker `json:"items"` }
func (*NodeCheckerList) DeepCopy ¶
func (in *NodeCheckerList) DeepCopy() *NodeCheckerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeCheckerList.
func (*NodeCheckerList) DeepCopyInto ¶
func (in *NodeCheckerList) DeepCopyInto(out *NodeCheckerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NodeCheckerList) DeepCopyObject ¶
func (in *NodeCheckerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NodeCheckerSpec ¶
type NodeCheckerSpec struct { // +kubebuilder:validation:Enum=connection;feature Type string `json:"type"` Schedule string `json:"schedule"` SourceNodes NodeCheckerSpecSourceNodes `json:"sourceNodes"` ConnectionCheck ConnectionCheck `json:"connectionCheck,omitempty"` FeatureCheck FeatureCheck `json:"featureCheck,omitempty"` }
func (*NodeCheckerSpec) DeepCopy ¶
func (in *NodeCheckerSpec) DeepCopy() *NodeCheckerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeCheckerSpec.
func (*NodeCheckerSpec) DeepCopyInto ¶
func (in *NodeCheckerSpec) DeepCopyInto(out *NodeCheckerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NodeCheckerSpecSourceNodes ¶
type NodeCheckerSpecSourceNodes struct {
MatchLabels map[string]string `json:"matchLabels,omitempty"`
}
func (*NodeCheckerSpecSourceNodes) DeepCopy ¶
func (in *NodeCheckerSpecSourceNodes) DeepCopy() *NodeCheckerSpecSourceNodes
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeCheckerSpecSourceNodes.
func (*NodeCheckerSpecSourceNodes) DeepCopyInto ¶
func (in *NodeCheckerSpecSourceNodes) DeepCopyInto(out *NodeCheckerSpecSourceNodes)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NodeCheckerStatus ¶
type NodeCheckerStatus struct { LastSchedule string `json:"lastSchedule"` LastStatus string `json:"lastStatus"` }
func (*NodeCheckerStatus) DeepCopy ¶
func (in *NodeCheckerStatus) DeepCopy() *NodeCheckerStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeCheckerStatus.
func (*NodeCheckerStatus) DeepCopyInto ¶
func (in *NodeCheckerStatus) DeepCopyInto(out *NodeCheckerStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TargetClusterEndpoints ¶
type TargetClusterEndpoints struct { Name string `json:"name"` Endpoint TargetClusterEndpointsEndpoint `json:"endpoint"` SyncLabels map[string]string `json:"syncLabels,omitempty"` }
func (*TargetClusterEndpoints) DeepCopy ¶
func (in *TargetClusterEndpoints) DeepCopy() *TargetClusterEndpoints
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TargetClusterEndpoints.
func (*TargetClusterEndpoints) DeepCopyInto ¶
func (in *TargetClusterEndpoints) DeepCopyInto(out *TargetClusterEndpoints)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TargetClusterEndpointsEndpoint ¶
type TargetClusterEndpointsEndpoint struct { Name string `json:"name"` Namespace string `json:"namespace"` SyncLabels map[string]string `json:"syncLabels,omitempty"` }
func (*TargetClusterEndpointsEndpoint) DeepCopy ¶
func (in *TargetClusterEndpointsEndpoint) DeepCopy() *TargetClusterEndpointsEndpoint
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TargetClusterEndpointsEndpoint.
func (*TargetClusterEndpointsEndpoint) DeepCopyInto ¶
func (in *TargetClusterEndpointsEndpoint) DeepCopyInto(out *TargetClusterEndpointsEndpoint)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TargetClusterNodes ¶
type TargetClusterNodes struct { Name string `json:"name"` MatchLabels map[string]string `json:"matchLabels"` Port int `json:"port"` Protocol string `json:"protocol"` SyncLabels map[string]string `json:"syncLabels,omitempty"` }
func (*TargetClusterNodes) DeepCopy ¶
func (in *TargetClusterNodes) DeepCopy() *TargetClusterNodes
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TargetClusterNodes.
func (*TargetClusterNodes) DeepCopyInto ¶
func (in *TargetClusterNodes) DeepCopyInto(out *TargetClusterNodes)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TargetExternal ¶
type TargetExternal struct { Name string `json:"name"` Host string `json:"host"` Port int `json:"port"` Protocol string `json:"protocol"` SyncLabels map[string]string `json:"syncLabels,omitempty"` }
func (*TargetExternal) DeepCopy ¶
func (in *TargetExternal) DeepCopy() *TargetExternal
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TargetExternal.
func (*TargetExternal) DeepCopyInto ¶
func (in *TargetExternal) DeepCopyInto(out *TargetExternal)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.