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=optimizer.oci.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: optimizer.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 EnrollmentStatus

type EnrollmentStatus struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              EnrollmentStatusSpec   `json:"spec,omitempty"`
	Status            EnrollmentStatusStatus `json:"status,omitempty"`
}

func (*EnrollmentStatus) DeepCopy

func (in *EnrollmentStatus) DeepCopy() *EnrollmentStatus

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

func (*EnrollmentStatus) DeepCopyInto

func (in *EnrollmentStatus) DeepCopyInto(out *EnrollmentStatus)

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

func (*EnrollmentStatus) DeepCopyObject

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

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

func (*EnrollmentStatus) SetupWebhookWithManager

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

func (*EnrollmentStatus) ValidateCreate

func (r *EnrollmentStatus) ValidateCreate() error

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

func (*EnrollmentStatus) ValidateDelete

func (r *EnrollmentStatus) ValidateDelete() error

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

func (*EnrollmentStatus) ValidateUpdate

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

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

type EnrollmentStatusList

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

EnrollmentStatusList is a list of EnrollmentStatuss

func (*EnrollmentStatusList) DeepCopy

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

func (*EnrollmentStatusList) DeepCopyInto

func (in *EnrollmentStatusList) DeepCopyInto(out *EnrollmentStatusList)

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

func (*EnrollmentStatusList) DeepCopyObject

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

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

type EnrollmentStatusSpec

type EnrollmentStatusSpec struct {
	State *EnrollmentStatusSpecResource `json:"state,omitempty" tf:"-"`

	Resource EnrollmentStatusSpecResource `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 (*EnrollmentStatusSpec) DeepCopy

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

func (*EnrollmentStatusSpec) DeepCopyInto

func (in *EnrollmentStatusSpec) DeepCopyInto(out *EnrollmentStatusSpec)

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

type EnrollmentStatusSpecResource

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

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

	// +optional
	CompartmentID      *string `json:"compartmentID,omitempty" tf:"compartment_id"`
	EnrollmentStatusID *string `json:"enrollmentStatusID" tf:"enrollment_status_id"`
	// +optional
	State  *string `json:"state,omitempty" tf:"state"`
	Status *string `json:"status" tf:"status"`
	// +optional
	StatusReason *string `json:"statusReason,omitempty" tf:"status_reason"`
	// +optional
	TimeCreated *string `json:"timeCreated,omitempty" tf:"time_created"`
	// +optional
	TimeUpdated *string `json:"timeUpdated,omitempty" tf:"time_updated"`
}

func (*EnrollmentStatusSpecResource) DeepCopy

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

func (*EnrollmentStatusSpecResource) DeepCopyInto

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

type EnrollmentStatusStatus

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

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

func (*EnrollmentStatusStatus) DeepCopyInto

func (in *EnrollmentStatusStatus) DeepCopyInto(out *EnrollmentStatusStatus)

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

type Profile

type Profile struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ProfileSpec   `json:"spec,omitempty"`
	Status            ProfileStatus `json:"status,omitempty"`
}

func (*Profile) DeepCopy

func (in *Profile) DeepCopy() *Profile

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

func (*Profile) DeepCopyInto

func (in *Profile) DeepCopyInto(out *Profile)

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

func (*Profile) DeepCopyObject

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

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

func (*Profile) SetupWebhookWithManager

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

func (*Profile) ValidateCreate

func (r *Profile) ValidateCreate() error

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

func (*Profile) ValidateDelete

func (r *Profile) ValidateDelete() error

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

func (*Profile) ValidateUpdate

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

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

type ProfileList

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

ProfileList is a list of Profiles

func (*ProfileList) DeepCopy

func (in *ProfileList) DeepCopy() *ProfileList

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

func (*ProfileList) DeepCopyInto

func (in *ProfileList) DeepCopyInto(out *ProfileList)

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

func (*ProfileList) DeepCopyObject

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

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

type ProfileSpec

type ProfileSpec struct {
	State *ProfileSpecResource `json:"state,omitempty" tf:"-"`

	Resource ProfileSpecResource `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 (*ProfileSpec) DeepCopy

func (in *ProfileSpec) DeepCopy() *ProfileSpec

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

func (*ProfileSpec) DeepCopyInto

func (in *ProfileSpec) DeepCopyInto(out *ProfileSpec)

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

type ProfileSpecLevelsConfiguration

type ProfileSpecLevelsConfiguration struct {
	// +optional
	Items []ProfileSpecLevelsConfigurationItems `json:"items,omitempty" tf:"items"`
}

func (*ProfileSpecLevelsConfiguration) DeepCopy

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

func (*ProfileSpecLevelsConfiguration) DeepCopyInto

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

type ProfileSpecLevelsConfigurationCodec

type ProfileSpecLevelsConfigurationCodec struct {
}

+k8s:deepcopy-gen=false

func (ProfileSpecLevelsConfigurationCodec) Decode

func (ProfileSpecLevelsConfigurationCodec) Encode

func (ProfileSpecLevelsConfigurationCodec) IsEmpty

type ProfileSpecLevelsConfigurationItems

type ProfileSpecLevelsConfigurationItems struct {
	// +optional
	Level *string `json:"level,omitempty" tf:"level"`
	// +optional
	RecommendationID *string `json:"recommendationID,omitempty" tf:"recommendation_id"`
}

func (*ProfileSpecLevelsConfigurationItems) DeepCopy

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

func (*ProfileSpecLevelsConfigurationItems) DeepCopyInto

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

type ProfileSpecResource

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

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

	// +optional
	AggregationIntervalInDays *int64  `json:"aggregationIntervalInDays,omitempty" tf:"aggregation_interval_in_days"`
	CompartmentID             *string `json:"compartmentID" tf:"compartment_id"`
	// +optional
	DefinedTags map[string]string `json:"definedTags,omitempty" tf:"defined_tags"`
	Description *string           `json:"description" tf:"description"`
	// +optional
	FreeformTags        map[string]string               `json:"freeformTags,omitempty" tf:"freeform_tags"`
	LevelsConfiguration *ProfileSpecLevelsConfiguration `json:"levelsConfiguration" tf:"levels_configuration"`
	Name                *string                         `json:"name" tf:"name"`
	// +optional
	State *string `json:"state,omitempty" tf:"state"`
	// +optional
	TargetCompartments *ProfileSpecTargetCompartments `json:"targetCompartments,omitempty" tf:"target_compartments"`
	// +optional
	TargetTags *ProfileSpecTargetTags `json:"targetTags,omitempty" tf:"target_tags"`
	// +optional
	TimeCreated *string `json:"timeCreated,omitempty" tf:"time_created"`
	// +optional
	TimeUpdated *string `json:"timeUpdated,omitempty" tf:"time_updated"`
}

