v1alpha1

package
v0.2.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2020 License: Apache-2.0 Imports: 12 Imported by: 46

Documentation

Overview

+k8s:deepcopy-gen=package +groupName=fleet.cattle.io

+k8s:deepcopy-gen=package +groupName=fleet.cattle.io

+k8s:deepcopy-gen=package +groupName=fleet.cattle.io

Index

Constants

This section is empty.

Variables

View Source
var (
	BundleConditionReady              = "Ready"
	BundleDeploymentConditionReady    = "Ready"
	BundleDeploymentConditionDeployed = "Deployed"
)
View Source
var (
	ClusterConditionReady           = "Ready"
	ClusterGroupAnnotation          = "fleet.cattle.io/cluster-group"
	ClusterGroupTokenAnnotation     = "fleet.cattle.io/cluster-group-token"
	ClusterGroupNamespaceAnnotation = "fleet.cattle.io/cluster-group-namespace"
	ClusterNamespaceAnnotation      = "fleet.cattle.io/cluster-namespace"
	ClusterAnnotation               = "fleet.cattle.io/cluster"
	RequestAnnotation               = "fleet.cattle.io/request"
	TTLSecondsAnnotation            = "fleet.cattle.io/ttl-seconds"
	ManagedAnnotation               = "fleet.cattle.io/managed"
	AnnotationGroup                 = "fleet.cattle.io/"

	BootstrapToken = "fleet.cattle.io/bootstrap-token"
)
View Source
var (
	BundleResourceName                     = "bundles"
	BundleDeploymentResourceName           = "bundledeployments"
	ClusterResourceName                    = "clusters"
	ClusterGroupResourceName               = "clustergroups"
	ClusterGroupTokenResourceName          = "clustergrouptokens"
	ClusterRegistrationRequestResourceName = "clusterregistrationrequests"
	ContentResourceName                    = "contents"
)
View Source
var (
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	AddToScheme   = SchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: fleet.GroupName, Version: "v1alpha1"}

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 Bundle

type Bundle struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   BundleSpec   `json:"spec"`
	Status BundleStatus `json:"status"`
}

func NewBundle

func NewBundle(namespace, name string, obj Bundle) *Bundle

func (*Bundle) DeepCopy

func (in *Bundle) DeepCopy() *Bundle

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

func (*Bundle) DeepCopyInto

func (in *Bundle) DeepCopyInto(out *Bundle)

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

func (*Bundle) DeepCopyObject

func (in *Bundle) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type BundleDeployment

type BundleDeployment struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   BundleDeploymentSpec   `json:"spec,omitempty"`
	Status BundleDeploymentStatus `json:"status,omitempty"`
}

func NewBundleDeployment

func NewBundleDeployment(namespace, name string, obj BundleDeployment) *BundleDeployment

func (*BundleDeployment) DeepCopy

func (in *BundleDeployment) DeepCopy() *BundleDeployment

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

func (*BundleDeployment) DeepCopyInto

func (in *BundleDeployment) DeepCopyInto(out *BundleDeployment)

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

func (*BundleDeployment) DeepCopyObject

func (in *BundleDeployment) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type BundleDeploymentList

type BundleDeploymentList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []BundleDeployment `json:"items"`
}

BundleDeploymentList is a list of BundleDeployment resources

func (*BundleDeploymentList) DeepCopy

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

func (*BundleDeploymentList) DeepCopyInto

func (in *BundleDeploymentList) DeepCopyInto(out *BundleDeploymentList)

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

func (*BundleDeploymentList) DeepCopyObject

