v1

package
v0.10.0 Latest Latest
Warning

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

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

Documentation

Overview

Package v1 contains API Schema definitions for the arlon v1 API group +kubebuilder:object:generate=true +groupName=core.arlon.io

Index

Constants

View Source
const (
	ClusterRegistrationFinalizer = "clusterregistration.core.arlon.io"
)

Variables

View Source
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 AppProfile added in v0.10.0

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

	Spec   AppProfileSpec   `json:"spec,omitempty"`
	Status AppProfileStatus `json:"status,omitempty"`
}

AppProfile is the Schema for the appprofiles API

func (*AppProfile) DeepCopy added in v0.10.0

func (in *AppProfile) DeepCopy() *AppProfile

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

func (*AppProfile) DeepCopyInto added in v0.10.0

func (in *AppProfile) DeepCopyInto(out *AppProfile)

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

func (*AppProfile) DeepCopyObject added in v0.10.0

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

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

type AppProfileList added in v0.10.0

type AppProfileList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []AppProfile `json:"items"`
}

AppProfileList contains a list of AppProfile

func (*AppProfileList) DeepCopy added in v0.10.0

func (in *AppProfileList) DeepCopy() *AppProfileList

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

func (*AppProfileList) DeepCopyInto added in v0.10.0

func (in *AppProfileList) DeepCopyInto(out *AppProfileList)

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

func (*AppProfileList) DeepCopyObject added in v0.10.0

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

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

type AppProfileSpec added in v0.10.0

type AppProfileSpec struct {
	AppNames []string `json:"appNames,omitempty"`
}

AppProfileSpec defines the desired state of AppProfile

func (*AppProfileSpec) DeepCopy added in v0.10.0

func (in *AppProfileSpec) DeepCopy() *AppProfileSpec

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

func (*AppProfileSpec) DeepCopyInto added in v0.10.0

func (in *AppProfileSpec) DeepCopyInto(out *AppProfileSpec)

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

type AppProfileStatus added in v0.10.0

type AppProfileStatus struct {

	// Health values: healthy, degraded
	Health string `json:"health,omitempty"`
	// Names of apps that don't exist
	InvalidAppNames []string `json:"invalidAppNames,omitempty"`
}

AppProfileStatus defines the observed state of AppProfile

func (*AppProfileStatus) DeepCopy added in v0.10.0

func (in *AppProfileStatus) DeepCopy() *AppProfileStatus

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

func (*AppProfileStatus) DeepCopyInto added in v0.10.0

func (in *AppProfileStatus) DeepCopyInto(out *AppProfileStatus)

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

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

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

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

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

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

func (*ClusterRegistrationStatus) DeepCopyInto

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

func (in *Override) DeepCopy() *Override

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

func (*Override) DeepCopyInto

func (in *Override) DeepCopyInto(out *Override)

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

func (in *Profile) DeepCopy() *Profile

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

func (*Profile) DeepCopyInto

func (in *Profile) DeepCopyInto(out *Profile)

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

func (*Profile) DeepCopyObject

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

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.

Jump to

Keyboard shortcuts

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