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: 16 Imported by: 0

Documentation

Overview

+groupName=netapp.azurerm.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: netapp.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 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:"-"`

	SecretRef *core.LocalObjectReference `json:"secretRef,omitempty" 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 AccountSpecActiveDirectory

type AccountSpecActiveDirectory struct {
	DnsServers []string `json:"dnsServers" tf:"dns_servers"`
	Domain     *string  `json:"domain" tf:"domain"`
	// +optional
	OrganizationalUnit *string `json:"organizationalUnit,omitempty" tf:"organizational_unit"`
	Password           *string `json:"-" sensitive:"true" tf:"password"`
	SmbServerName      *string `json:"smbServerName" tf:"smb_server_name"`
	Username           *string `json:"username" tf:"username"`
}

func (*AccountSpecActiveDirectory) DeepCopy

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

func (*AccountSpecActiveDirectory) DeepCopyInto

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

type AccountSpecActiveDirectoryCodec

type AccountSpecActiveDirectoryCodec struct {
}

+k8s:deepcopy-gen=false

func (AccountSpecActiveDirectoryCodec) Decode

func (AccountSpecActiveDirectoryCodec) Encode

func (AccountSpecActiveDirectoryCodec) IsEmpty

type AccountSpecResource

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

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

	// +optional
	ActiveDirectory   *AccountSpecActiveDirectory `json:"activeDirectory,omitempty" tf:"active_directory"`
	Location          *string                     `json:"location" tf:"location"`
	Name              *string                     `json:"name" tf:"name"`
	ResourceGroupName *string                     `json:"resourceGroupName" tf:"resource_group_name"`
	// +optional
	Tags *map[string]string `json:"tags,omitempty" tf:"tags"`
}

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 Pool

type Pool struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              PoolSpec   `json:"spec,omitempty"`
	Status            PoolStatus `json:"status,omitempty"`
}

func (*Pool) DeepCopy

func (in *Pool) DeepCopy() *Pool

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

func (*Pool) DeepCopyInto

func (in *Pool) DeepCopyInto(out *Pool)

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

func (*Pool) DeepCopyObject

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

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

func (*Pool) SetupWebhookWithManager

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

func (*Pool) ValidateCreate

func (r *Pool) ValidateCreate() error

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

func (*Pool) ValidateDelete

func (r *Pool) ValidateDelete() error

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

func (*Pool) ValidateUpdate

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

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

type PoolList

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

PoolList is a list of Pools

func (*PoolList) DeepCopy

func (in *PoolList) DeepCopy() *PoolList

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

func (*PoolList) DeepCopyInto

func (in *PoolList) DeepCopyInto(out *PoolList)

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

func (*PoolList) DeepCopyObject

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

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

type PoolSpec

type PoolSpec struct {
	State *PoolSpecResource `json:"state,omitempty" tf:"-"`

	Resource PoolSpecResource `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 (*PoolSpec) DeepCopy

func (in *PoolSpec) DeepCopy() *PoolSpec

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

func (*PoolSpec) DeepCopyInto

func (in *PoolSpec) DeepCopyInto(out *PoolSpec)

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

type PoolSpecResource

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

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

	AccountName *string `json:"accountName" tf:"account_name"`
	Location    *string `json:"location" tf:"location"`
	Name        *string `json:"name" tf:"name"`
	// +optional
	QosType           *string `json:"qosType,omitempty" tf:"qos_type"`
	ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name"`
	ServiceLevel      *string `json:"serviceLevel" tf:"service_level"`
	SizeInTb          *int64  `json:"sizeInTb" tf:"size_in_tb"`
	// +optional
	Tags *map[string]string `json:"tags,omitempty" tf:"tags"`
}

func (*PoolSpecResource) DeepCopy

func (in *PoolSpecResource) DeepCopy() *PoolSpecResource

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

func (*PoolSpecResource) DeepCopyInto

func (in *PoolSpecResource) DeepCopyInto(out *PoolSpecResource)

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

type PoolStatus

type PoolStatus 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 (*PoolStatus) DeepCopy

func (in *PoolStatus) DeepCopy() *PoolStatus

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

func (*PoolStatus) DeepCopyInto

func (in *PoolStatus) DeepCopyInto(out *PoolStatus)

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

type Snapshot

type Snapshot struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              SnapshotSpec   `json:"spec,omitempty"`
	Status            SnapshotStatus `json:"status,omitempty"`
}

func (*Snapshot) DeepCopy

func (in *Snapshot) DeepCopy() *Snapshot

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

func (*Snapshot) DeepCopyInto

