v1alpha1

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package v1alpha1 contains the v1alpha1 group ibmclouddatabasesv5 resources of the IBM Cloud provider. +kubebuilder:object:generate=true +groupName=ibmclouddatabasesv5.ibmcloud.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	APIGroup = "ibmclouddatabasesv5.ibmcloud.crossplane.io"
	Version  = "v1alpha1"
)

Package type metadata.

Variables

View Source
var (
	// SchemeGroupVersion is group version used to register these objects
	SchemeGroupVersion = schema.GroupVersion{Group: APIGroup, Version: Version}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion}
)
View Source
var (
	ScalingGroupKind                 = reflect.TypeOf(ScalingGroup{}).Name()
	ScalingGroupGroupKind            = schema.GroupKind{Group: APIGroup, Kind: ScalingGroupKind}.String()
	ScalingGroupKindAPIVersion       = ScalingGroupKind + "." + SchemeGroupVersion.String()
	ScalingGroupGroupVersionKind     = SchemeGroupVersion.WithKind(ScalingGroupKind)
	WhitelistKind                    = reflect.TypeOf(Whitelist{}).Name()
	WhitelistGroupKind               = schema.GroupKind{Group: APIGroup, Kind: WhitelistKind}.String()
	WhitelistKindAPIVersion          = WhitelistKind + "." + SchemeGroupVersion.String()
	WhitelistGroupVersionKind        = SchemeGroupVersion.WithKind(WhitelistKind)
	AutoscalingGroupKind             = reflect.TypeOf(AutoscalingGroup{}).Name()
	AutoscalingGroupGroupKind        = schema.GroupKind{Group: APIGroup, Kind: AutoscalingGroupKind}.String()
	AutoscalingGroupKindAPIVersion   = AutoscalingGroupKind + "." + SchemeGroupVersion.String()
	AutoscalingGroupGroupVersionKind = SchemeGroupVersion.WithKind(AutoscalingGroupKind)
)

Ibmclouddatabasesv5 types metadata.

Functions

func ID

ID extracts the resolved ResourceInstance's ID

Types

type AutoscalingCPUGroupCPU

type AutoscalingCPUGroupCPU struct {
	Scalers *runtime.RawExtension `json:"scalers,omitempty"`

	Rate *AutoscalingCPUGroupCPURate `json:"rate,omitempty"`
}

AutoscalingCPUGroupCPU : AutoscalingCPUGroupCPU struct

func (*AutoscalingCPUGroupCPU) DeepCopy

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

func (*AutoscalingCPUGroupCPU) DeepCopyInto

func (in *AutoscalingCPUGroupCPU) DeepCopyInto(out *AutoscalingCPUGroupCPU)

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

type AutoscalingCPUGroupCPURate

type AutoscalingCPUGroupCPURate struct {
	IncreasePercent *int64 `json:"increasePercent,omitempty"`

	PeriodSeconds *int64 `json:"periodSeconds,omitempty"`

	LimitCountPerMember *int64 `json:"limitCountPerMember,omitempty"`

	Units *string `json:"units,omitempty"`
}

AutoscalingCPUGroupCPURate : AutoscalingCPUGroupCPURate struct

func (*AutoscalingCPUGroupCPURate) DeepCopy

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

func (*AutoscalingCPUGroupCPURate) DeepCopyInto

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

type AutoscalingDiskGroupDisk

type AutoscalingDiskGroupDisk struct {
	Scalers *AutoscalingDiskGroupDiskScalers `json:"scalers,omitempty"`

	Rate *AutoscalingDiskGroupDiskRate `json:"rate,omitempty"`
}

AutoscalingDiskGroupDisk : AutoscalingDiskGroupDisk struct

func (*AutoscalingDiskGroupDisk) DeepCopy

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

func (*AutoscalingDiskGroupDisk) DeepCopyInto

func (in *AutoscalingDiskGroupDisk) DeepCopyInto(out *AutoscalingDiskGroupDisk)

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

type AutoscalingDiskGroupDiskRate

type AutoscalingDiskGroupDiskRate struct {
	IncreasePercent *int64 `json:"increasePercent,omitempty"`

	PeriodSeconds *int64 `json:"periodSeconds,omitempty"`

	LimitMbPerMember *int64 `json:"limitMbPerMember,omitempty"`

	Units *string `json:"units,omitempty"`
}

AutoscalingDiskGroupDiskRate : AutoscalingDiskGroupDiskRate struct

func (*AutoscalingDiskGroupDiskRate) DeepCopy

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

func (*AutoscalingDiskGroupDiskRate) DeepCopyInto

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