func (in *BundleDeploymentList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type BundleDeploymentOptions

type BundleDeploymentOptions struct {
	DefaultNamespace string      `json:"defaultNamespace,omitempty"`
	KustomizeDir     string      `json:"kustomizeDir,omitempty"`
	TimeoutSeconds   int         `json:"timeoutSeconds,omitempty"`
	Values           *GenericMap `json:"values,omitempty"`
}

func (*BundleDeploymentOptions) DeepCopy

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

func (*BundleDeploymentOptions) DeepCopyInto

func (in *BundleDeploymentOptions) DeepCopyInto(out *BundleDeploymentOptions)

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

type BundleDeploymentSpec

type BundleDeploymentSpec struct {
	StagedOptions      BundleDeploymentOptions `json:"stagedOptions,omitempty"`
	StagedDeploymentID string                  `json:"stagedDeploymentID,omitempty"`
	Options            BundleDeploymentOptions `json:"options,omitempty"`
	DeploymentID       string                  `json:"deploymentID,omitempty"`
}

func (*BundleDeploymentSpec) DeepCopy

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

func (*BundleDeploymentSpec) DeepCopyInto

func (in *BundleDeploymentSpec) DeepCopyInto(out *BundleDeploymentSpec)

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

type BundleDeploymentStatus

type BundleDeploymentStatus struct {
	Conditions          []genericcondition.GenericCondition `json:"conditions,omitempty"`
	AppliedDeploymentID string                              `json:"appliedDeploymentID,omitempty"`
	Release             string                              `json:"release,omitempty"`
	Ready               bool                                `json:"ready,omitempty"`
	NonModified         bool                                `json:"nonModified,omitempty"`
	NonReadyStatus      []NonReadyStatus                    `json:"nonReadyStatus,omitempty"`
	ModifiedStatus      []ModifiedStatus                    `json:"modifiedStatus,omitempty"`
}

func (*BundleDeploymentStatus) DeepCopy

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

func (*BundleDeploymentStatus) DeepCopyInto

func (in *BundleDeploymentStatus) DeepCopyInto(out *BundleDeploymentStatus)

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

type BundleList

type BundleList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []Bundle `json:"items"`
}

BundleList is a list of Bundle resources

func (*BundleList) DeepCopy

func (in *BundleList) DeepCopy() *BundleList

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

func (*BundleList) DeepCopyInto

func (in *BundleList) DeepCopyInto(out *BundleList)

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

func (*BundleList) DeepCopyObject

