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 ¶
- Variables
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type AgentStatus
- type Bundle
- type BundleDeployment
- type BundleDeploymentDisplay
- type BundleDeploymentList
- type BundleDeploymentOptions
- type BundleDeploymentSpec
- type BundleDeploymentStatus
- type BundleDisplay
- type BundleList
- type BundleNamespaceMapping
- type BundleNamespaceMappingList
- type BundleOverlay
- type BundleResource
- type BundleSpec
- type BundleState
- type BundleStatus
- type BundleSummary
- type BundleTarget
- type BundleTargetRestriction
- type Cluster
- type ClusterDisplay
- type ClusterGroup
- type ClusterGroupDisplay
- type ClusterGroupList
- type ClusterGroupSpec
- type ClusterGroupStatus
- type ClusterList
- type ClusterRegistration
- type ClusterRegistrationList
- type ClusterRegistrationSpec
- type ClusterRegistrationStatus
- type ClusterRegistrationToken
- type ClusterRegistrationTokenList
- type ClusterRegistrationTokenSpec
- type ClusterRegistrationTokenStatus
- type ClusterSpec
- type ClusterStatus
- type Content
- type ContentList
- type GenericMap
- type GitRepo
- type GitRepoDisplay
- type GitRepoList
- type GitRepoSpec
- type GitRepoStatus
- type GitTarget
- type ModifiedStatus
- type NonReadyResource
- type NonReadyStatus
- type Partition
- type PartitionStatus
- type RolloutStrategy
Constants ¶
This section is empty.
Variables ¶
var ( BundleConditionReady = "Ready" BundleDeploymentConditionReady = "Ready" BundleDeploymentConditionDeployed = "Deployed" )
var ( ClusterConditionReady = "Ready" ClusterGroupAnnotation = "fleet.cattle.io/cluster-group" ClusterGroupNamespaceAnnotation = "fleet.cattle.io/cluster-group-namespace" ClusterNamespaceAnnotation = "fleet.cattle.io/cluster-namespace" ClusterAnnotation = "fleet.cattle.io/cluster" TTLSecondsAnnotation = "fleet.cattle.io/ttl-seconds" ManagedAnnotation = "fleet.cattle.io/managed" AnnotationGroup = "fleet.cattle.io/" BootstrapToken = "fleet.cattle.io/bootstrap-token" )
var ( BundleResourceName = "bundles" BundleDeploymentResourceName = "bundledeployments" BundleNamespaceMappingResourceName = "bundlenamespacemappings" ClusterResourceName = "clusters" ClusterGroupResourceName = "clustergroups" ClusterRegistrationResourceName = "clusterregistrations" ClusterRegistrationTokenResourceName = "clusterregistrationtokens" ContentResourceName = "contents" GitRepoResourceName = "gitrepos" )
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: fleet.GroupName, Version: "v1alpha1"}
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 AgentStatus ¶
type AgentStatus struct { LastSeen metav1.Time `json:"lastSeen,omitempty"` Namespace string `json:"namespace,omitempty"` NonReadyNodes int `json:"nonReadyNodes,omitempty"` ReadyNodes int `json:"readyNodes,omitempty"` // At most 3 nodes NonReadyNodeNames []string `json:"nonReadyNodeNames,omitempty"` // At most 3 nodes ReadyNodeNames []string `json:"readyNodeNames,omitempty"` }
func (*AgentStatus) DeepCopy ¶
func (in *AgentStatus) DeepCopy() *AgentStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentStatus.
func (*AgentStatus) DeepCopyInto ¶
func (in *AgentStatus) DeepCopyInto(out *AgentStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Bundle ¶
type Bundle struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec BundleSpec `json:"spec"` Status BundleStatus `json:"status"` }
func (*Bundle) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Bundle.
func (*Bundle) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Bundle) DeepCopyObject ¶
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 BundleDeploymentDisplay ¶
type BundleDeploymentDisplay struct { Deployed string `json:"deployed,omitempty"` Monitored string `json:"monitored,omitempty"` }
func (*BundleDeploymentDisplay) DeepCopy ¶
func (in *BundleDeploymentDisplay) DeepCopy() *BundleDeploymentDisplay
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BundleDeploymentDisplay.
func (*BundleDeploymentDisplay) DeepCopyInto ¶
func (in *BundleDeploymentDisplay) DeepCopyInto(out *BundleDeploymentDisplay)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
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 ¶
func (in *BundleDeploymentList) DeepCopy() *BundleDeploymentList
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:"namespace,omitempty"` KustomizeDir string `json:"kustomizeDir,omitempty"` TimeoutSeconds int `json:"timeoutSeconds,omitempty"` Values *GenericMap `json:"values,omitempty"` ServiceAccount string `json:"serviceAccount,omitempty"` Force bool `json:"force,omitempty"` }
func (*BundleDeploymentOptions) DeepCopy ¶
func (in *BundleDeploymentOptions) DeepCopy() *BundleDeploymentOptions
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 ¶
func (in *BundleDeploymentSpec) DeepCopy() *BundleDeploymentSpec
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"` Display BundleDeploymentDisplay `json:"display,omitempty"` }
func (*BundleDeploymentStatus) DeepCopy ¶
func (in *BundleDeploymentStatus) DeepCopy() *BundleDeploymentStatus
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 BundleDisplay ¶
type BundleDisplay struct {
ReadyClusters string `json:"readyClusters,omitempty"`
}
func (*BundleDisplay) DeepCopy ¶
func (in *BundleDisplay) DeepCopy() *BundleDisplay
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BundleDisplay.
func (*BundleDisplay) DeepCopyInto ¶
func (in *BundleDisplay) DeepCopyInto(out *BundleDisplay)
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 BundleNamespaceMapping ¶
type BundleNamespaceMapping struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` BundleSelector *metav1.LabelSelector `json:"bundleSelector,omitempty"` NamespaceSelector *metav1.LabelSelector `json:"namespaceSelector,omitempty"` }
func NewBundleNamespaceMapping ¶
func NewBundleNamespaceMapping(namespace, name string, obj BundleNamespaceMapping) *BundleNamespaceMapping
func (*BundleNamespaceMapping) DeepCopy ¶
func (in *BundleNamespaceMapping) DeepCopy() *BundleNamespaceMapping
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BundleNamespaceMapping.
func (*BundleNamespaceMapping) DeepCopyInto ¶
func (in *BundleNamespaceMapping) DeepCopyInto(out *BundleNamespaceMapping)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BundleNamespaceMapping) DeepCopyObject ¶
func (in *BundleNamespaceMapping) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type BundleNamespaceMappingList ¶
type BundleNamespaceMappingList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []BundleNamespaceMapping `json:"items"` }
BundleNamespaceMappingList is a list of BundleNamespaceMapping resources
func (*BundleNamespaceMappingList) DeepCopy ¶
func (in *BundleNamespaceMappingList) DeepCopy() *BundleNamespaceMappingList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BundleNamespaceMappingList.
func (*BundleNamespaceMappingList) DeepCopyInto ¶
func (in *BundleNamespaceMappingList) DeepCopyInto(out *BundleNamespaceMappingList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BundleNamespaceMappingList) DeepCopyObject ¶
func (in *BundleNamespaceMappingList) 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"` TargetRestrictions []BundleTargetRestriction `json:"targetRestrictions,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"` MaxNew int `json:"maxNew,omitempty"` PartitionStatus []PartitionStatus `json:"partitions,omitempty"` Display BundleDisplay `json:"display,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 BundleTargetRestriction ¶
type BundleTargetRestriction struct { Name string `json:"name,omitempty"` ClusterSelector *metav1.LabelSelector `json:"clusterSelector,omitempty"` ClusterGroup string `json:"clusterGroup,omitempty"` ClusterGroupSelector *metav1.LabelSelector `json:"clusterGroupSelector,omitempty"` }
func (*BundleTargetRestriction) DeepCopy ¶
func (in *BundleTargetRestriction) DeepCopy() *BundleTargetRestriction
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BundleTargetRestriction.
func (*BundleTargetRestriction) DeepCopyInto ¶
func (in *BundleTargetRestriction) DeepCopyInto(out *BundleTargetRestriction)
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 (*Cluster) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cluster.
func (*Cluster) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Cluster) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ClusterDisplay ¶
type ClusterDisplay struct { ReadyBundles string `json:"readyBundles,omitempty"` ReadyNodes string `json:"readyNodes,omitempty"` SampleNode string `json:"sampleNode,omitempty"` }
func (*ClusterDisplay) DeepCopy ¶
func (in *ClusterDisplay) DeepCopy() *ClusterDisplay
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterDisplay.
func (*ClusterDisplay) DeepCopyInto ¶
func (in *ClusterDisplay) DeepCopyInto(out *ClusterDisplay)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
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 ClusterGroupDisplay ¶
type ClusterGroupDisplay struct { ReadyClusters string `json:"readyClusters,omitempty"` ReadyBundles string `json:"readyBundles,omitempty"` }
func (*ClusterGroupDisplay) DeepCopy ¶
func (in *ClusterGroupDisplay) DeepCopy() *ClusterGroupDisplay
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterGroupDisplay.
func (*ClusterGroupDisplay) DeepCopyInto ¶
func (in *ClusterGroupDisplay) DeepCopyInto(out *ClusterGroupDisplay)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
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 {
Selector *metav1.LabelSelector `json:"selector,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 { ClusterCount int `json:"clusterCount"` NonReadyClusterCount int `json:"nonReadyClusterCount"` NonReadyClusters []string `json:"nonReadyClusters,omitempty"` Conditions []genericcondition.GenericCondition `json:"conditions,omitempty"` Summary BundleSummary `json:"summary,omitempty"` Display ClusterGroupDisplay `json:"display,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 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 ClusterRegistration ¶
type ClusterRegistration struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ClusterRegistrationSpec `json:"spec,omitempty"` Status ClusterRegistrationStatus `json:"status,omitempty"` }
func NewClusterRegistration ¶
func NewClusterRegistration(namespace, name string, obj ClusterRegistration) *ClusterRegistration
func (*ClusterRegistration) DeepCopy ¶
func (in *ClusterRegistration) DeepCopy() *ClusterRegistration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterRegistration.
func (*ClusterRegistration) DeepCopyInto ¶
func (in *ClusterRegistration) DeepCopyInto(out *ClusterRegistration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterRegistration) DeepCopyObject ¶
func (in *ClusterRegistration) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ClusterRegistrationList ¶
type ClusterRegistrationList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []ClusterRegistration `json:"items"` }
ClusterRegistrationList is a list of ClusterRegistration resources
func (*ClusterRegistrationList) DeepCopy ¶
func (in *ClusterRegistrationList) DeepCopy() *ClusterRegistrationList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterRegistrationList.
func (*ClusterRegistrationList) DeepCopyInto ¶
func (in *ClusterRegistrationList) DeepCopyInto(out *ClusterRegistrationList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterRegistrationList) DeepCopyObject ¶
func (in *ClusterRegistrationList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ClusterRegistrationSpec ¶
type ClusterRegistrationSpec struct { ClientID string `json:"clientID,omitempty"` ClientRandom string `json:"clientRandom,omitempty"` ClusterLabels map[string]string `json:"clusterLabels,omitempty"` }
func (*ClusterRegistrationSpec) DeepCopy ¶
func (in *ClusterRegistrationSpec) DeepCopy() *ClusterRegistrationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterRegistrationSpec.
func (*ClusterRegistrationSpec) DeepCopyInto ¶
func (in *ClusterRegistrationSpec) DeepCopyInto(out *ClusterRegistrationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterRegistrationStatus ¶
type ClusterRegistrationStatus struct { ClusterName string `json:"clusterName,omitempty"` Granted bool `json:"granted,omitempty"` }
func (*ClusterRegistrationStatus) DeepCopy ¶
func (in *ClusterRegistrationStatus) DeepCopy() *ClusterRegistrationStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterRegistrationStatus.
func (*ClusterRegistrationStatus) DeepCopyInto ¶
func (in *ClusterRegistrationStatus) DeepCopyInto(out *ClusterRegistrationStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterRegistrationToken ¶
type ClusterRegistrationToken struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ClusterRegistrationTokenSpec `json:"spec,omitempty"` Status ClusterRegistrationTokenStatus `json:"status,omitempty"` }
func NewClusterRegistrationToken ¶
func NewClusterRegistrationToken(namespace, name string, obj ClusterRegistrationToken) *ClusterRegistrationToken
func (*ClusterRegistrationToken) DeepCopy ¶
func (in *ClusterRegistrationToken) DeepCopy() *ClusterRegistrationToken
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterRegistrationToken.
func (*ClusterRegistrationToken) DeepCopyInto ¶
func (in *ClusterRegistrationToken) DeepCopyInto(out *ClusterRegistrationToken)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterRegistrationToken) DeepCopyObject ¶
func (in *ClusterRegistrationToken) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ClusterRegistrationTokenList ¶
type ClusterRegistrationTokenList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []ClusterRegistrationToken `json:"items"` }
ClusterRegistrationTokenList is a list of ClusterRegistrationToken resources
func (*ClusterRegistrationTokenList) DeepCopy ¶
func (in *ClusterRegistrationTokenList) DeepCopy() *ClusterRegistrationTokenList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterRegistrationTokenList.
func (*ClusterRegistrationTokenList) DeepCopyInto ¶
func (in *ClusterRegistrationTokenList) DeepCopyInto(out *ClusterRegistrationTokenList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterRegistrationTokenList) DeepCopyObject ¶
func (in *ClusterRegistrationTokenList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ClusterRegistrationTokenSpec ¶
type ClusterRegistrationTokenSpec struct {
TTLSeconds int `json:"ttlSeconds,omitempty"`
}
func (*ClusterRegistrationTokenSpec) DeepCopy ¶
func (in *ClusterRegistrationTokenSpec) DeepCopy() *ClusterRegistrationTokenSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterRegistrationTokenSpec.
func (*ClusterRegistrationTokenSpec) DeepCopyInto ¶
func (in *ClusterRegistrationTokenSpec) DeepCopyInto(out *ClusterRegistrationTokenSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterRegistrationTokenStatus ¶
type ClusterRegistrationTokenStatus struct { Expires metav1.Time `json:"expires,omitempty"` SecretName string `json:"secretName,omitempty"` }
func (*ClusterRegistrationTokenStatus) DeepCopy ¶
func (in *ClusterRegistrationTokenStatus) DeepCopy() *ClusterRegistrationTokenStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterRegistrationTokenStatus.
func (*ClusterRegistrationTokenStatus) DeepCopyInto ¶
func (in *ClusterRegistrationTokenStatus) DeepCopyInto(out *ClusterRegistrationTokenStatus)
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"` ClientID string `json:"clientID,omitempty"` KubeConfigSecret string `json:"kubeConfigSecret,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"` Namespace string `json:"namespace,omitempty"` Summary BundleSummary `json:"summary,omitempty"` AgentDeployed *bool `json:"agentDeployed,omitempty"` Display ClusterDisplay `json:"display,omitempty"` Agent AgentStatus `json:"agent,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 (*Content) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Content.
func (*Content) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Content) DeepCopyObject ¶
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 GitRepo ¶
type GitRepo struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec GitRepoSpec `json:"spec,omitempty"` Status GitRepoStatus `json:"status,omitempty"` }
func NewGitRepo ¶
func (*GitRepo) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitRepo.
func (*GitRepo) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GitRepo) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type GitRepoDisplay ¶
type GitRepoDisplay struct {
ReadyBundles string `json:"readyBundles,omitempty"`
}
func (*GitRepoDisplay) DeepCopy ¶
func (in *GitRepoDisplay) DeepCopy() *GitRepoDisplay
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitRepoDisplay.
func (*GitRepoDisplay) DeepCopyInto ¶
func (in *GitRepoDisplay) DeepCopyInto(out *GitRepoDisplay)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GitRepoList ¶
type GitRepoList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []GitRepo `json:"items"` }
GitRepoList is a list of GitRepo resources
func (*GitRepoList) DeepCopy ¶
func (in *GitRepoList) DeepCopy() *GitRepoList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitRepoList.
func (*GitRepoList) DeepCopyInto ¶
func (in *GitRepoList) DeepCopyInto(out *GitRepoList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GitRepoList) DeepCopyObject ¶
func (in *GitRepoList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type GitRepoSpec ¶
type GitRepoSpec struct { // Repo is a URL to a git repo to clone and index Repo string `json:"repo,omitempty"` // Branch The git branch to follow Branch string `json:"branch,omitempty"` // Revision A specific commit or tag to operate on Revision string `json:"revision,omitempty"` // ClientSecretName is the client secret to be used to connect to the repo // It is expected the secret be of type "kubernetes.io/basic-auth" or "kubernetes.io/ssh-auth". ClientSecretName string `json:"clientSecretName,omitempty"` // BundleDirs is the directories relative to the git repo root that contain bundles to be applied. // Path globbing is support, for example ["bundles/*"] will match all folders as a subdirectory of bundles/ // If empty, "/" is the default BundleDirs []string `json:"bundleDirs,omitempty"` // ServiceAccount used in the downstream cluster for deployment ServiceAccount string `json:"serviceAccount,omitempty"` // Targets is a list of target this repo will deploy to Targets []GitTarget `json:"targets,omitempty"` }
func (*GitRepoSpec) DeepCopy ¶
func (in *GitRepoSpec) DeepCopy() *GitRepoSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitRepoSpec.
func (*GitRepoSpec) DeepCopyInto ¶
func (in *GitRepoSpec) DeepCopyInto(out *GitRepoSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GitRepoStatus ¶
type GitRepoStatus struct { Commit string `json:"commit,omitempty"` Summary BundleSummary `json:"summary,omitempty"` Display GitRepoDisplay `json:"display,omitempty"` Conditions []genericcondition.GenericCondition `json:"conditions,omitempty"` }
func (*GitRepoStatus) DeepCopy ¶
func (in *GitRepoStatus) DeepCopy() *GitRepoStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitRepoStatus.
func (*GitRepoStatus) DeepCopyInto ¶
func (in *GitRepoStatus) DeepCopyInto(out *GitRepoStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GitTarget ¶
type GitTarget struct { Name string `json:"name,omitempty"` ClusterSelector *metav1.LabelSelector `json:"clusterSelector,omitempty"` ClusterGroup string `json:"clusterGroup,omitempty"` ClusterGroupSelector *metav1.LabelSelector `json:"clusterGroupSelector,omitempty"` }
func (*GitTarget) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitTarget.
func (*GitTarget) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
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"` 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
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Partition.
func (*Partition) DeepCopyInto ¶ added in v0.2.0
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"` 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 { 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.