type AutoscalingDiskGroupDiskScalers

type AutoscalingDiskGroupDiskScalers struct {
	Capacity *AutoscalingDiskGroupDiskScalersCapacity `json:"capacity,omitempty"`

	IoUtilization *AutoscalingDiskGroupDiskScalersIoUtilization `json:"ioUtilization,omitempty"`
}

AutoscalingDiskGroupDiskScalers : AutoscalingDiskGroupDiskScalers struct

func (*AutoscalingDiskGroupDiskScalers) DeepCopy

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

func (*AutoscalingDiskGroupDiskScalers) DeepCopyInto

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

type AutoscalingDiskGroupDiskScalersCapacity

type AutoscalingDiskGroupDiskScalersCapacity struct {
	Enabled *bool `json:"enabled,omitempty"`

	FreeSpaceLessThanPercent *int64 `json:"freeSpaceLessThanPercent,omitempty"`
}

AutoscalingDiskGroupDiskScalersCapacity : AutoscalingDiskGroupDiskScalersCapacity struct

func (*AutoscalingDiskGroupDiskScalersCapacity) DeepCopy

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

func (*AutoscalingDiskGroupDiskScalersCapacity) DeepCopyInto

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

type AutoscalingDiskGroupDiskScalersIoUtilization

type AutoscalingDiskGroupDiskScalersIoUtilization struct {
	Enabled *bool `json:"enabled,omitempty"`

	OverPeriod *string `json:"overPeriod,omitempty"`

	AbovePercent *int64 `json:"abovePercent,omitempty"`
}

AutoscalingDiskGroupDiskScalersIoUtilization : AutoscalingDiskGroupDiskScalersIoUtilization struct

func (*AutoscalingDiskGroupDiskScalersIoUtilization) DeepCopy

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

func (*AutoscalingDiskGroupDiskScalersIoUtilization) DeepCopyInto

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

type AutoscalingGroup

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

	Spec   AutoscalingGroupSpec   `json:"spec"`
	Status AutoscalingGroupStatus `json:"status,omitempty"`
}

A AutoscalingGroup represents an instance of a managed service on IBM Cloud +kubebuilder:subresource:status +kubebuilder:printcolumn:name="STATUS",type="string",JSONPath=".status.bindingPhase" +kubebuilder:printcolumn:name="STATE",type="string",JSONPath=".status.atProvider.state" +kubebuilder:printcolumn:name="CLASS",type="string",JSONPath=".spec.classRef.name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,ibmcloud}

func (*AutoscalingGroup) DeepCopy

func (in *AutoscalingGroup) DeepCopy() *AutoscalingGroup

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

func (*AutoscalingGroup) DeepCopyInto

func (in *AutoscalingGroup) DeepCopyInto(out *AutoscalingGroup)

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

func (*AutoscalingGroup) DeepCopyObject

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

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

func (*AutoscalingGroup) GetCondition

GetCondition of this AutoscalingGroup.

func (*AutoscalingGroup) GetDeletionPolicy

func (mg *AutoscalingGroup) GetDeletionPolicy() runtimev1alpha1.DeletionPolicy

GetDeletionPolicy of this AutoscalingGroup.

func (*AutoscalingGroup) GetProviderConfigReference

func (mg *AutoscalingGroup) GetProviderConfigReference() *runtimev1alpha1.Reference

GetProviderConfigReference of this AutoscalingGroup.

func (*AutoscalingGroup) GetProviderReference

func (mg *AutoscalingGroup) GetProviderReference() *runtimev1alpha1.Reference

GetProviderReference of this AutoscalingGroup. Deprecated: Use GetProviderConfigReference.

func (*AutoscalingGroup) GetWriteConnectionSecretToReference

func (mg *AutoscalingGroup) GetWriteConnectionSecretToReference() *runtimev1alpha1.SecretReference

GetWriteConnectionSecretToReference of this AutoscalingGroup.

func (*AutoscalingGroup) ResolveReferences

func (mg *AutoscalingGroup) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this AutoScalingGroup

func (*AutoscalingGroup) SetConditions

func (mg *AutoscalingGroup) SetConditions(c ...runtimev1alpha1.Condition)

SetConditions of this AutoscalingGroup.

func (*AutoscalingGroup) SetDeletionPolicy

func (mg *AutoscalingGroup) SetDeletionPolicy(r runtimev1alpha1.DeletionPolicy)

SetDeletionPolicy of this AutoscalingGroup.

func (*AutoscalingGroup) SetProviderConfigReference

func (mg *AutoscalingGroup) SetProviderConfigReference(r *runtimev1alpha1.Reference)

SetProviderConfigReference of this AutoscalingGroup.

func (*AutoscalingGroup) SetProviderReference

func (mg *AutoscalingGroup) SetProviderReference(r *runtimev1alpha1.Reference)

SetProviderReference of this AutoscalingGroup. Deprecated: Use SetProviderConfigReference.

func (*AutoscalingGroup) SetWriteConnectionSecretToReference

func (mg *AutoscalingGroup) SetWriteConnectionSecretToReference(r *runtimev1alpha1.SecretReference)

SetWriteConnectionSecretToReference of this AutoscalingGroup.

type AutoscalingGroupList

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

AutoscalingGroupList contains a list of AutoscalingGroup

func (*AutoscalingGroupList) DeepCopy

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

func (*AutoscalingGroupList) DeepCopyInto

func (in *AutoscalingGroupList) DeepCopyInto(out *AutoscalingGroupList)

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

func (*AutoscalingGroupList) DeepCopyObject

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

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

func (*AutoscalingGroupList) GetItems

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

GetItems of this AutoscalingGroupList.

type AutoscalingGroupObservation

type AutoscalingGroupObservation struct {
	// The current state of the autoscaling group
	State string `json:"state,omitempty"`
}

AutoscalingGroupObservation are the observable fields of a Autoscaling Group.

func (*AutoscalingGroupObservation) DeepCopy

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

func (*AutoscalingGroupObservation) DeepCopyInto

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

type AutoscalingGroupParameters

type AutoscalingGroupParameters struct {
	// Deployment ID.
	// +immutable
	// +optional
	ID *string `json:"id,omitempty"`

	// IDRef is a reference to an ICD resource instance used to set ID
	// +immutable
	// +optional
	IDRef *runtimev1alpha1.Reference `json:"idRef,omitempty"`

	// SourceSelector selects a reference to an ICD resource instance used to set ID.
	// +immutable
	// +optional
	IDSelector *runtimev1alpha1.Selector `json:"idSelector,omitempty"`

	// Disk -
	// +optional
	Disk *AutoscalingDiskGroupDisk `json:"disk,omitempty"`

	// 	Memory -
	// +optional
	Memory *AutoscalingMemoryGroupMemory `json:"memory,omitempty"`

	// CPU -
	// +optional
	CPU *AutoscalingCPUGroupCPU `json:"cpu,omitempty"`
}

AutoscalingGroupParameters are the configurable fields of a AutoscalingGroup.

func (*AutoscalingGroupParameters) DeepCopy

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

func (*AutoscalingGroupParameters) DeepCopyInto

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

type AutoscalingGroupSpec

type AutoscalingGroupSpec struct {
	runtimev1alpha1.ResourceSpec `json:",inline"`
	ConnectionTemplates          map[string]string          `json:"connectionTemplates,omitempty"`
	ForProvider                  AutoscalingGroupParameters `json:"forProvider"`
}

A AutoscalingGroupSpec defines the desired state of a AutoscalingGroup.

func (*AutoscalingGroupSpec) DeepCopy

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

func (*AutoscalingGroupSpec) DeepCopyInto

func (in *AutoscalingGroupSpec) DeepCopyInto(out *AutoscalingGroupSpec)

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

type AutoscalingGroupStatus

type AutoscalingGroupStatus struct {
	runtimev1alpha1.ResourceStatus `json:",inline"`
	AtProvider                     AutoscalingGroupObservation `json:"atProvider,omitempty"`
}

A AutoscalingGroupStatus represents the observed state of a AutoscalingGroup.

func (*AutoscalingGroupStatus) DeepCopy

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

func (*AutoscalingGroupStatus) DeepCopyInto

func (in *AutoscalingGroupStatus) DeepCopyInto(out *AutoscalingGroupStatus)

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

type AutoscalingMemoryGroupMemory

type AutoscalingMemoryGroupMemory struct {
	Scalers *AutoscalingMemoryGroupMemoryScalers `json:"scalers,omitempty"`

	Rate *AutoscalingMemoryGroupMemoryRate `json:"rate,omitempty"`
}

AutoscalingMemoryGroupMemory : AutoscalingMemoryGroupMemory struct

func (*AutoscalingMemoryGroupMemory) DeepCopy

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

func (*AutoscalingMemoryGroupMemory) DeepCopyInto

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

type AutoscalingMemoryGroupMemoryRate

type AutoscalingMemoryGroupMemoryRate struct {
	IncreasePercent *int64 `json:"increasePercent,omitempty"`

	PeriodSeconds *int64 `json:"periodSeconds,omitempty"`

	LimitMbPerMember *int64 `json:"limitMbPerMember,omitempty"`

	Units *string `json:"units,omitempty"`
}

AutoscalingMemoryGroupMemoryRate : AutoscalingMemoryGroupMemoryRate struct

func (*AutoscalingMemoryGroupMemoryRate) DeepCopy

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

func (*AutoscalingMemoryGroupMemoryRate) DeepCopyInto

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

type AutoscalingMemoryGroupMemoryScalers

type AutoscalingMemoryGroupMemoryScalers struct {
	IoUtilization *AutoscalingMemoryGroupMemoryScalersIoUtilization `json:"ioUtilization,omitempty"`
}

AutoscalingMemoryGroupMemoryScalers : AutoscalingMemoryGroupMemoryScalers struct

func (*AutoscalingMemoryGroupMemoryScalers) DeepCopy

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

func (*AutoscalingMemoryGroupMemoryScalers) DeepCopyInto

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

type AutoscalingMemoryGroupMemoryScalersIoUtilization

type AutoscalingMemoryGroupMemoryScalersIoUtilization struct {
	Enabled *bool `json:"enabled,omitempty"`

	OverPeriod *string `json:"overPeriod,omitempty"`

	AbovePercent *int64 `json:"abovePercent,omitempty"`
}

AutoscalingMemoryGroupMemoryScalersIoUtilization : AutoscalingMemoryGroupMemoryScalersIoUtilization struct

func (*AutoscalingMemoryGroupMemoryScalersIoUtilization) DeepCopy

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

func (*AutoscalingMemoryGroupMemoryScalersIoUtilization) DeepCopyInto

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

type Group

type Group struct {
	// Id/name for group.
	ID string `json:"id,omitempty"`

	// Number of entities in the group.
	Count int64 `json:"count,omitempty"`

	Members GroupMembers `json:"members,omitempty"`

	Memory GroupMemory `json:"memory,omitempty"`

	CPU GroupCPU `json:"cpu,omitempty"`

	Disk GroupDisk `json:"disk,omitempty"`
}

Group : Group struct

func (*Group) DeepCopy

func (in *Group) DeepCopy() *Group

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

func (*Group) DeepCopyInto

func (in *Group) DeepCopyInto(out *Group)

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

type GroupCPU

type GroupCPU struct {
	// Number of allocated CPUs.
	AllocationCount int64 `json:"allocationCount,omitempty"`

	// Number of allocated CPUs for member
	MemberAllocationCount int64 `json:"memberAllocationCount,omitempty"`

	// Units used for scaling cpu - count means the value is the number of the unit(s) available.
	Units *string `json:"units,omitempty"`

	// Minimum number of CPUs.
	MinimumCount *int64 `json:"minimumCount,omitempty"`

	// Maximum number of CPUs.
	MaximumCount *int64 `json:"maximumCount,omitempty"`

	// Step size CPUs can be adjusted.
	StepSizeCount *int64 `json:"stepSizeCount,omitempty"`

	// Is this group's CPU count adjustable.
	IsAdjustable *bool `json:"isAdjustable,omitempty"`

	// Is this group's CPU optional?.
	IsOptional *bool `json:"isOptional,omitempty"`

	// Can this group's CPU scale down?.
	CanScaleDown *bool `json:"canScaleDown,omitempty"`
}

GroupCPU -

func (*GroupCPU) DeepCopy

func (in *GroupCPU) DeepCopy() *GroupCPU

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

func (*GroupCPU) DeepCopyInto

func (in *GroupCPU) DeepCopyInto(out *GroupCPU)

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

type GroupDisk

type GroupDisk struct {
	// Total allocated storage in MB.
	AllocationMb int64 `json:"allocationMb,omitempty"`

	// Allocated storage for member in MB.
	MemberAllocationMb int64 `json:"memberAllocationMb,omitempty"`

	// Units used for scaling storage.
	Units *string `json:"units,omitempty"`

	// Minimum allocated storage.
	MinimumMb *int64 `json:"minimumMb,omitempty"`

	// Maximum allocated storage.
	MaximumMb *int64 `json:"maximumMb,omitempty"`

	// Step size storage can be adjusted.
	StepSizeMb *int64 `json:"stepSizeMb,omitempty"`

	// Is this group's storage adjustable?.
	IsAdjustable *bool `json:"isAdjustable,omitempty"`

	// Is this group's storage optional?.
	IsOptional *bool `json:"isOptional,omitempty"`

	// Can this group's storage scale down?.
	CanScaleDown *bool `json:"can_scale_down,omitempty"`
}