func (in *BundleList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type BundleOverlay

type BundleOverlay struct {
	BundleDeploymentOptions

	Name      string           `json:"name,omitempty"`
	Overlays  []string         `json:"overlays,omitempty"`
	Resources []BundleResource `json:"resources,omitempty"`
}

func (*BundleOverlay) DeepCopy

func (in *BundleOverlay) DeepCopy() *BundleOverlay

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

func (*BundleOverlay) DeepCopyInto

func (in *BundleOverlay) DeepCopyInto(out *BundleOverlay)

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

type BundleResource

type BundleResource struct {
	Name     string `json:"name,omitempty"`
	Content  string `json:"content,omitempty"`
	Encoding string `json:"encoding,omitempty"`
}

func (*BundleResource) DeepCopy

func (in *BundleResource) DeepCopy() *BundleResource

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

func (*BundleResource) DeepCopyInto

func (in *BundleResource) DeepCopyInto(out *BundleResource)

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

type BundleSpec

type BundleSpec struct {
	BundleDeploymentOptions

	Paused          bool             `json:"paused,omitempty"`
	RolloutStrategy *RolloutStrategy `json:"rolloutStrategy,omitempty"`
	Resources       []BundleResource `json:"resources,omitempty"`
	Overlays        []BundleOverlay  `json:"overlays,omitempty"`
	Targets         []BundleTarget   `json:"targets,omitempty"`
}

func (*BundleSpec) DeepCopy

func (in *BundleSpec) DeepCopy() *BundleSpec

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

func (*BundleSpec) DeepCopyInto

func (in *BundleSpec) DeepCopyInto(out *BundleSpec)

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

type BundleState

type BundleState string
var (
	Ready      BundleState = "Ready"
	NotReady   BundleState = "NotReady"
	NotApplied BundleState = "NotApplied"
	ErrApplied BundleState = "ErrApplied"
	OutOfSync  BundleState = "OutOfSync"
	Pending    BundleState = "Pending"
	Modified   BundleState = "Modified"
)

type BundleStatus

type BundleStatus struct {
	Conditions []genericcondition.GenericCondition `json:"conditions,omitempty"`

	Summary                  BundleSummary     `json:"summary,omitempty"`
	NewlyCreated             int               `json:"newlyCreated,omitempty"`
	Unavailable              int               `json:"unavailable,omitempty"`
	UnavailablePartitions    int               `json:"unavailablePartitions,omitempty"`
	MaxUnavailable           int               `json:"maxUnavailable,omitempty"`
	MaxUnavailablePartitions int               `json:"maxUnavailablePartitions,omitempty"`
	MaxNew                   int               `json:"maxNew,omitempty"`
	PartitionStatus          []PartitionStatus `json:"partitions,omitempty"`
}

func (*BundleStatus) DeepCopy

func (in *BundleStatus) DeepCopy() *BundleStatus

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

func (*BundleStatus) DeepCopyInto

func (in *BundleStatus) DeepCopyInto(out *BundleStatus)

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

type BundleSummary

type BundleSummary struct {
	NotReady          int                `json:"notReady,omitempty"`
	NotApplied        int                `json:"notApplied,omitempty"`
	ErrApplied        int                `json:"errApplied,omitempty"`
	OutOfSync         int                `json:"outOfSync,omitempty"`
	Modified          int                `json:"modified,omitempty"`
	Ready             int                `json:"ready"`
	Pending           int                `json:"pending,omitempty"`
	DesiredReady      int                `json:"desiredReady"`
	NonReadyResources []NonReadyResource `json:"nonReadyResources,omitempty"`
}

func (*BundleSummary) DeepCopy

func (in *BundleSummary) DeepCopy() *BundleSummary

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

func (*BundleSummary) DeepCopyInto

func (in *BundleSummary) DeepCopyInto(out *BundleSummary)

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

type BundleTarget

type BundleTarget struct {
	BundleDeploymentOptions
	Name                 string                `json:"name,omitempty"`
	ClusterSelector      *metav1.LabelSelector `json:"clusterSelector,omitempty"`
	ClusterGroup         string                `json:"clusterGroup,omitempty"`
	ClusterGroupSelector *metav1.LabelSelector `json:"clusterGroupSelector,omitempty"`
	Overlays             []string              `json:"overlays,omitempty"`
}

func (*BundleTarget) DeepCopy

func (in *BundleTarget) DeepCopy() *BundleTarget

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

func (*BundleTarget) DeepCopyInto

func (in *BundleTarget) DeepCopyInto(out *BundleTarget)

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

type Cluster

type Cluster struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   ClusterSpec   `json:"spec,omitempty"`
	Status ClusterStatus `json:"status,omitempty"`
}

func NewCluster

func NewCluster(namespace, name string, obj Cluster) *Cluster

func (*Cluster) DeepCopy

func (in *Cluster) DeepCopy() *Cluster

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

func (*Cluster) DeepCopyInto

func (in *Cluster) DeepCopyInto(out *Cluster)

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

func (*Cluster) DeepCopyObject

func (in *Cluster) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ClusterGroup

type ClusterGroup struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   ClusterGroupSpec   `json:"spec"`
	Status ClusterGroupStatus `json:"status"`
}

func NewClusterGroup

func NewClusterGroup(namespace, name string, obj ClusterGroup) *ClusterGroup

func (*ClusterGroup) DeepCopy

func (in *ClusterGroup) DeepCopy() *ClusterGroup

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

func (*ClusterGroup) DeepCopyInto

func (in *ClusterGroup) DeepCopyInto(out *ClusterGroup)

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

func (*ClusterGroup) DeepCopyObject

func (in *ClusterGroup) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ClusterGroupList

type ClusterGroupList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []ClusterGroup `json:"items"`
}

ClusterGroupList is a list of ClusterGroup resources

func (*ClusterGroupList) DeepCopy

func (in *ClusterGroupList) DeepCopy() *ClusterGroupList

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

func (*ClusterGroupList) DeepCopyInto

func (in *ClusterGroupList) DeepCopyInto(out *ClusterGroupList)

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

func (*ClusterGroupList) DeepCopyObject