func (in *Snapshot) DeepCopyInto(out *Snapshot)

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

func (*Snapshot) DeepCopyObject

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

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

func (*Snapshot) SetupWebhookWithManager

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

func (*Snapshot) ValidateCreate

func (r *Snapshot) ValidateCreate() error

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

func (*Snapshot) ValidateDelete

func (r *Snapshot) ValidateDelete() error

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

func (*Snapshot) ValidateUpdate

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

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

type SnapshotList

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

SnapshotList is a list of Snapshots

func (*SnapshotList) DeepCopy

func (in *SnapshotList) DeepCopy() *SnapshotList

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

func (*SnapshotList) DeepCopyInto

func (in *SnapshotList) DeepCopyInto(out *SnapshotList)

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

func (*SnapshotList) DeepCopyObject

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

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

type SnapshotPolicy added in v0.5.0

type SnapshotPolicy struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              SnapshotPolicySpec   `json:"spec,omitempty"`
	Status            SnapshotPolicyStatus `json:"status,omitempty"`
}

func (*SnapshotPolicy) DeepCopy added in v0.5.0

func (in *SnapshotPolicy) DeepCopy() *SnapshotPolicy

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

func (*SnapshotPolicy) DeepCopyInto added in v0.5.0

func (in *SnapshotPolicy) DeepCopyInto(out *SnapshotPolicy)

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

func (*SnapshotPolicy) DeepCopyObject added in v0.5.0

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

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

func (*SnapshotPolicy) SetupWebhookWithManager added in v0.5.0

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

func (*SnapshotPolicy) ValidateCreate added in v0.5.0

func (r *SnapshotPolicy) ValidateCreate() error

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

func (*SnapshotPolicy) ValidateDelete added in v0.5.0

func (r *SnapshotPolicy) ValidateDelete() error

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

func (*SnapshotPolicy) ValidateUpdate added in v0.5.0

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

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

type SnapshotPolicyList added in v0.5.0

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

SnapshotPolicyList is a list of SnapshotPolicys

func (*SnapshotPolicyList) DeepCopy added in v0.5.0

func (in *SnapshotPolicyList) DeepCopy() *SnapshotPolicyList

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

func (*SnapshotPolicyList) DeepCopyInto added in v0.5.0

func (in *SnapshotPolicyList) DeepCopyInto(out *SnapshotPolicyList)

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

func (*SnapshotPolicyList) DeepCopyObject added in v0.5.0

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

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

type SnapshotPolicySpec added in v0.5.0