func (*ProfileSpecResource) DeepCopy

func (in *ProfileSpecResource) DeepCopy() *ProfileSpecResource

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

func (*ProfileSpecResource) DeepCopyInto

func (in *ProfileSpecResource) DeepCopyInto(out *ProfileSpecResource)

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

type ProfileSpecTargetCompartments

type ProfileSpecTargetCompartments struct {
	Items []string `json:"items" tf:"items"`
}

func (*ProfileSpecTargetCompartments) DeepCopy

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

func (*ProfileSpecTargetCompartments) DeepCopyInto

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

type ProfileSpecTargetCompartmentsCodec

type ProfileSpecTargetCompartmentsCodec struct {
}

+k8s:deepcopy-gen=false

func (ProfileSpecTargetCompartmentsCodec) Decode

func (ProfileSpecTargetCompartmentsCodec) Encode

func (ProfileSpecTargetCompartmentsCodec) IsEmpty

type ProfileSpecTargetTags

type ProfileSpecTargetTags struct {
	Items []ProfileSpecTargetTagsItems `json:"items" tf:"items"`
}

func (*ProfileSpecTargetTags) DeepCopy

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

func (*ProfileSpecTargetTags) DeepCopyInto

func (in *ProfileSpecTargetTags) DeepCopyInto(out *ProfileSpecTargetTags)

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

type ProfileSpecTargetTagsCodec

type ProfileSpecTargetTagsCodec struct {
}

+k8s:deepcopy-gen=false

func (ProfileSpecTargetTagsCodec) Decode

func (ProfileSpecTargetTagsCodec) Encode

func (ProfileSpecTargetTagsCodec) IsEmpty

type ProfileSpecTargetTagsItems

type ProfileSpecTargetTagsItems struct {
	TagDefinitionName *string `json:"tagDefinitionName" tf:"tag_definition_name"`
	TagNamespaceName  *string `json:"tagNamespaceName" tf:"tag_namespace_name"`
	TagValueType      *string `json:"tagValueType" tf:"tag_value_type"`
	// +optional
	TagValues []string `json:"tagValues,omitempty" tf:"tag_values"`
}

func (*ProfileSpecTargetTagsItems) DeepCopy

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

func (*ProfileSpecTargetTagsItems) DeepCopyInto

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

type ProfileStatus

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

func (in *ProfileStatus) DeepCopy() *ProfileStatus

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

func (*ProfileStatus) DeepCopyInto

func (in *ProfileStatus) DeepCopyInto(out *ProfileStatus)

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

type Recommendation

type Recommendation struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              RecommendationSpec   `json:"spec,omitempty"`
	Status            RecommendationStatus `json:"status,omitempty"`
}

func (*Recommendation) DeepCopy