func (in *ClusterGroupList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ClusterGroupSpec

type ClusterGroupSpec struct {
	Pause bool `json:"pause,omitempty"`
}

func (*ClusterGroupSpec) DeepCopy

func (in *ClusterGroupSpec) DeepCopy() *ClusterGroupSpec

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

func (*ClusterGroupSpec) DeepCopyInto

func (in *ClusterGroupSpec) DeepCopyInto(out *ClusterGroupSpec)

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

type ClusterGroupStatus

type ClusterGroupStatus struct {
	Namespace            string                              `json:"namespace,omitempty"`
	ClusterCount         int                                 `json:"clusterCount"`
	NonReadyClusterCount int                                 `json:"nonReadyClusterCount"`
	NonReadyClusters     []string                            `json:"nonReadyClusters,omitempty"`
	Conditions           []genericcondition.GenericCondition `json:"conditions,omitempty"`
	Summary              BundleSummary                       `json:"summary,omitempty"`
}

func (*ClusterGroupStatus) DeepCopy

func (in *ClusterGroupStatus) DeepCopy() *ClusterGroupStatus

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

func (*ClusterGroupStatus) DeepCopyInto

func (in *ClusterGroupStatus) DeepCopyInto(out *ClusterGroupStatus)

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

type ClusterGroupToken

type ClusterGroupToken struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   ClusterGroupTokenSpec   `json:"spec,omitempty"`
	Status ClusterGroupTokenStatus `json:"status,omitempty"`
}

func NewClusterGroupToken

func NewClusterGroupToken(namespace, name string, obj ClusterGroupToken) *ClusterGroupToken

func (*ClusterGroupToken) DeepCopy

func (in *ClusterGroupToken) DeepCopy() *ClusterGroupToken

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

func (*ClusterGroupToken) DeepCopyInto

func (in *ClusterGroupToken) DeepCopyInto(out *ClusterGroupToken)

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

func (*ClusterGroupToken) DeepCopyObject

func (in *ClusterGroupToken) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ClusterGroupTokenList

type ClusterGroupTokenList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []ClusterGroupToken `json:"items"`
}

ClusterGroupTokenList is a list of ClusterGroupToken resources

func (*ClusterGroupTokenList) DeepCopy

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

func (*ClusterGroupTokenList) DeepCopyInto

func (in *ClusterGroupTokenList) DeepCopyInto(out *ClusterGroupTokenList)

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

func (*ClusterGroupTokenList) DeepCopyObject

func (in *ClusterGroupTokenList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ClusterGroupTokenSpec

type ClusterGroupTokenSpec struct {
	TTLSeconds       int    `json:"ttlSeconds,omitempty"`
	ClusterGroupName string `json:"clusterGroupName,omitempty"`
}

func (*ClusterGroupTokenSpec) DeepCopy

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

func (*ClusterGroupTokenSpec) DeepCopyInto

func (in *ClusterGroupTokenSpec) DeepCopyInto(out *ClusterGroupTokenSpec)

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

type ClusterGroupTokenStatus

type ClusterGroupTokenStatus struct {
	SecretName string `json:"secretName,omitempty"`
}

func (*ClusterGroupTokenStatus) DeepCopy

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

func (*ClusterGroupTokenStatus) DeepCopyInto

func (in *ClusterGroupTokenStatus) DeepCopyInto(out *ClusterGroupTokenStatus)

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

type ClusterList

type ClusterList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []Cluster `json:"items"`
}

ClusterList is a list of Cluster resources

func (*ClusterList) DeepCopy

func (in *ClusterList) DeepCopy() *ClusterList

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

func (*ClusterList) DeepCopyInto

func (in *ClusterList) DeepCopyInto(out *ClusterList)

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

func (*ClusterList) DeepCopyObject

func (in *ClusterList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ClusterRegistrationRequest

type ClusterRegistrationRequest struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   ClusterRegistrationRequestSpec   `json:"spec,omitempty"`
	Status ClusterRegistrationRequestStatus `json:"status,omitempty"`
}

func NewClusterRegistrationRequest