type SnapshotPolicySpec struct {
	State *SnapshotPolicySpecResource `json:"state,omitempty" tf:"-"`

	Resource SnapshotPolicySpecResource `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 (*SnapshotPolicySpec) DeepCopy added in v0.5.0

func (in *SnapshotPolicySpec) DeepCopy() *SnapshotPolicySpec

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

func (*SnapshotPolicySpec) DeepCopyInto added in v0.5.0

func (in *SnapshotPolicySpec) DeepCopyInto(out *SnapshotPolicySpec)

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

type SnapshotPolicySpecDailySchedule added in v0.5.0

type SnapshotPolicySpecDailySchedule struct {
	Hour            *int64 `json:"hour" tf:"hour"`
	Minute          *int64 `json:"minute" tf:"minute"`
	SnapshotsToKeep *int64 `json:"snapshotsToKeep" tf:"snapshots_to_keep"`
}

func (*SnapshotPolicySpecDailySchedule) DeepCopy added in v0.5.0

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

func (*SnapshotPolicySpecDailySchedule) DeepCopyInto added in v0.5.0

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

type SnapshotPolicySpecDailyScheduleCodec added in v0.5.0

type SnapshotPolicySpecDailyScheduleCodec struct {
}

+k8s:deepcopy-gen=false

func (SnapshotPolicySpecDailyScheduleCodec) Decode added in v0.5.0

func (SnapshotPolicySpecDailyScheduleCodec) Encode added in v0.5.0

func (SnapshotPolicySpecDailyScheduleCodec) IsEmpty added in v0.5.0

type SnapshotPolicySpecHourlySchedule added in v0.5.0

type SnapshotPolicySpecHourlySchedule struct {
	Minute          *int64 `json:"minute" tf:"minute"`
	SnapshotsToKeep *int64 `json:"snapshotsToKeep" tf:"snapshots_to_keep"`
}

func (*SnapshotPolicySpecHourlySchedule) DeepCopy added in v0.5.0

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

func (*SnapshotPolicySpecHourlySchedule) DeepCopyInto added in v0.5.0

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

type SnapshotPolicySpecHourlyScheduleCodec added in v0.5.0

type SnapshotPolicySpecHourlyScheduleCodec struct {
}

+k8s:deepcopy-gen=false

func (SnapshotPolicySpecHourlyScheduleCodec) Decode added in v0.5.0

func (SnapshotPolicySpecHourlyScheduleCodec) Encode added in v0.5.0

func (SnapshotPolicySpecHourlyScheduleCodec) IsEmpty added in v0.5.0

type SnapshotPolicySpecMonthlySchedule added in v0.5.0

type SnapshotPolicySpecMonthlySchedule struct {
	// +kubebuilder:validation:MaxItems=30
	DaysOfMonth     []int64 `json:"daysOfMonth" tf:"days_of_month"`
	Hour            *int64  `json:"hour" tf:"hour"`
	Minute          *int64  `json:"minute" tf:"minute"`
	SnapshotsToKeep *int64  `json:"snapshotsToKeep" tf:"snapshots_to_keep"`
}

func (*SnapshotPolicySpecMonthlySchedule) DeepCopy added in v0.5.0

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

func (*SnapshotPolicySpecMonthlySchedule) DeepCopyInto added in v0.5.0

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

type SnapshotPolicySpecMonthlyScheduleCodec added in v0.5.0

type SnapshotPolicySpecMonthlyScheduleCodec struct {
}

+k8s:deepcopy-gen=false

func (SnapshotPolicySpecMonthlyScheduleCodec) Decode added in v0.5.0

func (SnapshotPolicySpecMonthlyScheduleCodec) Encode added in v0.5.0

func (SnapshotPolicySpecMonthlyScheduleCodec) IsEmpty added in v0.5.0

type SnapshotPolicySpecResource added in v0.5.0

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

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

	AccountName *string `json:"accountName" tf:"account_name"`
	// +optional
	DailySchedule *SnapshotPolicySpecDailySchedule `json:"dailySchedule,omitempty" tf:"daily_schedule"`
	Enabled       *bool                            `json:"enabled" tf:"enabled"`
	// +optional
	HourlySchedule *SnapshotPolicySpecHourlySchedule `json:"hourlySchedule,omitempty" tf:"hourly_schedule"`
	Location       *string                           `json:"location" tf:"location"`
	// +optional
	MonthlySchedule   *SnapshotPolicySpecMonthlySchedule `json:"monthlySchedule,omitempty" tf:"monthly_schedule"`
	Name              *string                            `json:"name" tf:"name"`
	ResourceGroupName *string                            `json:"resourceGroupName" tf:"resource_group_name"`
	// +optional
	Tags *map[string]string `json:"tags,omitempty" tf:"tags"`
	// +optional
	WeeklySchedule *SnapshotPolicySpecWeeklySchedule `json:"weeklySchedule,omitempty" tf:"weekly_schedule"`
}

func (*SnapshotPolicySpecResource) DeepCopy added in v0.5.0

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

func (*SnapshotPolicySpecResource) DeepCopyInto added in v0.5.0

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

type SnapshotPolicySpecWeeklySchedule added in v0.5.0

type SnapshotPolicySpecWeeklySchedule struct {
	// +kubebuilder:validation:MaxItems=7
	DaysOfWeek      []string `json:"daysOfWeek" tf:"days_of_week"`
	Hour            *int64   `json:"hour" tf:"hour"`
	Minute          *int64   `json:"minute" tf:"minute"`
	SnapshotsToKeep *int64   `json:"snapshotsToKeep" tf:"snapshots_to_keep"`
}

func (*SnapshotPolicySpecWeeklySchedule) DeepCopy added in v0.5.0

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

func (*SnapshotPolicySpecWeeklySchedule) DeepCopyInto added in v0.5.0

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

type SnapshotPolicySpecWeeklyScheduleCodec added in v0.5.0

type SnapshotPolicySpecWeeklyScheduleCodec struct {
}

+k8s:deepcopy-gen=false

func (SnapshotPolicySpecWeeklyScheduleCodec) Decode added in v0.5.0

func (SnapshotPolicySpecWeeklyScheduleCodec) Encode added in v0.5.0

func (SnapshotPolicySpecWeeklyScheduleCodec) IsEmpty added in v0.5.0

type SnapshotPolicyStatus added in v0.5.0

type SnapshotPolicyStatus 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 (*SnapshotPolicyStatus) DeepCopy added in v0.5.0

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

func (*SnapshotPolicyStatus) DeepCopyInto added in v0.5.0

func (in *SnapshotPolicyStatus) DeepCopyInto(out *SnapshotPolicyStatus)

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

type SnapshotSpec

type SnapshotSpec struct {
	State *SnapshotSpecResource `json:"state,omitempty" tf:"-"`

	Resource SnapshotSpecResource `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 (*SnapshotSpec) DeepCopy

func (in *SnapshotSpec) DeepCopy() *SnapshotSpec

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

func (*SnapshotSpec) DeepCopyInto

func (in *SnapshotSpec) DeepCopyInto(out *SnapshotSpec)

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

type SnapshotSpecResource

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

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

	AccountName       *string `json:"accountName" tf:"account_name"`
	Location          *string `json:"location" tf:"location"`
	Name              *string `json:"name" tf:"name"`
	PoolName          *string `json:"poolName" tf:"pool_name"`
	ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name"`
	// +optional
	// Deprecated
	Tags       *map[string]string `json:"tags,omitempty" tf:"tags"`
	VolumeName *string            `json:"volumeName" tf:"volume_name"`
}

