v1alpha1

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

+groupName=enterprise.ibm.kubeform.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api.
	// localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes.
	SchemeBuilder runtime.SchemeBuilder

	AddToScheme = localSchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: enterprise.GroupName, Version: "v1alpha1"}

Functions

func GetDecoder

func GetDecoder() map[string]jsoniter.ValDecoder

func GetEncoder

func GetEncoder() map[string]jsoniter.ValEncoder

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns 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 Account

type Account struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              AccountSpec   `json:"spec,omitempty"`
	Status            AccountStatus `json:"status,omitempty"`
}

func (*Account) DeepCopy

func (in *Account) DeepCopy() *Account

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

func (*Account) DeepCopyInto

func (in *Account) DeepCopyInto(out *Account)

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

func (*Account) DeepCopyObject

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

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

func (*Account) SetupWebhookWithManager

func (r *Account) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*Account) ValidateCreate

func (r *Account) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*Account) ValidateDelete

func (r *Account) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*Account) ValidateUpdate

func (r *Account) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type AccountGroup

type AccountGroup struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              AccountGroupSpec   `json:"spec,omitempty"`
	Status            AccountGroupStatus `json:"status,omitempty"`
}

func (*AccountGroup) DeepCopy

func (in *AccountGroup) DeepCopy() *AccountGroup

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

func (*AccountGroup) DeepCopyInto

func (in *AccountGroup) DeepCopyInto(out *AccountGroup)

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

func (*AccountGroup) DeepCopyObject

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

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

func (*AccountGroup) SetupWebhookWithManager

func (r *AccountGroup) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*AccountGroup) ValidateCreate

func (r *AccountGroup) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*AccountGroup) ValidateDelete

func (r *AccountGroup) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*AccountGroup) ValidateUpdate

func (r *AccountGroup) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type AccountGroupList

type AccountGroupList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of AccountGroup CRD objects
	Items []AccountGroup `json:"items,omitempty"`
}

AccountGroupList is a list of AccountGroups

func (*AccountGroupList) DeepCopy

func (in *AccountGroupList) DeepCopy() *AccountGroupList

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

func (*AccountGroupList) DeepCopyInto

func (in *AccountGroupList) DeepCopyInto(out *AccountGroupList)

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

func (*AccountGroupList) DeepCopyObject

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

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

type AccountGroupSpec

type AccountGroupSpec struct {
	State *AccountGroupSpecResource `json:"state,omitempty" tf:"-"`

	Resource AccountGroupSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*AccountGroupSpec) DeepCopy

func (in *AccountGroupSpec) DeepCopy() *AccountGroupSpec

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

func (*AccountGroupSpec) DeepCopyInto

func (in *AccountGroupSpec) DeepCopyInto(out *AccountGroupSpec)

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

type AccountGroupSpecResource

type AccountGroupSpecResource struct {
	Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"`

	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// The time stamp at which the account group was created.
	// +optional
	CreatedAt *string `json:"createdAt,omitempty" tf:"created_at"`
	// The IAM ID of the user or service that created the account group.
	// +optional
	CreatedBy *string `json:"createdBy,omitempty" tf:"created_by"`
	// The Cloud Resource Name (CRN) of the account group.
	// +optional
	Crn *string `json:"crn,omitempty" tf:"crn"`
	// The enterprise account ID.
	// +optional
	EnterpriseAccountID *string `json:"enterpriseAccountID,omitempty" tf:"enterprise_account_id"`
	// The enterprise ID that the account group is a part of.
	// +optional
	EnterpriseID *string `json:"enterpriseID,omitempty" tf:"enterprise_id"`
	// The path from the enterprise to this particular account group.
	// +optional
	EnterprisePath *string `json:"enterprisePath,omitempty" tf:"enterprise_path"`
	// The name of the account group. This field must have 3 - 60 characters.
	Name *string `json:"name" tf:"name"`
	// The CRN of the parent under which the account group will be created. The parent can be an existing account group or the enterprise itself.
	Parent *string `json:"parent" tf:"parent"`
	// The email address of the primary contact of the account group.
	// +optional
	PrimaryContactEmail *string `json:"primaryContactEmail,omitempty" tf:"primary_contact_email"`
	// The IAM ID of the primary contact for this account group, such as `IBMid-0123ABC`. The IAM ID must already exist.
	PrimaryContactIamID *string `json:"primaryContactIamID" tf:"primary_contact_iam_id"`
	// The state of the account group.
	// +optional
	State *string `json:"state,omitempty" tf:"state"`
	// The time stamp at which the account group was last updated.
	// +optional
	UpdatedAt *string `json:"updatedAt,omitempty" tf:"updated_at"`
	// The IAM ID of the user or service that updated the account group.
	// +optional
	UpdatedBy *string `json:"updatedBy,omitempty" tf:"updated_by"`
	// The URL of the account group.
	// +optional
	Url *string `json:"url,omitempty" tf:"url"`
}

