common

package
v0.0.0-...-86260ac Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GenericClusterReference

type GenericClusterReference struct {
	// Cluster Name
	Name string `json:"name"`
}

Generic Cluster Reference

func (*GenericClusterReference) DeepCopy

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

func (*GenericClusterReference) DeepCopyInto

func (in *GenericClusterReference) DeepCopyInto(out *GenericClusterReference)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GenericPlacementFields

type GenericPlacementFields struct {
	// Clusters listed with name will be selected and ignoring other clusterSelectors
	Clusters        []GenericClusterReference `json:"clusters,omitempty"`
	ClusterSelector *metav1.LabelSelector     `json:"clusterSelector,omitempty"`
}

Generic Placement Fields

func (*GenericPlacementFields) DeepCopy

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

func (*GenericPlacementFields) DeepCopyInto

func (in *GenericPlacementFields) DeepCopyInto(out *GenericPlacementFields)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GenericPlacementReference

type GenericPlacementReference struct {
	// kind must be either placement or placementRule
	Kind string `json:"kind"`
	// Name
	Name string `json:"name"`
	// Namespace
	Namespace string `json:"namespace"`
}

Generic Reference

func (*GenericPlacementReference) DeepCopy

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

func (*GenericPlacementReference) DeepCopyInto

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