func (*SnapshotSpecResource) DeepCopy

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

func (*SnapshotSpecResource) DeepCopyInto

func (in *SnapshotSpecResource) DeepCopyInto(out *SnapshotSpecResource)

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

type SnapshotStatus

type SnapshotStatus 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 (*SnapshotStatus) DeepCopy

func (in *SnapshotStatus) DeepCopy() *SnapshotStatus

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

func (*SnapshotStatus) DeepCopyInto

func (in *SnapshotStatus) DeepCopyInto(out *SnapshotStatus)

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

type Volume

type Volume struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              VolumeSpec   `json:"spec,omitempty"`
	Status            VolumeStatus `json:"status,omitempty"`
}

func (*Volume) DeepCopy

func (in *Volume) DeepCopy() *Volume

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

func (*Volume) DeepCopyInto

func (in *Volume) DeepCopyInto(out *Volume)

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

func (*Volume) DeepCopyObject

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

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

func (*Volume) SetupWebhookWithManager

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

func (*Volume) ValidateCreate

func (r *Volume) ValidateCreate() error

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

func (*Volume) ValidateDelete

func (r *Volume) ValidateDelete() error

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

func (*Volume) ValidateUpdate

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

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

type VolumeList

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

VolumeList is a list of Volumes

func (*VolumeList) DeepCopy

func (in *VolumeList) DeepCopy() *VolumeList

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

func (*VolumeList) DeepCopyInto

func (in *VolumeList) DeepCopyInto(out *VolumeList)

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

func (*VolumeList) DeepCopyObject

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

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

type VolumeSpec