func (*AccountGroupSpecResource) DeepCopy

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

func (*AccountGroupSpecResource) DeepCopyInto

func (in *AccountGroupSpecResource) DeepCopyInto(out *AccountGroupSpecResource)

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

type AccountGroupStatus

type AccountGroupStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*AccountGroupStatus) DeepCopy

func (in *AccountGroupStatus) DeepCopy() *AccountGroupStatus

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

func (*AccountGroupStatus) DeepCopyInto

func (in *AccountGroupStatus) DeepCopyInto(out *AccountGroupStatus)

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

type AccountList

type AccountList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of Account CRD objects
	Items []Account `json:"items,omitempty"`
}

AccountList is a list of Accounts

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 {
	State *AccountSpecResource `json:"state,omitempty" tf:"-"`

	Resource AccountSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

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 AccountSpecResource

type AccountSpecResource struct {
	Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"`

	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// The source account id of account to be imported
	// +optional
	AccountID *string `json:"accountID,omitempty" tf:"account_id"`
	// The time stamp at which the account was created.
	// +optional
	CreatedAt *string `json:"createdAt,omitempty" tf:"created_at"`
	// The IAM ID of the user or service that created the account.
	// +optional
	CreatedBy *string `json:"createdBy,omitempty" tf:"created_by"`
	// The Cloud Resource Name (CRN) of the account.
	// +optional
	Crn *string `json:"crn,omitempty" tf:"crn"`
	// The enterprise account ID.
	// +optional
	EnterpriseAccountID *string `json:"enterpriseAccountID,omitempty" tf:"enterprise_account_id"`
	// The enterprise ID that the account is a part of.
	// +optional
	EnterpriseID *string `json:"enterpriseID,omitempty" tf:"enterprise_id"`
	// The path from the enterprise to this particular account.
	// +optional
	EnterprisePath *string `json:"enterprisePath,omitempty" tf:"enterprise_path"`
	// The flag to indicate whether the account is an enterprise account or not.
	// +optional
	IsEnterpriseAccount *bool `json:"isEnterpriseAccount,omitempty" tf:"is_enterprise_account"`
	// The name of the account. This field must have 3 - 60 characters.
	// +optional
	Name *string `json:"name,omitempty" tf:"name"`
	// The email address of the owner of the account.
	// +optional
	OwnerEmail *string `json:"ownerEmail,omitempty" tf:"owner_email"`
	// The IAM ID of the account owner, such as `IBMid-0123ABC`. The IAM ID must already exist.
	// +optional
	OwnerIamID *string `json:"ownerIamID,omitempty" tf:"owner_iam_id"`
	// The type of account - whether it is free or paid.
	// +optional
	Paid *bool `json:"paid,omitempty" tf:"paid"`
	// The CRN of the parent under which the account will be created. The parent can be an existing account group or the enterprise itself.
	Parent *string `json:"parent" tf:"parent"`
	// The state of the account.
	// +optional
	State *string `json:"state,omitempty" tf:"state"`
	// The time stamp at which the account was last updated.
	// +optional
	UpdatedAt *string `json:"updatedAt,omitempty" tf:"updated_at"`
	// The IAM ID of the user or service that updated the account.
	// +optional
	UpdatedBy *string `json:"updatedBy,omitempty" tf:"updated_by"`
	// The URL of the account.
	// +optional
	Url *string `json:"url,omitempty" tf:"url"`
}

func (*AccountSpecResource) DeepCopy

func (in *AccountSpecResource) DeepCopy() *AccountSpecResource

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

func (*AccountSpecResource) DeepCopyInto

func (in *AccountSpecResource) DeepCopyInto(out *AccountSpecResource)

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

type AccountStatus

type AccountStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

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 Enterprise

type Enterprise struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              EnterpriseSpec   `json:"spec,omitempty"`
	Status            EnterpriseStatus `json:"status,omitempty"`
}

