v1

package
v0.0.0-...-7b559c8 Latest Latest
Warning

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

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

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

Constants

This section is empty.

Variables

View Source
var (
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	AddToScheme   = SchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: nodecontroller.GroupName, Version: "v1"}

SchemeGroupVersion is group version used to register these objects

Functions

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns back a Group qualified GroupKind

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

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

func (*NodeCheckerSpecSourceNodes) DeepCopyInto

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

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

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

func (*TargetClusterEndpointsEndpoint) DeepCopyInto

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL