v1alpha1

package
v0.0.23 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=accountsettings.linode.upbound.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "accountsettings.linode.upbound.io"
	CRDVersion = "v1alpha1"
)

Package type metadata.

Variables

View Source
var (
	AccountSettings_Kind             = "AccountSettings"
	AccountSettings_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: AccountSettings_Kind}.String()
	AccountSettings_KindAPIVersion   = AccountSettings_Kind + "." + CRDGroupVersion.String()
	AccountSettings_GroupVersionKind = CRDGroupVersion.WithKind(AccountSettings_Kind)
)

Repository type metadata.

View Source
var (
	// CRDGroupVersion is the API Group Version used to register the objects
	CRDGroupVersion = schema.GroupVersion{Group: CRDGroup, Version: CRDVersion}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: CRDGroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

This section is empty.

Types

type AccountSettings

type AccountSettings struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              AccountSettingsSpec   `json:"spec"`
	Status            AccountSettingsStatus `json:"status,omitempty"`
}

AccountSettings is the Schema for the AccountSettingss API. Manages the settings of a Linode account. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,linode}

func (*AccountSettings) DeepCopy

func (in *AccountSettings) DeepCopy() *AccountSettings

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

func (*AccountSettings) DeepCopyInto

func (in *AccountSettings) DeepCopyInto(out *AccountSettings)

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

func (*AccountSettings) DeepCopyObject

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

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

func (*AccountSettings) GetCondition

func (mg *AccountSettings) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this AccountSettings.

func (*AccountSettings) GetConnectionDetailsMapping

func (tr *AccountSettings) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this AccountSettings

func (*AccountSettings) GetDeletionPolicy

func (mg *AccountSettings) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this AccountSettings.

func (*AccountSettings) GetID

func (tr *AccountSettings) GetID() string

GetID returns ID of underlying Terraform resource of this AccountSettings

func (*AccountSettings) GetInitParameters

func (tr *AccountSettings) GetInitParameters() (map[string]any, error)

GetInitParameters of this AccountSettings

func (*AccountSettings) GetManagementPolicies

func (mg *AccountSettings) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this AccountSettings.

func (*AccountSettings) GetMergedParameters

func (tr *AccountSettings) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this AccountSettings

func (*AccountSettings) GetObservation

func (tr *AccountSettings) GetObservation() (map[string]any, error)

GetObservation of this AccountSettings

func (*AccountSettings) GetParameters

func (tr *AccountSettings) GetParameters() (map[string]any, error)

GetParameters of this AccountSettings

func (*AccountSettings) GetProviderConfigReference

func (mg *AccountSettings) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this AccountSettings.

func (*AccountSettings) GetPublishConnectionDetailsTo

func (mg *AccountSettings) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this AccountSettings.

func (*AccountSettings) GetTerraformResourceType

func (mg *AccountSettings) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this AccountSettings

func (*AccountSettings) GetTerraformSchemaVersion

func (tr *AccountSettings) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*AccountSettings) GetWriteConnectionSecretToReference

func (mg *AccountSettings) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this AccountSettings.

func (*AccountSettings) Hub

func (tr *AccountSettings) Hub()

Hub marks this type as a conversion hub.

func (*AccountSettings) LateInitialize

func (tr *AccountSettings) LateInitialize(attrs []byte) (bool, error)

LateInitialize this AccountSettings using its observed tfState. returns True if there are any spec changes for the resource.

func (*AccountSettings) SetConditions

func (mg *AccountSettings) SetConditions(c ...xpv1.Condition)

SetConditions of this AccountSettings.

func (*AccountSettings) SetDeletionPolicy

func (mg *AccountSettings) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this AccountSettings.

func (*AccountSettings) SetManagementPolicies

func (mg *AccountSettings) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this AccountSettings.

func (*AccountSettings) SetObservation

func (tr *AccountSettings) SetObservation(obs map[string]any) error

SetObservation for this AccountSettings

func (*AccountSettings) SetParameters

func (tr *AccountSettings) SetParameters(params map[string]any) error

SetParameters for this AccountSettings

func (*AccountSettings) SetProviderConfigReference

func (mg *AccountSettings) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this AccountSettings.

func (*AccountSettings) SetPublishConnectionDetailsTo

func (mg *AccountSettings) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this AccountSettings.

func (*AccountSettings) SetWriteConnectionSecretToReference

func (mg *AccountSettings) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this AccountSettings.

type AccountSettingsInitParameters

type AccountSettingsInitParameters struct {

	// The account-wide backups default. If true, all Linodes created will automatically be enrolled in the Backups service. If false, Linodes will not be enrolled by default, but may still be enrolled on creation or later.
	// Account-wide backups default.
	BackupsEnabled *bool `json:"backupsEnabled,omitempty" tf:"backups_enabled,omitempty"`

	// The Longview Pro tier you are currently subscribed to. The value must be a Longview Subscription ID or null for Longview Free.
	// The Longview Pro tier you are currently subscribed to.
	LongviewSubscription *string `json:"longviewSubscription,omitempty" tf:"longview_subscription,omitempty"`

	// Enables network helper across all users by default for new Linodes and Linode Configs.
	// Enables network helper across all users by default for new Linodes and Linode Configs.
	NetworkHelper *bool `json:"networkHelper,omitempty" tf:"network_helper,omitempty"`
}

func (*AccountSettingsInitParameters) DeepCopy

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

func (*AccountSettingsInitParameters) DeepCopyInto

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

type AccountSettingsList

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

AccountSettingsList contains a list of AccountSettingss

func (*AccountSettingsList) DeepCopy

func (in *AccountSettingsList) DeepCopy() *AccountSettingsList

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

func (*AccountSettingsList) DeepCopyInto

func (in *AccountSettingsList) DeepCopyInto(out *AccountSettingsList)

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

func (*AccountSettingsList) DeepCopyObject

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

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

func (*AccountSettingsList) GetItems

func (l *AccountSettingsList) GetItems() []resource.Managed

GetItems of this AccountSettingsList.

type AccountSettingsObservation

type AccountSettingsObservation struct {

	// The account-wide backups default. If true, all Linodes created will automatically be enrolled in the Backups service. If false, Linodes will not be enrolled by default, but may still be enrolled on creation or later.
	// Account-wide backups default.
	BackupsEnabled *bool `json:"backupsEnabled,omitempty" tf:"backups_enabled,omitempty"`

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

	// The Longview Pro tier you are currently subscribed to. The value must be a Longview Subscription ID or null for Longview Free.
	// The Longview Pro tier you are currently subscribed to.
	LongviewSubscription *string `json:"longviewSubscription,omitempty" tf:"longview_subscription,omitempty"`

	// Enables monitoring for connectivity, response, and total request time.
	// Enables monitoring for connectivity, response, and total request time.
	Managed *bool `json:"managed,omitempty" tf:"managed,omitempty"`

	// Enables network helper across all users by default for new Linodes and Linode Configs.
	// Enables network helper across all users by default for new Linodes and Linode Configs.
	NetworkHelper *bool `json:"networkHelper,omitempty" tf:"network_helper,omitempty"`

	// A string describing the status of this account’s Object Storage service enrollment.
	// A string describing the status of this account's Object Storage service enrollment.
	ObjectStorage *string `json:"objectStorage,omitempty" tf:"object_storage,omitempty"`
}

func (*AccountSettingsObservation) DeepCopy

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

func (*AccountSettingsObservation) DeepCopyInto

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

type AccountSettingsParameters

type AccountSettingsParameters struct {

	// The account-wide backups default. If true, all Linodes created will automatically be enrolled in the Backups service. If false, Linodes will not be enrolled by default, but may still be enrolled on creation or later.
	// Account-wide backups default.
	// +kubebuilder:validation:Optional
	BackupsEnabled *bool `json:"backupsEnabled,omitempty" tf:"backups_enabled,omitempty"`

	// The Longview Pro tier you are currently subscribed to. The value must be a Longview Subscription ID or null for Longview Free.
	// The Longview Pro tier you are currently subscribed to.
	// +kubebuilder:validation:Optional
	LongviewSubscription *string `json:"longviewSubscription,omitempty" tf:"longview_subscription,omitempty"`

	// Enables network helper across all users by default for new Linodes and Linode Configs.
	// Enables network helper across all users by default for new Linodes and Linode Configs.
	// +kubebuilder:validation:Optional
	NetworkHelper *bool `json:"networkHelper,omitempty" tf:"network_helper,omitempty"`
}

func (*AccountSettingsParameters) DeepCopy

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

func (*AccountSettingsParameters) DeepCopyInto

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

type AccountSettingsSpec

type AccountSettingsSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     AccountSettingsParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider AccountSettingsInitParameters `json:"initProvider,omitempty"`
}

AccountSettingsSpec defines the desired state of AccountSettings

func (*AccountSettingsSpec) DeepCopy

func (in *AccountSettingsSpec) DeepCopy() *AccountSettingsSpec

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

func (*AccountSettingsSpec) DeepCopyInto

func (in *AccountSettingsSpec) DeepCopyInto(out *AccountSettingsSpec)

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

type AccountSettingsStatus

type AccountSettingsStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        AccountSettingsObservation `json:"atProvider,omitempty"`
}

AccountSettingsStatus defines the observed state of AccountSettings.

func (*AccountSettingsStatus) DeepCopy

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

func (*AccountSettingsStatus) DeepCopyInto

func (in *AccountSettingsStatus) DeepCopyInto(out *AccountSettingsStatus)

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