Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the core v1alpha1 API group +kubebuilder:object:generate=true +groupName=core.openmfp.io
Index ¶
- Constants
- Variables
- func SetupAccountWebhookWithManager(mgr ctrl.Manager) error
- type Account
- func (in *Account) DeepCopy() *Account
- func (in *Account) DeepCopyInto(out *Account)
- func (in *Account) DeepCopyObject() runtime.Object
- func (i *Account) GetConditions() []metav1.Condition
- func (i *Account) GetNextReconcileTime() metav1.Time
- func (i *Account) GetObservedGeneration() int64
- func (i *Account) SetConditions(conditions []metav1.Condition)
- func (i *Account) SetNextReconcileTime(time metav1.Time)
- func (i *Account) SetObservedGeneration(g int64)
- type AccountDefaulter
- type AccountList
- type AccountSpec
- type AccountStatus
- type AccountType
- type Extension
Constants ¶
const ( AccountTypeFolder AccountType = "folder" AccountTypeAccount AccountType = "account" NamespaceAccountOwnerLabel = "account.core.openmfp.io/owner" NamespaceAccountOwnerNamespaceLabel = "account.core.openmfp.io/owner-namespace" )
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "core.openmfp.io", Version: "v1alpha1"} // 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 ¶
Types ¶
type Account ¶
type Account struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec AccountSpec `json:"spec,omitempty"` Status AccountStatus `json:"status,omitempty"` }
Account is the Schema for the accounts API
func (*Account) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Account.
func (*Account) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Account) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Account) GetConditions ¶
func (*Account) GetNextReconcileTime ¶
func (*Account) GetObservedGeneration ¶
func (*Account) SetConditions ¶
func (*Account) SetNextReconcileTime ¶
func (*Account) SetObservedGeneration ¶
type AccountDefaulter ¶
type AccountDefaulter struct{}
type AccountList ¶
type AccountList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Account `json:"items"` }
AccountList contains a list of Account
func (*AccountList) DeepCopy ¶
func (in *AccountList) DeepCopy() *AccountList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccountList.
func (*AccountList) DeepCopyInto ¶
func (in *AccountList) DeepCopyInto(out *AccountList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AccountList) DeepCopyObject ¶
func (in *AccountList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AccountSpec ¶
type AccountSpec struct { // Type specifies the intended type for this Account object. // +kubebuilder:validation:Enum=folder;account Type AccountType `json:"type"` // Namespace is the account should take ownership of Namespace *string `json:"namespace,omitempty"` // The display name for this account // +kubebuilder:validation:MaxLength=255 DisplayName string `json:"displayName"` // An optional description for this account Description *string `json:"description,omitempty"` // The initial creator of this account Creator *string `json:"creator,omitempty"` Extensions []Extension `json:"extensions,omitempty"` // Additional information that should be stored with the account Data *apiextensionsv1.JSON `json:"data,omitempty"` }
AccountSpec defines the desired state of Account
func (*AccountSpec) DeepCopy ¶
func (in *AccountSpec) DeepCopy() *AccountSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccountSpec.
func (*AccountSpec) DeepCopyInto ¶
func (in *AccountSpec) DeepCopyInto(out *AccountSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AccountStatus ¶
type AccountStatus struct { Conditions []metav1.Condition `json:"conditions,omitempty"` Namespace *string `json:"namespace,omitempty"` ObservedGeneration int64 `json:"observedGeneration,omitempty" protobuf:"varint,3,opt,name=observedGeneration"` NextReconcileTime metav1.Time `json:"nextReconcileTime,omitempty"` }
AccountStatus defines the observed state of Account
func (*AccountStatus) DeepCopy ¶
func (in *AccountStatus) DeepCopy() *AccountStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccountStatus.
func (*AccountStatus) DeepCopyInto ¶
func (in *AccountStatus) DeepCopyInto(out *AccountStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AccountType ¶
type AccountType string
type Extension ¶
type Extension struct { metav1.TypeMeta `json:",inline"` MetadataGoTemplate apiextensionsv1.JSON `json:"metadataGoTemplate,omitempty"` SpecGoTemplate apiextensionsv1.JSON `json:"specGoTemplate"` // The type of a condition that must be set to True on the Extension object // for the extension to be considered reconciled and ready. If this is empty, // the extension is considered ready. ReadyConditionType *string `json:"readyConditionType,omitempty"` }
func (*Extension) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Extension.
func (*Extension) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.