type VolumeSpec struct {
	State *VolumeSpecResource `json:"state,omitempty" tf:"-"`

	Resource VolumeSpecResource `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 (*VolumeSpec) DeepCopy

func (in *VolumeSpec) DeepCopy() *VolumeSpec

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

func (*VolumeSpec) DeepCopyInto

func (in *VolumeSpec) DeepCopyInto(out *VolumeSpec)

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

type VolumeSpecDataProtectionReplication

type VolumeSpecDataProtectionReplication struct {
	// +optional
	EndpointType           *string `json:"endpointType,omitempty" tf:"endpoint_type"`
	RemoteVolumeLocation   *string `json:"remoteVolumeLocation" tf:"remote_volume_location"`
	RemoteVolumeResourceID *string `json:"remoteVolumeResourceID" tf:"remote_volume_resource_id"`
	ReplicationFrequency   *string `json:"replicationFrequency" tf:"replication_frequency"`
}

func (*VolumeSpecDataProtectionReplication) DeepCopy

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

func (*VolumeSpecDataProtectionReplication) DeepCopyInto

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

type VolumeSpecDataProtectionReplicationCodec

type VolumeSpecDataProtectionReplicationCodec struct {
}

+k8s:deepcopy-gen=false

func (VolumeSpecDataProtectionReplicationCodec) Decode

func (VolumeSpecDataProtectionReplicationCodec) Encode

func (VolumeSpecDataProtectionReplicationCodec) IsEmpty

type VolumeSpecDataProtectionSnapshotPolicy added in v0.5.0

type VolumeSpecDataProtectionSnapshotPolicy struct {
	SnapshotPolicyID *string `json:"snapshotPolicyID" tf:"snapshot_policy_id"`
}

func (*VolumeSpecDataProtectionSnapshotPolicy) DeepCopy added in v0.5.0

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

func (*VolumeSpecDataProtectionSnapshotPolicy) DeepCopyInto added in v0.5.0

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

type VolumeSpecDataProtectionSnapshotPolicyCodec added in v0.5.0

type VolumeSpecDataProtectionSnapshotPolicyCodec struct {
}

+k8s:deepcopy-gen=false

func (VolumeSpecDataProtectionSnapshotPolicyCodec) Decode added in v0.5.0

func (VolumeSpecDataProtectionSnapshotPolicyCodec) Encode added in v0.5.0

func (VolumeSpecDataProtectionSnapshotPolicyCodec) IsEmpty added in v0.5.0

type VolumeSpecExportPolicyRule

type VolumeSpecExportPolicyRule struct {
	AllowedClients []string `json:"allowedClients" tf:"allowed_clients"`
	// +optional
	// Deprecated
	CifsEnabled *bool `json:"cifsEnabled,omitempty" tf:"cifs_enabled"`
	// +optional
	// Deprecated
	Nfsv3Enabled *bool `json:"nfsv3Enabled,omitempty" tf:"nfsv3_enabled"`
	// +optional
	// Deprecated
	Nfsv4Enabled *bool `json:"nfsv4Enabled,omitempty" tf:"nfsv4_enabled"`
	// +optional
	ProtocolsEnabled []string `json:"protocolsEnabled,omitempty" tf:"protocols_enabled"`
	// +optional
	RootAccessEnabled *bool  `json:"rootAccessEnabled,omitempty" tf:"root_access_enabled"`
	RuleIndex         *int64 `json:"ruleIndex" tf:"rule_index"`
	// +optional
	UnixReadOnly *bool `json:"unixReadOnly,omitempty" tf:"unix_read_only"`
	// +optional
	UnixReadWrite *bool `json:"unixReadWrite,omitempty" tf:"unix_read_write"`
}

func (*VolumeSpecExportPolicyRule) DeepCopy

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

func (*VolumeSpecExportPolicyRule) DeepCopyInto

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

type VolumeSpecResource

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

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

	AccountName *string `json:"accountName" tf:"account_name"`
	// +optional
	CreateFromSnapshotResourceID *string `json:"createFromSnapshotResourceID,omitempty" tf:"create_from_snapshot_resource_id"`
	// +optional
	DataProtectionReplication *VolumeSpecDataProtectionReplication `json:"dataProtectionReplication,omitempty" tf:"data_protection_replication"`
	// +optional
	DataProtectionSnapshotPolicy *VolumeSpecDataProtectionSnapshotPolicy `json:"dataProtectionSnapshotPolicy,omitempty" tf:"data_protection_snapshot_policy"`
	// +optional
	// +kubebuilder:validation:MaxItems=5
	ExportPolicyRule []VolumeSpecExportPolicyRule `json:"exportPolicyRule,omitempty" tf:"export_policy_rule"`
	Location         *string                      `json:"location" tf:"location"`
	// +optional
	MountIPAddresses []string `json:"mountIPAddresses,omitempty" tf:"mount_ip_addresses"`
	Name             *string  `json:"name" tf:"name"`
	PoolName         *string  `json:"poolName" tf:"pool_name"`
	// +optional
	// +kubebuilder:validation:MaxItems=2
	Protocols         []string `json:"protocols,omitempty" tf:"protocols"`
	ResourceGroupName *string  `json:"resourceGroupName" tf:"resource_group_name"`
	// +optional
	SecurityStyle *string `json:"securityStyle,omitempty" tf:"security_style"`
	ServiceLevel  *string `json:"serviceLevel" tf:"service_level"`
	// +optional
	SnapshotDirectoryVisible *bool   `json:"snapshotDirectoryVisible,omitempty" tf:"snapshot_directory_visible"`
	StorageQuotaInGb         *int64  `json:"storageQuotaInGb" tf:"storage_quota_in_gb"`
	SubnetID                 *string `json:"subnetID" tf:"subnet_id"`
	// +optional
	Tags *map[string]string `json:"tags,omitempty" tf:"tags"`
	// +optional
	ThroughputInMibps *float64 `json:"throughputInMibps,omitempty" tf:"throughput_in_mibps"`
	VolumePath        *string  `json:"volumePath" tf:"volume_path"`
}

func (*VolumeSpecResource) DeepCopy

func (in *VolumeSpecResource) DeepCopy() *VolumeSpecResource

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

func (*VolumeSpecResource) DeepCopyInto

func (in *VolumeSpecResource) DeepCopyInto(out *VolumeSpecResource)

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

type VolumeStatus

type VolumeStatus 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 (*VolumeStatus) DeepCopy

func (in *VolumeStatus) DeepCopy() *VolumeStatus

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

func (*VolumeStatus) DeepCopyInto

func (in *VolumeStatus) DeepCopyInto(out *VolumeStatus)

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