Documentation ¶
Overview ¶
Package v1 contains API Schema definitions for the arlo v1 API group +kubebuilder:object:generate=true +groupName=core.arlon.io
Index ¶
- Constants
- Variables
- type CallHomeConfig
- type CallHomeConfigList
- type CallHomeConfigSpec
- type CallHomeConfigStatus
- type ClusterRegistration
- type ClusterRegistrationList
- type ClusterRegistrationSpec
- type ClusterRegistrationStatus
- type Override
- type Profile
- type ProfileList
- type ProfileSpec
- type ProfileStatus
Constants ¶
const (
ClusterRegistrationFinalizer = "clusterregistration.core.arlon.io"
)
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "core.arlon.io", Version: "v1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type CallHomeConfig ¶
type CallHomeConfig struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec CallHomeConfigSpec `json:"spec,omitempty"` Status CallHomeConfigStatus `json:"status,omitempty"` }
CallHomeConfig is the Schema for the callhomeconfigs API
func (*CallHomeConfig) DeepCopy ¶
func (in *CallHomeConfig) DeepCopy() *CallHomeConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CallHomeConfig.
func (*CallHomeConfig) DeepCopyInto ¶
func (in *CallHomeConfig) DeepCopyInto(out *CallHomeConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CallHomeConfig) DeepCopyObject ¶
func (in *CallHomeConfig) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CallHomeConfigList ¶
type CallHomeConfigList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []CallHomeConfig `json:"items"` }
CallHomeConfigList contains a list of CallHomeConfig
func (*CallHomeConfigList) DeepCopy ¶
func (in *CallHomeConfigList) DeepCopy() *CallHomeConfigList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CallHomeConfigList.
func (*CallHomeConfigList) DeepCopyInto ¶
func (in *CallHomeConfigList) DeepCopyInto(out *CallHomeConfigList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CallHomeConfigList) DeepCopyObject ¶
func (in *CallHomeConfigList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CallHomeConfigSpec ¶
type CallHomeConfigSpec struct { // Name of autoscaler service account name in the management cluster ServiceAccountName string `json:"serviceAccountName"` // // Name of secret containing kubeconfig for workload cluster KubeconfigSecretName string `json:"kubeconfigSecretName"` // // Name of key inside of the secret that holds the kubeconfig KubeconfigSecretKeyName string `json:"kubeconfigSecretKeyName"` // // Name of namespace inside workload cluster in which to create new kubeconfig secret TargetNamespace string `json:"targetNamespace"` // // Name of secret inside workload cluster TargetSecretName string `json:"targetSecretName"` // // Name of key holding the kubeconfig inside of the target secret TargetSecretKeyName string `json:"targetSecretKeyName"` // // The URL of the management cluster ManagementClusterUrl string `json:"managementClusterUrl"` // }
CallHomeConfigSpec defines the desired state of CallHomeConfig. The resource's status becomes 'complete' when a target secret named TargetSecretName is successfully created in the TargetNamespace of the workload cluster identified by ManagementClusterUrl and authenticated via the kubeconfig contained in the secret named KubeconfigSecretName in the management cluster. The target secret will contain a kubeconfig generated from the token associated with the service account named ServiceAccountName in the management cluster.
func (*CallHomeConfigSpec) DeepCopy ¶
func (in *CallHomeConfigSpec) DeepCopy() *CallHomeConfigSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CallHomeConfigSpec.
func (*CallHomeConfigSpec) DeepCopyInto ¶
func (in *CallHomeConfigSpec) DeepCopyInto(out *CallHomeConfigSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CallHomeConfigStatus ¶
type CallHomeConfigStatus struct { State string `json:"state"` // "retrying", "error", or "complete" Message string `json:"message"` // for "retrying" status }
CallHomeConfigStatus defines the observed state of CallHomeConfig
func (*CallHomeConfigStatus) DeepCopy ¶
func (in *CallHomeConfigStatus) DeepCopy() *CallHomeConfigStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CallHomeConfigStatus.
func (*CallHomeConfigStatus) DeepCopyInto ¶
func (in *CallHomeConfigStatus) DeepCopyInto(out *CallHomeConfigStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterRegistration ¶
type ClusterRegistration struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ClusterRegistrationSpec `json:"spec,omitempty"` Status ClusterRegistrationStatus `json:"status,omitempty"` }
ClusterRegistration is the Schema for the clusterregistrations API
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,omitempty"` Items []ClusterRegistration `json:"items"` }
ClusterRegistrationList contains a list of ClusterRegistration
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 { ClusterName string `json:"clusterName,omitempty"` KubeconfigSecretName string `json:"kubeconfigSecretName"` KubeconfigSecretKeyName string `json:"kubeconfigSecretKeyName"` }
ClusterRegistrationSpec defines the desired state of ClusterRegistration
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 { // INSERT ADDITIONAL STATUS FIELD - define observed state of cluster // Important: Run "make" to regenerate code after modifying this file State string `json:"state"` // "retrying", "error", or "complete" Message string `json:"message"` // for "retrying" status }
ClusterRegistrationStatus defines the observed state of ClusterRegistration
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 Override ¶
type Override struct { Bundle string `json:"bundle"` Key string `json:"key"` Value string `json:"value"` }
func (*Override) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Override.
func (*Override) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Profile ¶
type Profile struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ProfileSpec `json:"spec,omitempty"` Status ProfileStatus `json:"status,omitempty"` }
Profile is the Schema for the profiles API
func (*Profile) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Profile.
func (*Profile) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Profile) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ProfileList ¶
type ProfileList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Profile `json:"items"` }
ProfileList contains a list of Profile
func (*ProfileList) DeepCopy ¶
func (in *ProfileList) DeepCopy() *ProfileList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProfileList.
func (*ProfileList) DeepCopyInto ¶
func (in *ProfileList) DeepCopyInto(out *ProfileList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ProfileList) DeepCopyObject ¶
func (in *ProfileList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ProfileSpec ¶
type ProfileSpec struct { Description string `json:"description,omitempty"` Tags []string `json:"tags,omitempty"` // Names of bundles in this profile. Order is not significant. Bundles []string `json:"bundles,omitempty"` // Optional parameter overrides for specific bundles Overrides []Override `json:"overrides,omitempty"` // URL of git repository where dynamic profile shall be stored RepoUrl string `json:"repoUrl,omitempty"` // Path within git repository RepoPath string `json:"repoPath,omitempty"` // Git revision (tag/branch/commit) RepoRevision string `json:"repoRevision,omitempty"` }
ProfileSpec defines the desired state of Profile. The RepoXXX fields are set for a dynamic profile, and empty otherwise.
func (*ProfileSpec) DeepCopy ¶
func (in *ProfileSpec) DeepCopy() *ProfileSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProfileSpec.
func (*ProfileSpec) DeepCopyInto ¶
func (in *ProfileSpec) DeepCopyInto(out *ProfileSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProfileStatus ¶
type ProfileStatus struct { // State reaches 'synced' value when git repo is synchronized with dynamic profile State string `json:"state"` }
ProfileStatus defines the observed state of Profile
func (*ProfileStatus) DeepCopy ¶
func (in *ProfileStatus) DeepCopy() *ProfileStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProfileStatus.
func (*ProfileStatus) DeepCopyInto ¶
func (in *ProfileStatus) DeepCopyInto(out *ProfileStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.