Documentation ¶
Overview ¶
+groupName=optimizer.oci.kubeform.com
Index ¶
- Variables
- func GetDecoder() map[string]jsoniter.ValDecoder
- func GetEncoder() map[string]jsoniter.ValEncoder
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type EnrollmentStatus
- func (in *EnrollmentStatus) DeepCopy() *EnrollmentStatus
- func (in *EnrollmentStatus) DeepCopyInto(out *EnrollmentStatus)
- func (in *EnrollmentStatus) DeepCopyObject() runtime.Object
- func (r *EnrollmentStatus) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *EnrollmentStatus) ValidateCreate() error
- func (r *EnrollmentStatus) ValidateDelete() error
- func (r *EnrollmentStatus) ValidateUpdate(old runtime.Object) error
- type EnrollmentStatusList
- type EnrollmentStatusSpec
- type EnrollmentStatusSpecResource
- type EnrollmentStatusStatus
- type Profile
- func (in *Profile) DeepCopy() *Profile
- func (in *Profile) DeepCopyInto(out *Profile)
- func (in *Profile) DeepCopyObject() runtime.Object
- func (r *Profile) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *Profile) ValidateCreate() error
- func (r *Profile) ValidateDelete() error
- func (r *Profile) ValidateUpdate(old runtime.Object) error
- type ProfileList
- type ProfileSpec
- type ProfileSpecLevelsConfiguration
- type ProfileSpecLevelsConfigurationCodec
- type ProfileSpecLevelsConfigurationItems
- type ProfileSpecResource
- type ProfileSpecTargetCompartments
- type ProfileSpecTargetCompartmentsCodec
- type ProfileSpecTargetTags
- type ProfileSpecTargetTagsCodec
- type ProfileSpecTargetTagsItems
- type ProfileStatus
- type Recommendation
- func (in *Recommendation) DeepCopy() *Recommendation
- func (in *Recommendation) DeepCopyInto(out *Recommendation)
- func (in *Recommendation) DeepCopyObject() runtime.Object
- func (r *Recommendation) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *Recommendation) ValidateCreate() error
- func (r *Recommendation) ValidateDelete() error
- func (r *Recommendation) ValidateUpdate(old runtime.Object) error
- type RecommendationList
- type RecommendationSpec
- type RecommendationSpecResource
- type RecommendationSpecResourceCounts
- type RecommendationSpecSupportedLevels
- type RecommendationSpecSupportedLevelsCodec
- type RecommendationSpecSupportedLevelsItems
- type RecommendationStatus
- type ResourceAction
- func (in *ResourceAction) DeepCopy() *ResourceAction
- func (in *ResourceAction) DeepCopyInto(out *ResourceAction)
- func (in *ResourceAction) DeepCopyObject() runtime.Object
- func (r *ResourceAction) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *ResourceAction) ValidateCreate() error
- func (r *ResourceAction) ValidateDelete() error
- func (r *ResourceAction) ValidateUpdate(old runtime.Object) error
- type ResourceActionList
- type ResourceActionSpec
- type ResourceActionSpecAction
- type ResourceActionSpecActionCodec
- type ResourceActionSpecResource
- type ResourceActionStatus
Constants ¶
This section is empty.
Variables ¶
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 )
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 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 ¶
func (in *EnrollmentStatusList) DeepCopy() *EnrollmentStatusList
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 ¶
func (in *EnrollmentStatusSpec) DeepCopy() *EnrollmentStatusSpec
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 ¶
func (in *EnrollmentStatusSpecResource) DeepCopy() *EnrollmentStatusSpecResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnrollmentStatusSpecResource.
func (*EnrollmentStatusSpecResource) DeepCopyInto ¶
func (in *EnrollmentStatusSpecResource) DeepCopyInto(out *EnrollmentStatusSpecResource)
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 ¶
func (in *EnrollmentStatusStatus) DeepCopy() *EnrollmentStatusStatus
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Profile.
func (*Profile) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Profile) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Profile) SetupWebhookWithManager ¶
func (*Profile) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*Profile) ValidateDelete ¶
ValidateDelete 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 ¶
func (in *ProfileSpecLevelsConfiguration) DeepCopy() *ProfileSpecLevelsConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProfileSpecLevelsConfiguration.
func (*ProfileSpecLevelsConfiguration) DeepCopyInto ¶
func (in *ProfileSpecLevelsConfiguration) DeepCopyInto(out *ProfileSpecLevelsConfiguration)
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) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
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 ¶
func (in *ProfileSpecLevelsConfigurationItems) DeepCopy() *ProfileSpecLevelsConfigurationItems
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProfileSpecLevelsConfigurationItems.
func (*ProfileSpecLevelsConfigurationItems) DeepCopyInto ¶
func (in *ProfileSpecLevelsConfigurationItems) DeepCopyInto(out *ProfileSpecLevelsConfigurationItems)
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 ¶
func (in *ProfileSpecTargetCompartments) DeepCopy() *ProfileSpecTargetCompartments
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProfileSpecTargetCompartments.
func (*ProfileSpecTargetCompartments) DeepCopyInto ¶
func (in *ProfileSpecTargetCompartments) DeepCopyInto(out *ProfileSpecTargetCompartments)
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) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
type ProfileSpecTargetTags ¶
type ProfileSpecTargetTags struct {
Items []ProfileSpecTargetTagsItems `json:"items" tf:"items"`
}
func (*ProfileSpecTargetTags) DeepCopy ¶
func (in *ProfileSpecTargetTags) DeepCopy() *ProfileSpecTargetTags
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) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
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 ¶
func (in *ProfileSpecTargetTagsItems) DeepCopy() *ProfileSpecTargetTagsItems
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProfileSpecTargetTagsItems.
func (*ProfileSpecTargetTagsItems) DeepCopyInto ¶
func (in *ProfileSpecTargetTagsItems) DeepCopyInto(out *ProfileSpecTargetTagsItems)
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 ¶
func (in *RecommendationSpecResource) DeepCopy() *RecommendationSpecResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecommendationSpecResource.
func (*RecommendationSpecResource) DeepCopyInto ¶
func (in *RecommendationSpecResource) DeepCopyInto(out *RecommendationSpecResource)
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 ¶
func (in *RecommendationSpecResourceCounts) DeepCopy() *RecommendationSpecResourceCounts
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecommendationSpecResourceCounts.
func (*RecommendationSpecResourceCounts) DeepCopyInto ¶
func (in *RecommendationSpecResourceCounts) DeepCopyInto(out *RecommendationSpecResourceCounts)
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 ¶
func (in *RecommendationSpecSupportedLevels) DeepCopy() *RecommendationSpecSupportedLevels
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecommendationSpecSupportedLevels.
func (*RecommendationSpecSupportedLevels) DeepCopyInto ¶
func (in *RecommendationSpecSupportedLevels) DeepCopyInto(out *RecommendationSpecSupportedLevels)
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) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
type RecommendationSpecSupportedLevelsItems ¶
type RecommendationSpecSupportedLevelsItems struct { // +optional Name *string `json:"name,omitempty" tf:"name"` }
func (*RecommendationSpecSupportedLevelsItems) DeepCopy ¶
func (in *RecommendationSpecSupportedLevelsItems) DeepCopy() *RecommendationSpecSupportedLevelsItems
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecommendationSpecSupportedLevelsItems.
func (*RecommendationSpecSupportedLevelsItems) DeepCopyInto ¶
func (in *RecommendationSpecSupportedLevelsItems) DeepCopyInto(out *RecommendationSpecSupportedLevelsItems)
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 ¶
func (in *RecommendationStatus) DeepCopy() *RecommendationStatus
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 ¶
func (in *ResourceActionSpecAction) DeepCopy() *ResourceActionSpecAction
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) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
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 ¶
func (in *ResourceActionSpecResource) DeepCopy() *ResourceActionSpecResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceActionSpecResource.
func (*ResourceActionSpecResource) DeepCopyInto ¶
func (in *ResourceActionSpecResource) DeepCopyInto(out *ResourceActionSpecResource)
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 ¶
func (in *ResourceActionStatus) DeepCopy() *ResourceActionStatus
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.