GroupDisk -

func (*GroupDisk) DeepCopy

func (in *GroupDisk) DeepCopy() *GroupDisk

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

func (*GroupDisk) DeepCopyInto

func (in *GroupDisk) DeepCopyInto(out *GroupDisk)

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

type GroupMembers

type GroupMembers struct {
	// Allocated number of members.
	AllocationCount int64 `json:"allocationCount,omitempty"`

	// Units used for scaling number of members.
	Units *string `json:"units,omitempty"`

	// Minimum number of members.
	MinimumCount *int64 `json:"minimumCount,omitempty"`

	// Maximum number of members.
	MaximumCount *int64 `json:"maximumCount,omitempty"`

	// Step size for number of members.
	StepSizeCount *int64 `json:"stepSizeCount,omitempty"`

	// Is this deployment's number of members adjustable?.
	IsAdjustable *bool `json:"isAdjustable,omitempty"`

	// Is this deployments's number of members optional?.
	IsOptional *bool `json:"isOptional,omitempty"`

	// Can this deployment's number of members scale down?.
	CanScaleDown *bool `json:"canScaleDown,omitempty"`
}

GroupMembers -

func (*GroupMembers) DeepCopy

func (in *GroupMembers) DeepCopy() *GroupMembers

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

func (*GroupMembers) DeepCopyInto

func (in *GroupMembers) DeepCopyInto(out *GroupMembers)

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

type GroupMemory

type GroupMemory struct {
	// Total allocated memory in MB.
	AllocationMb int64 `json:"allocationMb,omitempty"`

	// Allocated memory for member in MB.
	MemberAllocationMb int64 `json:"memberAllocationMb,omitempty"`

	// Units used for scaling memory.
	Units *string `json:"units,omitempty"`

	// Minimum memory in MB.
	MinimumMb *int64 `json:"minimumMb,omitempty"`

	// Maximum memory in MB.
	MaximumMb *int64 `json:"maximumMb,omitempty"`

	// Step size memory can be adjusted by in MB.
	StepSizeMb *int64 `json:"stepSizeMb,omitempty"`

	// Is this group's memory adjustable?.
	IsAdjustable *bool `json:"isAdjustable,omitempty"`

	// Is this group's memory optional?.
	IsOptional *bool `json:"isOptional,omitempty"`

	// Can this group's memory scale down?.
	CanScaleDown *bool `json:"canScaleDown,omitempty"`
}

GroupMemory -

func (*GroupMemory) DeepCopy

func (in *GroupMemory) DeepCopy() *GroupMemory

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

func (*GroupMemory) DeepCopyInto

func (in *GroupMemory) DeepCopyInto(out *GroupMemory)

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

type ScalingGroup

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

	Spec   ScalingGroupSpec   `json:"spec"`
	Status ScalingGroupStatus `json:"status,omitempty"`
}

A ScalingGroup represents an instance of a managed service on IBM Cloud +kubebuilder:subresource:status +kubebuilder:printcolumn:name="STATUS",type="string",JSONPath=".status.bindingPhase" +kubebuilder:printcolumn:name="STATE",type="string",JSONPath=".status.atProvider.state" +kubebuilder:printcolumn:name="CLASS",type="string",JSONPath=".spec.classRef.name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,ibmcloud}

func (*ScalingGroup) DeepCopy

func (in *ScalingGroup) DeepCopy() *ScalingGroup

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

func (*ScalingGroup) DeepCopyInto

func (in *ScalingGroup) DeepCopyInto(out *ScalingGroup)

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

func (*ScalingGroup) DeepCopyObject

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

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

func (*ScalingGroup) GetCondition

GetCondition of this ScalingGroup.

func (*ScalingGroup) GetDeletionPolicy

func (mg *ScalingGroup) GetDeletionPolicy() runtimev1alpha1.DeletionPolicy

GetDeletionPolicy of this ScalingGroup.

func (*ScalingGroup) GetProviderConfigReference

func (mg *ScalingGroup) GetProviderConfigReference() *runtimev1alpha1.Reference

GetProviderConfigReference of this ScalingGroup.

func (*ScalingGroup) GetProviderReference

func (mg *ScalingGroup) GetProviderReference() *runtimev1alpha1.Reference

GetProviderReference of this ScalingGroup. Deprecated: Use GetProviderConfigReference.

func (*ScalingGroup) GetWriteConnectionSecretToReference

func (mg *ScalingGroup) GetWriteConnectionSecretToReference() *runtimev1alpha1.SecretReference

GetWriteConnectionSecretToReference of this ScalingGroup.

func (*ScalingGroup) ResolveReferences

func (mg *ScalingGroup) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this ScalingGroup

func (*ScalingGroup) SetConditions

func (mg *ScalingGroup) SetConditions(c ...runtimev1alpha1.Condition)

SetConditions of this ScalingGroup.

func (*ScalingGroup) SetDeletionPolicy

func (mg *ScalingGroup) SetDeletionPolicy(r runtimev1alpha1.DeletionPolicy)

SetDeletionPolicy of this ScalingGroup.

func (*ScalingGroup) SetProviderConfigReference

func (mg *ScalingGroup) SetProviderConfigReference(r *runtimev1alpha1.Reference)

SetProviderConfigReference of this ScalingGroup.

func (*ScalingGroup) SetProviderReference

func (mg *ScalingGroup) SetProviderReference(r *runtimev1alpha1.Reference)

SetProviderReference of this ScalingGroup. Deprecated: Use SetProviderConfigReference.

func (*ScalingGroup) SetWriteConnectionSecretToReference

func (mg *ScalingGroup) SetWriteConnectionSecretToReference(r *runtimev1alpha1.SecretReference)

SetWriteConnectionSecretToReference of this ScalingGroup.

type ScalingGroupList

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

ScalingGroupList contains a list of ScalingGroup

func (*ScalingGroupList) DeepCopy

func (in *ScalingGroupList) DeepCopy() *ScalingGroupList

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

func (*ScalingGroupList) DeepCopyInto

func (in *ScalingGroupList) DeepCopyInto(out *ScalingGroupList)

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

func (*ScalingGroupList) DeepCopyObject

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

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

func (*ScalingGroupList) GetItems

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

GetItems of this ScalingGroupList.

type ScalingGroupObservation

type ScalingGroupObservation struct {
	Groups []Group `json:"groups,omitempty"`
	// The current state of the scaling group
	State string `json:"state,omitempty"`
}

ScalingGroupObservation are the observable fields of a ScalingGroup.

func (*ScalingGroupObservation) DeepCopy

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

func (*ScalingGroupObservation) DeepCopyInto

func (in *ScalingGroupObservation) DeepCopyInto(out *ScalingGroupObservation)

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

type ScalingGroupParameters

type ScalingGroupParameters struct {
	// Deployment ID.
	// +immutable
	// +optional
	ID *string `json:"id,omitempty"`

	// IDRef is a reference to an ICD resource instance used to set ID
	// +immutable
	// +optional
	IDRef *runtimev1alpha1.Reference `json:"idRef,omitempty"`

	// SourceSelector selects a reference to an ICD resource instance used to set ID.
	// +immutable
	// +optional
	IDSelector *runtimev1alpha1.Selector `json:"idSelector,omitempty"`

	// Members -
	Members *SetMembersGroupMembers `json:"members,omitempty"`

	// MemberMemory -
	// +optional
	MemberMemory *SetMemoryGroupMemory `json:"memberMemory,omitempty"`

	// MemberCPU -
	// +optional
	MemberCPU *SetCPUGroupCPU `json:"memberCpu,omitempty"`

	// MemberDisk -
	// +optional
	MemberDisk *SetDiskGroupDisk `json:"memberDisk,omitempty"`
}

ScalingGroupParameters are the configurable fields of a ScalingGroup.

func (*ScalingGroupParameters) DeepCopy

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

func (*ScalingGroupParameters) DeepCopyInto

func (in *ScalingGroupParameters) DeepCopyInto(out *ScalingGroupParameters)

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

type ScalingGroupSpec

type ScalingGroupSpec struct {
	runtimev1alpha1.ResourceSpec `json:",inline"`
	ConnectionTemplates          map[string]string      `json:"connectionTemplates,omitempty"`
	ForProvider                  ScalingGroupParameters `json:"forProvider"`
}

A ScalingGroupSpec defines the desired state of a ScalingGroup.

func (*ScalingGroupSpec) DeepCopy

func (in *ScalingGroupSpec) DeepCopy() *ScalingGroupSpec

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

func (*ScalingGroupSpec) DeepCopyInto

func (in *ScalingGroupSpec) DeepCopyInto(out *ScalingGroupSpec)

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

type ScalingGroupStatus

type ScalingGroupStatus struct {
	runtimev1alpha1.ResourceStatus `json:",inline"`
	AtProvider                     ScalingGroupObservation `json:"atProvider,omitempty"`
}

A ScalingGroupStatus represents the observed state of a ScalingGroup.