func (*Enterprise) DeepCopy

func (in *Enterprise) DeepCopy() *Enterprise

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

func (*Enterprise) DeepCopyInto

func (in *Enterprise) DeepCopyInto(out *Enterprise)

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

func (*Enterprise) DeepCopyObject

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

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

func (*Enterprise) SetupWebhookWithManager

func (r *Enterprise) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*Enterprise) ValidateCreate

func (r *Enterprise) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*Enterprise) ValidateDelete

func (r *Enterprise) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*Enterprise) ValidateUpdate

func (r *Enterprise) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type EnterpriseList

type EnterpriseList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of Enterprise CRD objects
	Items []Enterprise `json:"items,omitempty"`
}

EnterpriseList is a list of Enterprises

func (*EnterpriseList) DeepCopy

func (in *EnterpriseList) DeepCopy() *EnterpriseList

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

func (*EnterpriseList) DeepCopyInto

func (in *EnterpriseList) DeepCopyInto(out *EnterpriseList)

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

func (*EnterpriseList) DeepCopyObject

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

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

type EnterpriseSpec

type EnterpriseSpec struct {
	State *EnterpriseSpecResource `json:"state,omitempty" tf:"-"`

	Resource EnterpriseSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*EnterpriseSpec) DeepCopy

func (in *EnterpriseSpec) DeepCopy() *EnterpriseSpec

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

func (*EnterpriseSpec) DeepCopyInto

func (in *EnterpriseSpec) DeepCopyInto(out *EnterpriseSpec)

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

type EnterpriseSpecResource

type EnterpriseSpecResource struct {
	Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"`

	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// The time stamp at which the enterprise was created.
	// +optional
	CreatedAt *string `json:"createdAt,omitempty" tf:"created_at"`
	// The IAM ID of the user or service that created the enterprise.
	// +optional
	CreatedBy *string `json:"createdBy,omitempty" tf:"created_by"`
	// The Cloud Resource Name (CRN) of the enterprise.
	// +optional
	Crn *string `json:"crn,omitempty" tf:"crn"`
	// A domain or subdomain for the enterprise, such as `example.com` or `my.example.com`.
	// +optional
	Domain *string `json:"domain,omitempty" tf:"domain"`
	// The enterprise account ID.
	// +optional
	EnterpriseAccountID *string `json:"enterpriseAccountID,omitempty" tf:"enterprise_account_id"`
	// The name of the enterprise. This field must have 3 - 60 characters.
	Name *string `json:"name" tf:"name"`
	// The email of the primary contact of the enterprise.
	// +optional
	PrimaryContactEmail *string `json:"primaryContactEmail,omitempty" tf:"primary_contact_email"`
	// The IAM ID of the enterprise primary contact, such as `IBMid-0123ABC`. The IAM ID must already exist.
	PrimaryContactIamID *string `json:"primaryContactIamID" tf:"primary_contact_iam_id"`
	// The ID of the account that is used to create the enterprise.
	SourceAccountID *string `json:"sourceAccountID" tf:"source_account_id"`
	// The state of the enterprise.
	// +optional
	State *string `json:"state,omitempty" tf:"state"`
	// The time stamp at which the enterprise was last updated.
	// +optional
	UpdatedAt *string `json:"updatedAt,omitempty" tf:"updated_at"`
	// The IAM ID of the user or service that updated the enterprise.
	// +optional
	UpdatedBy *string `json:"updatedBy,omitempty" tf:"updated_by"`
	// The URL of the enterprise.
	// +optional
	Url *string `json:"url,omitempty" tf:"url"`
}

func (*EnterpriseSpecResource) DeepCopy

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

func (*EnterpriseSpecResource) DeepCopyInto

func (in *EnterpriseSpecResource) DeepCopyInto(out *EnterpriseSpecResource)

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

type EnterpriseStatus

type EnterpriseStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*EnterpriseStatus) DeepCopy

func (in *EnterpriseStatus) DeepCopy() *EnterpriseStatus

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

func (*EnterpriseStatus) DeepCopyInto

func (in *EnterpriseStatus) DeepCopyInto(out *EnterpriseStatus)

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