func (in *Recommendation) DeepCopy() *Recommendation

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

func (*Recommendation) DeepCopyInto

func (in *Recommendation) DeepCopyInto(out *Recommendation)

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

func (*Recommendation) DeepCopyObject

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

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

func (*Recommendation) SetupWebhookWithManager

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

func (*Recommendation) ValidateCreate

func (r *Recommendation) ValidateCreate() error

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

func (*Recommendation) ValidateDelete

func (r *Recommendation) ValidateDelete() error

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

func (*Recommendation) ValidateUpdate

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

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

type RecommendationList

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

RecommendationList is a list of Recommendations

func (*RecommendationList) DeepCopy

func (in *RecommendationList) DeepCopy() *RecommendationList

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

func (*RecommendationList) DeepCopyInto

func (in *RecommendationList) DeepCopyInto(out *RecommendationList)

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

func (*RecommendationList) DeepCopyObject

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

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

type RecommendationSpec

type RecommendationSpec struct {
	State *RecommendationSpecResource `json:"state,omitempty" tf:"-"`

	Resource RecommendationSpecResource `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 (*RecommendationSpec) DeepCopy

func (in *RecommendationSpec) DeepCopy() *RecommendationSpec

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

func (*RecommendationSpec) DeepCopyInto

func (in *RecommendationSpec) DeepCopyInto(out *RecommendationSpec)

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

type RecommendationSpecResource

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

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

	// +optional
	CategoryID *string `json:"categoryID,omitempty" tf:"category_id"`
	// +optional
	CompartmentID *string `json:"compartmentID,omitempty" tf:"compartment_id"`
	// +optional
	Description *string `json:"description,omitempty" tf:"description"`
	// +optional
	EstimatedCostSaving *float64 `json:"estimatedCostSaving,omitempty" tf:"estimated_cost_saving"`
	// +optional
	ExtendedMetadata map[string]string `json:"extendedMetadata,omitempty" tf:"extended_metadata"`
	// +optional
	Importance *string `json:"importance,omitempty" tf:"importance"`
	// +optional
	Name             *string `json:"name,omitempty" tf:"name"`
	RecommendationID *string `json:"recommendationID" tf:"recommendation_id"`
	// +optional
	ResourceCounts []RecommendationSpecResourceCounts `json:"resourceCounts,omitempty" tf:"resource_counts"`
	// +optional
	State  *string `json:"state,omitempty" tf:"state"`
	Status *string `json:"status" tf:"status"`
	// +optional
	SupportedLevels *RecommendationSpecSupportedLevels `json:"supportedLevels,omitempty" tf:"supported_levels"`
	// +optional
	TimeCreated *string `json:"timeCreated,omitempty" tf:"time_created"`
	// +optional
	TimeStatusBegin *string `json:"timeStatusBegin,omitempty" tf:"time_status_begin"`
	// +optional
	TimeStatusEnd *string `json:"timeStatusEnd,omitempty" tf:"time_status_end"`
	// +optional
	TimeUpdated *string `json:"timeUpdated,omitempty" tf:"time_updated"`
}

func (*RecommendationSpecResource) DeepCopy

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

func (*RecommendationSpecResource) DeepCopyInto

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

type RecommendationSpecResourceCounts

type RecommendationSpecResourceCounts struct {
	// +optional
	Count *int64 `json:"count,omitempty" tf:"count"`
	// +optional
	Status *string `json:"status,omitempty" tf:"status"`
}

func (*RecommendationSpecResourceCounts) DeepCopy

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

func (*RecommendationSpecResourceCounts) DeepCopyInto

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

type RecommendationSpecSupportedLevels

type RecommendationSpecSupportedLevels struct {
	// +optional
	Items []RecommendationSpecSupportedLevelsItems `json:"items,omitempty" tf:"items"`
}

func (*RecommendationSpecSupportedLevels) DeepCopy

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

func (*RecommendationSpecSupportedLevels) DeepCopyInto

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

type RecommendationSpecSupportedLevelsCodec

type RecommendationSpecSupportedLevelsCodec struct {
}

+k8s:deepcopy-gen=false

func (RecommendationSpecSupportedLevelsCodec) Decode

func (RecommendationSpecSupportedLevelsCodec) Encode

func (RecommendationSpecSupportedLevelsCodec) IsEmpty

type RecommendationSpecSupportedLevelsItems

type RecommendationSpecSupportedLevelsItems struct {
	// +optional
	Name *string `json:"name,omitempty" tf:"name"`
}

func (*RecommendationSpecSupportedLevelsItems) DeepCopy

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

func (*RecommendationSpecSupportedLevelsItems) DeepCopyInto

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

type RecommendationStatus

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

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

func (*RecommendationStatus) DeepCopyInto

func (in *RecommendationStatus) DeepCopyInto(out *RecommendationStatus)

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

type ResourceAction

type ResourceAction struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ResourceActionSpec   `json:"spec,omitempty"`
	Status            ResourceActionStatus `json:"status,omitempty"`
}

func (*ResourceAction) DeepCopy

func (in *ResourceAction) DeepCopy() *ResourceAction

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

func (*ResourceAction) DeepCopyInto

func (in *ResourceAction) DeepCopyInto(out *ResourceAction)

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

func (*ResourceAction) DeepCopyObject

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

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

func (*ResourceAction) SetupWebhookWithManager

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

func (*ResourceAction) ValidateCreate

func (r *ResourceAction) ValidateCreate() error

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

func (*ResourceAction) ValidateDelete

func (r *ResourceAction) ValidateDelete() error

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

func (*ResourceAction) ValidateUpdate

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

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

type ResourceActionList

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

ResourceActionList is a list of ResourceActions

func (*ResourceActionList) DeepCopy

func (in *ResourceActionList) DeepCopy() *ResourceActionList

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

func (*ResourceActionList) DeepCopyInto

func (in *ResourceActionList) DeepCopyInto(out *ResourceActionList)

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

func (*ResourceActionList) DeepCopyObject

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

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

type ResourceActionSpec

type ResourceActionSpec struct {
	State *ResourceActionSpecResource `json:"state,omitempty" tf:"-"`

	Resource ResourceActionSpecResource `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 (*ResourceActionSpec) DeepCopy

func (in *ResourceActionSpec) DeepCopy() *ResourceActionSpec

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

func (*ResourceActionSpec) DeepCopyInto

func (in *ResourceActionSpec) DeepCopyInto(out *ResourceActionSpec)

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

type ResourceActionSpecAction

type ResourceActionSpecAction struct {
	// +optional
	Description *string `json:"description,omitempty" tf:"description"`
	// +optional
	Type *string `json:"type,omitempty" tf:"type"`
	// +optional
	Url *string `json:"url,omitempty" tf:"url"`
}

func (*ResourceActionSpecAction) DeepCopy

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

func (*ResourceActionSpecAction) DeepCopyInto

func (in *ResourceActionSpecAction) DeepCopyInto(out *ResourceActionSpecAction)

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

type ResourceActionSpecActionCodec

type ResourceActionSpecActionCodec struct {
}

+k8s:deepcopy-gen=false

func (ResourceActionSpecActionCodec) Decode

func (ResourceActionSpecActionCodec) Encode

func (ResourceActionSpecActionCodec) IsEmpty

type ResourceActionSpecResource

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

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

	// +optional
	Action *ResourceActionSpecAction `json:"action,omitempty" tf:"action"`
	// +optional
	CategoryID *string `json:"categoryID,omitempty" tf:"category_id"`
	// +optional
	CompartmentID *string `json:"compartmentID,omitempty" tf:"compartment_id"`
	// +optional
	CompartmentName *string `json:"compartmentName,omitempty" tf:"compartment_name"`
	// +optional
	EstimatedCostSaving *float64 `json:"estimatedCostSaving,omitempty" tf:"estimated_cost_saving"`
	// +optional
	ExtendedMetadata map[string]string `json:"extendedMetadata,omitempty" tf:"extended_metadata"`
	// +optional
	Metadata map[string]string `json:"metadata,omitempty" tf:"metadata"`
	// +optional
	Name *string `json:"name,omitempty" tf:"name"`
	// +optional
	RecommendationID *string `json:"recommendationID,omitempty" tf:"recommendation_id"`
	ResourceActionID *string `json:"resourceActionID" tf:"resource_action_id"`
	// +optional
	ResourceID *string `json:"resourceID,omitempty" tf:"resource_id"`
	// +optional
	ResourceType *string `json:"resourceType,omitempty" tf:"resource_type"`
	// +optional
	State  *string `json:"state,omitempty" tf:"state"`
	Status *string `json:"status" tf:"status"`
	// +optional
	TimeCreated *string `json:"timeCreated,omitempty" tf:"time_created"`
	// +optional
	TimeStatusBegin *string `json:"timeStatusBegin,omitempty" tf:"time_status_begin"`
	// +optional
	TimeStatusEnd *string `json:"timeStatusEnd,omitempty" tf:"time_status_end"`
	// +optional
	TimeUpdated *string `json:"timeUpdated,omitempty" tf:"time_updated"`
}

func (*ResourceActionSpecResource) DeepCopy

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

func (*ResourceActionSpecResource) DeepCopyInto

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

type ResourceActionStatus

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

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

func (*ResourceActionStatus) DeepCopyInto

func (in *ResourceActionStatus) DeepCopyInto(out *ResourceActionStatus)

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