func (*ScalingGroupStatus) DeepCopy

func (in *ScalingGroupStatus) DeepCopy() *ScalingGroupStatus

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

func (*ScalingGroupStatus) DeepCopyInto

func (in *ScalingGroupStatus) DeepCopyInto(out *ScalingGroupStatus)

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

type SetCPUGroupCPU

type SetCPUGroupCPU struct {
	// Number of allocated CPUs.
	AllocationCount int64 `json:"allocationCount,omitempty"`
}

SetCPUGroupCPU : SetCPUGroupCPU struct

func (*SetCPUGroupCPU) DeepCopy

func (in *SetCPUGroupCPU) DeepCopy() *SetCPUGroupCPU

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

func (*SetCPUGroupCPU) DeepCopyInto

func (in *SetCPUGroupCPU) DeepCopyInto(out *SetCPUGroupCPU)

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

type SetDiskGroupDisk

type SetDiskGroupDisk struct {
	// Allocated storage in MB.
	AllocationMb int64 `json:"allocationMb,omitempty"`
}

SetDiskGroupDisk : SetDiskGroupDisk struct

func (*SetDiskGroupDisk) DeepCopy

func (in *SetDiskGroupDisk) DeepCopy() *SetDiskGroupDisk

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

func (*SetDiskGroupDisk) DeepCopyInto

func (in *SetDiskGroupDisk) DeepCopyInto(out *SetDiskGroupDisk)

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

type SetMembersGroupMembers

type SetMembersGroupMembers struct {
	// Allocated number of members.
	AllocationCount int64 `json:"allocationCount,omitempty"`
}

SetMembersGroupMembers : SetMembersGroupMembers struct

func (*SetMembersGroupMembers) DeepCopy

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

func (*SetMembersGroupMembers) DeepCopyInto

func (in *SetMembersGroupMembers) DeepCopyInto(out *SetMembersGroupMembers)

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

type SetMemoryGroupMemory

type SetMemoryGroupMemory struct {
	// Allocated memory in MB.
	AllocationMb int64 `json:"allocationMb,omitempty"`
}

SetMemoryGroupMemory : SetMemoryGroupMemory struct

func (*SetMemoryGroupMemory) DeepCopy

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

func (*SetMemoryGroupMemory) DeepCopyInto

func (in *SetMemoryGroupMemory) DeepCopyInto(out *SetMemoryGroupMemory)

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

type Whitelist

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

	Spec   WhitelistSpec   `json:"spec"`
	Status WhitelistStatus `json:"status,omitempty"`
}

A Whitelist represents an instance of a managed service on IBM Cloud +kubebuilder:subresource:status +kubebuilder:printcolumn:name="STATUS",type="string",JSONPath=".status.bindingPhase" +kubebuilder:printcolumn:name="STATE",type="string",JSONPath=".status.atProvider.state" +kubebuilder:printcolumn:name="CLASS",type="string",JSONPath=".spec.classRef.name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,ibmcloud}

func (*Whitelist) DeepCopy

func (in *Whitelist) DeepCopy() *Whitelist

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

func (*Whitelist) DeepCopyInto

func (in *Whitelist) DeepCopyInto(out *Whitelist)

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

func (*Whitelist) DeepCopyObject

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

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

func (*Whitelist) GetCondition

GetCondition of this Whitelist.

func (*Whitelist) GetDeletionPolicy

func (mg *Whitelist) GetDeletionPolicy() runtimev1alpha1.DeletionPolicy

GetDeletionPolicy of this Whitelist.

func (*Whitelist) GetProviderConfigReference

func (mg *Whitelist) GetProviderConfigReference() *runtimev1alpha1.Reference

GetProviderConfigReference of this Whitelist.

func (*Whitelist) GetProviderReference

func (mg *Whitelist) GetProviderReference() *runtimev1alpha1.Reference

GetProviderReference of this Whitelist. Deprecated: Use GetProviderConfigReference.

func (*Whitelist) GetWriteConnectionSecretToReference

func (mg *Whitelist) GetWriteConnectionSecretToReference() *runtimev1alpha1.SecretReference

GetWriteConnectionSecretToReference of this Whitelist.

func (*Whitelist) ResolveReferences

func (mg *Whitelist) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this Whitelist

func (*Whitelist) SetConditions

func (mg *Whitelist) SetConditions(c ...runtimev1alpha1.Condition)

SetConditions of this Whitelist.

func (*Whitelist) SetDeletionPolicy

func (mg *Whitelist) SetDeletionPolicy(r runtimev1alpha1.DeletionPolicy)

