Documentation ¶
Overview ¶
+groupName=budget.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 AlertRule
- func (in *AlertRule) DeepCopy() *AlertRule
- func (in *AlertRule) DeepCopyInto(out *AlertRule)
- func (in *AlertRule) DeepCopyObject() runtime.Object
- func (r *AlertRule) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *AlertRule) ValidateCreate() error
- func (r *AlertRule) ValidateDelete() error
- func (r *AlertRule) ValidateUpdate(old runtime.Object) error
- type AlertRuleList
- type AlertRuleSpec
- type AlertRuleSpecResource
- type AlertRuleStatus
- type Budget
- func (in *Budget) DeepCopy() *Budget
- func (in *Budget) DeepCopyInto(out *Budget)
- func (in *Budget) DeepCopyObject() runtime.Object
- func (r *Budget) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *Budget) ValidateCreate() error
- func (r *Budget) ValidateDelete() error
- func (r *Budget) ValidateUpdate(old runtime.Object) error
- type BudgetList
- type BudgetSpec
- type BudgetSpecResource
- type BudgetStatus
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: budget.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 AlertRule ¶
type AlertRule struct { metav1.TypeMeta `json:",inline,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec AlertRuleSpec `json:"spec,omitempty"` Status AlertRuleStatus `json:"status,omitempty"` }
func (*AlertRule) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertRule.
func (*AlertRule) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AlertRule) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*AlertRule) SetupWebhookWithManager ¶
func (*AlertRule) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*AlertRule) ValidateDelete ¶
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
type AlertRuleList ¶
type AlertRuleList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is a list of AlertRule CRD objects Items []AlertRule `json:"items,omitempty"` }
AlertRuleList is a list of AlertRules
func (*AlertRuleList) DeepCopy ¶
func (in *AlertRuleList) DeepCopy() *AlertRuleList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertRuleList.
func (*AlertRuleList) DeepCopyInto ¶
func (in *AlertRuleList) DeepCopyInto(out *AlertRuleList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AlertRuleList) DeepCopyObject ¶
func (in *AlertRuleList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AlertRuleSpec ¶
type AlertRuleSpec struct { State *AlertRuleSpecResource `json:"state,omitempty" tf:"-"` Resource AlertRuleSpecResource `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 (*AlertRuleSpec) DeepCopy ¶
func (in *AlertRuleSpec) DeepCopy() *AlertRuleSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertRuleSpec.
func (*AlertRuleSpec) DeepCopyInto ¶
func (in *AlertRuleSpec) DeepCopyInto(out *AlertRuleSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AlertRuleSpecResource ¶
type AlertRuleSpecResource struct { Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"` ID string `json:"id,omitempty" tf:"id,omitempty"` BudgetID *string `json:"budgetID" tf:"budget_id"` // +optional DefinedTags map[string]string `json:"definedTags,omitempty" tf:"defined_tags"` // +optional Description *string `json:"description,omitempty" tf:"description"` // +optional DisplayName *string `json:"displayName,omitempty" tf:"display_name"` // +optional FreeformTags map[string]string `json:"freeformTags,omitempty" tf:"freeform_tags"` // +optional Message *string `json:"message,omitempty" tf:"message"` // +optional Recipients *string `json:"recipients,omitempty" tf:"recipients"` // +optional State *string `json:"state,omitempty" tf:"state"` Threshold *float64 `json:"threshold" tf:"threshold"` ThresholdType *string `json:"thresholdType" tf:"threshold_type"` // +optional TimeCreated *string `json:"timeCreated,omitempty" tf:"time_created"` // +optional TimeUpdated *string `json:"timeUpdated,omitempty" tf:"time_updated"` Type *string `json:"type" tf:"type"` // +optional Version *int64 `json:"version,omitempty" tf:"version"` }
func (*AlertRuleSpecResource) DeepCopy ¶
func (in *AlertRuleSpecResource) DeepCopy() *AlertRuleSpecResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertRuleSpecResource.
func (*AlertRuleSpecResource) DeepCopyInto ¶
func (in *AlertRuleSpecResource) DeepCopyInto(out *AlertRuleSpecResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AlertRuleStatus ¶
type AlertRuleStatus 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 (*AlertRuleStatus) DeepCopy ¶
func (in *AlertRuleStatus) DeepCopy() *AlertRuleStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertRuleStatus.
func (*AlertRuleStatus) DeepCopyInto ¶
func (in *AlertRuleStatus) DeepCopyInto(out *AlertRuleStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Budget ¶
type Budget struct { metav1.TypeMeta `json:",inline,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec BudgetSpec `json:"spec,omitempty"` Status BudgetStatus `json:"status,omitempty"` }
func (*Budget) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Budget.
func (*Budget) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Budget) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Budget) SetupWebhookWithManager ¶
func (*Budget) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*Budget) ValidateDelete ¶
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
type BudgetList ¶
type BudgetList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is a list of Budget CRD objects Items []Budget `json:"items,omitempty"` }
BudgetList is a list of Budgets
func (*BudgetList) DeepCopy ¶
func (in *BudgetList) DeepCopy() *BudgetList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BudgetList.
func (*BudgetList) DeepCopyInto ¶
func (in *BudgetList) DeepCopyInto(out *BudgetList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BudgetList) DeepCopyObject ¶
func (in *BudgetList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type BudgetSpec ¶
type BudgetSpec struct { State *BudgetSpecResource `json:"state,omitempty" tf:"-"` Resource BudgetSpecResource `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 (*BudgetSpec) DeepCopy ¶
func (in *BudgetSpec) DeepCopy() *BudgetSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BudgetSpec.
func (*BudgetSpec) DeepCopyInto ¶
func (in *BudgetSpec) DeepCopyInto(out *BudgetSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BudgetSpecResource ¶
type BudgetSpecResource struct { Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"` ID string `json:"id,omitempty" tf:"id,omitempty"` // +optional ActualSpend *float64 `json:"actualSpend,omitempty" tf:"actual_spend"` // +optional AlertRuleCount *int64 `json:"alertRuleCount,omitempty" tf:"alert_rule_count"` Amount *int64 `json:"amount" tf:"amount"` // +optional BudgetProcessingPeriodStartOffset *int64 `json:"budgetProcessingPeriodStartOffset,omitempty" tf:"budget_processing_period_start_offset"` CompartmentID *string `json:"compartmentID" tf:"compartment_id"` // +optional DefinedTags map[string]string `json:"definedTags,omitempty" tf:"defined_tags"` // +optional Description *string `json:"description,omitempty" tf:"description"` // +optional DisplayName *string `json:"displayName,omitempty" tf:"display_name"` // +optional ForecastedSpend *float64 `json:"forecastedSpend,omitempty" tf:"forecasted_spend"` // +optional FreeformTags map[string]string `json:"freeformTags,omitempty" tf:"freeform_tags"` ResetPeriod *string `json:"resetPeriod" tf:"reset_period"` // +optional State *string `json:"state,omitempty" tf:"state"` // +optional // Deprecated TargetCompartmentID *string `json:"targetCompartmentID,omitempty" tf:"target_compartment_id"` // +optional TargetType *string `json:"targetType,omitempty" tf:"target_type"` // +optional Targets []string `json:"targets,omitempty" tf:"targets"` // +optional TimeCreated *string `json:"timeCreated,omitempty" tf:"time_created"` // +optional TimeSpendComputed *string `json:"timeSpendComputed,omitempty" tf:"time_spend_computed"` // +optional TimeUpdated *string `json:"timeUpdated,omitempty" tf:"time_updated"` // +optional Version *int64 `json:"version,omitempty" tf:"version"` }
func (*BudgetSpecResource) DeepCopy ¶
func (in *BudgetSpecResource) DeepCopy() *BudgetSpecResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BudgetSpecResource.
func (*BudgetSpecResource) DeepCopyInto ¶
func (in *BudgetSpecResource) DeepCopyInto(out *BudgetSpecResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BudgetStatus ¶
type BudgetStatus 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 (*BudgetStatus) DeepCopy ¶
func (in *BudgetStatus) DeepCopy() *BudgetStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BudgetStatus.
func (*BudgetStatus) DeepCopyInto ¶
func (in *BudgetStatus) DeepCopyInto(out *BudgetStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.