func NewClusterRegistrationRequest(namespace, name string, obj ClusterRegistrationRequest) *ClusterRegistrationRequest

func (*ClusterRegistrationRequest) DeepCopy

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

func (*ClusterRegistrationRequest) DeepCopyInto

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

func (*ClusterRegistrationRequest) DeepCopyObject

func (in *ClusterRegistrationRequest) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ClusterRegistrationRequestList

type ClusterRegistrationRequestList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []ClusterRegistrationRequest `json:"items"`
}

ClusterRegistrationRequestList is a list of ClusterRegistrationRequest resources

func (*ClusterRegistrationRequestList) DeepCopy

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

func (*ClusterRegistrationRequestList) DeepCopyInto

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

func (*ClusterRegistrationRequestList) DeepCopyObject

func (in *ClusterRegistrationRequestList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ClusterRegistrationRequestSpec

type ClusterRegistrationRequestSpec struct {
	ClientID      string            `json:"clientID,omitempty"`
	ClientRandom  string            `json:"clientRandom,omitempty"`
	ClusterLabels map[string]string `json:"clusterLabels,omitempty"`
}

func (*ClusterRegistrationRequestSpec) DeepCopy

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

func (*ClusterRegistrationRequestSpec) DeepCopyInto

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

type ClusterRegistrationRequestStatus

type ClusterRegistrationRequestStatus struct {
	ClusterName      string `json:"clusterName,omitempty"`
	ClusterNamespace string `json:"clusterNamespace,omitempty"`
	Granted          bool   `json:"granted,omitempty"`
}

func (*ClusterRegistrationRequestStatus) DeepCopy

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

func (*ClusterRegistrationRequestStatus) DeepCopyInto

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

type ClusterSpec

type ClusterSpec struct {
	Paused bool `json:"paused,omitempty"`
}

func (*ClusterSpec) DeepCopy

func (in *ClusterSpec) DeepCopy() *ClusterSpec

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

func (*ClusterSpec) DeepCopyInto

func (in *ClusterSpec) DeepCopyInto(out *ClusterSpec)

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

type ClusterStatus

type ClusterStatus struct {
	Conditions            []genericcondition.GenericCondition `json:"conditions,omitempty"`
	ClusterGroupName      string                              `json:"clusterGroupName,omitempty"`
	ClusterGroupNamespace string                              `json:"clusterGroupNamespace,omitempty"`
	Namespace             string                              `json:"namespace,omitempty"`
	Summary               BundleSummary                       `json:"summary,omitempty"`
}

func (*ClusterStatus) DeepCopy

func (in *ClusterStatus) DeepCopy() *ClusterStatus

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

func (*ClusterStatus) DeepCopyInto

func (in *ClusterStatus) DeepCopyInto(out *ClusterStatus)

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

type Content

type Content struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Content []byte `json:"content,omitempty"`
}

func NewContent

func NewContent(namespace, name string, obj Content) *Content

func (*Content) DeepCopy

func (in *Content) DeepCopy() *Content

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

func (*Content) DeepCopyInto

func (in *Content) DeepCopyInto(out *Content)

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

func (*Content) DeepCopyObject

func (in *Content) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ContentList

type ContentList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []Content `json:"items"`
}

ContentList is a list of Content resources

func (*ContentList) DeepCopy

func (in *ContentList) DeepCopy() *ContentList

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

func (*ContentList) DeepCopyInto

func (in *ContentList) DeepCopyInto(out *ContentList)

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

func (*ContentList) DeepCopyObject

func (in *ContentList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type GenericMap

type GenericMap struct {
	Data map[string]interface{} `json:"-"`
}

func (*GenericMap) DeepCopy

func (in *GenericMap) DeepCopy() *GenericMap

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

func (*GenericMap) DeepCopyInto

func (in *GenericMap) DeepCopyInto(out *GenericMap)

func (GenericMap) MarshalJSON

func (in GenericMap) MarshalJSON() ([]byte, error)

func (*GenericMap) UnmarshalJSON

func (in *GenericMap) UnmarshalJSON(data []byte) error

type ModifiedStatus

type ModifiedStatus struct {
	Kind       string `json:"kind,omitempty"`
	APIVersion string `json:"apiVersion,omitempty"`
	Namespace  string `json:"namespace,omitempty"`
	Name       string `json:"name,omitempty"`
	Create     bool   `json:"missing,omitempty"`
	Delete     bool   `json:"delete,omitempty"`
	Patch      string `json:"patch,omitempty"`
}

func (*ModifiedStatus) DeepCopy

func (in *ModifiedStatus) DeepCopy() *ModifiedStatus

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

func (*ModifiedStatus) DeepCopyInto

func (in *ModifiedStatus) DeepCopyInto(out *ModifiedStatus)

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

func (ModifiedStatus) String

func (in ModifiedStatus) String() string

type NonReadyResource

type NonReadyResource struct {
	Name    string      `json:"name,omitempty"`
	State   BundleState `json:"bundleState,omitempty"`
	Message string      `json:"message,omitempty"`
}

func (*NonReadyResource) DeepCopy

func (in *NonReadyResource) DeepCopy() *NonReadyResource

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

func (*NonReadyResource) DeepCopyInto

func (in *NonReadyResource) DeepCopyInto(out *NonReadyResource)

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

type NonReadyStatus

type NonReadyStatus struct {
	UID        types.UID       `json:"uid,omitempty"`
	Kind       string          `json:"kind,omitempty"`
	APIVersion string          `json:"apiVersion,omitempty"`
	Namespace  string          `json:"namespace,omitempty"`
	Name       string          `json:"name,omitempty"`
	Summary    summary.Summary `json:"summary,omitempty"`
}

func (*NonReadyStatus) DeepCopy

func (in *NonReadyStatus) DeepCopy() *NonReadyStatus

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

func (*NonReadyStatus) DeepCopyInto

func (in *NonReadyStatus) DeepCopyInto(out *NonReadyStatus)

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

func (NonReadyStatus) String

func (in NonReadyStatus) String() string

type Partition added in v0.2.0

type Partition struct {
	Name                 string                `json:"name,omitempty"`
	MaxUnavailable       *intstr.IntOrString   `json:"maxUnavailable,omitempty"`
	ClusterSelector      *metav1.LabelSelector `json:"clusterSelector,omitempty"`
	ClusterGroup         string                `json:"clusterGroup,omitempty"`
	ClusterGroupSelector *metav1.LabelSelector `json:"clusterGroupSelector,omitempty"`
}

func (*Partition) DeepCopy added in v0.2.0

func (in *Partition) DeepCopy() *Partition

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

func (*Partition) DeepCopyInto added in v0.2.0

func (in *Partition) DeepCopyInto(out *Partition)

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

type PartitionStatus added in v0.2.0

type PartitionStatus struct {
	Name           string        `json:"name,omitempty"`
	Count          int           `json:"count,omitempty"`
	MaxUnavailable int           `json:"maxUnavailable,omitempty"`
	Unavailable    int           `json:"unavailable,omitempty"`
	Summary        BundleSummary `json:"summary,omitempty"`
}

func (*PartitionStatus) DeepCopy added in v0.2.0

func (in *PartitionStatus) DeepCopy() *PartitionStatus

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

func (*PartitionStatus) DeepCopyInto added in v0.2.0

func (in *PartitionStatus) DeepCopyInto(out *PartitionStatus)

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

type RolloutStrategy

type RolloutStrategy struct {
	MaxUnavailable           *intstr.IntOrString `json:"maxUnavailable,omitempty"`
	MaxUnavailablePartitions *intstr.IntOrString `json:"maxUnavailablePartitions,omitempty"`
	AutoPartitionSize        *intstr.IntOrString `json:"autoPartitionSize,omitempty"`
	Partitions               []Partition         `json:"partitions,omitempty"`
}

func (*RolloutStrategy) DeepCopy

func (in *RolloutStrategy) DeepCopy() *RolloutStrategy

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

func (*RolloutStrategy) DeepCopyInto

func (in *RolloutStrategy) DeepCopyInto(out *RolloutStrategy)

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