SetDeletionPolicy of this Whitelist.

func (*Whitelist) SetProviderConfigReference

func (mg *Whitelist) SetProviderConfigReference(r *runtimev1alpha1.Reference)

SetProviderConfigReference of this Whitelist.

func (*Whitelist) SetProviderReference

func (mg *Whitelist) SetProviderReference(r *runtimev1alpha1.Reference)

SetProviderReference of this Whitelist. Deprecated: Use SetProviderConfigReference.

func (*Whitelist) SetWriteConnectionSecretToReference

func (mg *Whitelist) SetWriteConnectionSecretToReference(r *runtimev1alpha1.SecretReference)

SetWriteConnectionSecretToReference of this Whitelist.

type WhitelistEntry

type WhitelistEntry struct {
	// An IPv4 address or a CIDR range (netmasked IPv4 address).
	Address string `json:"address,omitempty"`

	// A human readable description of the address or range for identification purposes.
	// +optional
	Description *string `json:"description,omitempty"`
}

WhitelistEntry : WhitelistEntry struct

func (*WhitelistEntry) DeepCopy

func (in *WhitelistEntry) DeepCopy() *WhitelistEntry

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

func (*WhitelistEntry) DeepCopyInto

func (in *WhitelistEntry) DeepCopyInto(out *WhitelistEntry)

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

type WhitelistList

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

WhitelistList contains a list of Whitelist

func (*WhitelistList) DeepCopy

func (in *WhitelistList) DeepCopy() *WhitelistList

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

func (*WhitelistList) DeepCopyInto

func (in *WhitelistList) DeepCopyInto(out *WhitelistList)

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

func (*WhitelistList) DeepCopyObject

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

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

func (*WhitelistList) GetItems

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

GetItems of this WhitelistList.

type WhitelistObservation

type WhitelistObservation struct {
	// The current state of the whitelist
	State string `json:"state,omitempty"`
}

WhitelistObservation are the observable fields of a Whitelist.

func (*WhitelistObservation) DeepCopy

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

func (*WhitelistObservation) DeepCopyInto

func (in *WhitelistObservation) DeepCopyInto(out *WhitelistObservation)

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

type WhitelistParameters

type WhitelistParameters struct {
	// Deployment ID.
	// +immutable
	// +optional
	ID *string `json:"id,omitempty"`

	// IDRef is a reference to an ICD resource instance used to set ID
	// +immutable
	// +optional
	IDRef *runtimev1alpha1.Reference `json:"idRef,omitempty"`

	// SourceSelector selects a reference to an ICD resource instance used to set ID.
	// +immutable
	// +optional
	IDSelector *runtimev1alpha1.Selector `json:"idSelector,omitempty"`

	// An array of allowlist entries.
	IPAddresses []WhitelistEntry `json:"ipAddresses,omitempty"`

	// Verify that the current allowlist matches a provided ETag value. Use in conjunction with the GET operation's ETag
	// header to ensure synchronicity between clients.
	// +optional
	IfMatch *string `json:"IfMatch,omitempty"`
}

WhitelistParameters are the configurable fields of a Whitelist.

func (*WhitelistParameters) DeepCopy

func (in *WhitelistParameters) DeepCopy() *WhitelistParameters

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

func (*WhitelistParameters) DeepCopyInto

func (in *WhitelistParameters) DeepCopyInto(out *WhitelistParameters)

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

type WhitelistSpec

type WhitelistSpec struct {
	runtimev1alpha1.ResourceSpec `json:",inline"`
	ConnectionTemplates          map[string]string   `json:"connectionTemplates,omitempty"`
	ForProvider                  WhitelistParameters `json:"forProvider"`
}

A WhitelistSpec defines the desired state of a Whitelist.

func (*WhitelistSpec) DeepCopy

func (in *WhitelistSpec) DeepCopy() *WhitelistSpec

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

func (*WhitelistSpec) DeepCopyInto

func (in *WhitelistSpec) DeepCopyInto(out *WhitelistSpec)

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

type WhitelistStatus

type WhitelistStatus struct {
	runtimev1alpha1.ResourceStatus `json:",inline"`
	AtProvider                     WhitelistObservation `json:"atProvider,omitempty"`
}

A WhitelistStatus represents the observed state of a Whitelist.

func (*WhitelistStatus) DeepCopy

func (in *WhitelistStatus) DeepCopy() *WhitelistStatus

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

func (*WhitelistStatus) DeepCopyInto

func (in *WhitelistStatus) DeepCopyInto(out *WhitelistStatus)

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