v1alpha1

package
v0.1.0 Latest Latest
Warning

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

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

Documentation

Overview

+kubebuilder:object:generate=true +groupName=organizationbillingruleattachment.taikun.jet.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "organizationbillingruleattachment.taikun.jet.crossplane.io"
	CRDVersion = "v1alpha1"
)

Package type metadata.

Variables

View Source
var (
	BillingRuleAttachment_Kind             = "BillingRuleAttachment"
	BillingRuleAttachment_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: BillingRuleAttachment_Kind}.String()
	BillingRuleAttachment_KindAPIVersion   = BillingRuleAttachment_Kind + "." + CRDGroupVersion.String()
	BillingRuleAttachment_GroupVersionKind = CRDGroupVersion.WithKind(BillingRuleAttachment_Kind)
)

Repository type metadata.

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

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

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

Functions

This section is empty.

Types

type BillingRuleAttachment

type BillingRuleAttachment struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              BillingRuleAttachmentSpec   `json:"spec"`
	Status            BillingRuleAttachmentStatus `json:"status,omitempty"`
}

BillingRuleAttachment is the Schema for the BillingRuleAttachments API +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,taikunjet}

func (*BillingRuleAttachment) DeepCopy

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

func (*BillingRuleAttachment) DeepCopyInto

func (in *BillingRuleAttachment) DeepCopyInto(out *BillingRuleAttachment)

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

func (*BillingRuleAttachment) DeepCopyObject

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

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

func (*BillingRuleAttachment) GetCondition

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

GetCondition of this BillingRuleAttachment.

func (*BillingRuleAttachment) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this BillingRuleAttachment

func (*BillingRuleAttachment) GetDeletionPolicy

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

GetDeletionPolicy of this BillingRuleAttachment.

func (*BillingRuleAttachment) GetID

func (tr *BillingRuleAttachment) GetID() string

GetID returns ID of underlying Terraform resource of this BillingRuleAttachment

func (*BillingRuleAttachment) GetObservation

func (tr *BillingRuleAttachment) GetObservation() (map[string]interface{}, error)

GetObservation of this BillingRuleAttachment

func (*BillingRuleAttachment) GetParameters

func (tr *BillingRuleAttachment) GetParameters() (map[string]interface{}, error)

GetParameters of this BillingRuleAttachment

func (*BillingRuleAttachment) GetProviderConfigReference

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

GetProviderConfigReference of this BillingRuleAttachment.

func (*BillingRuleAttachment) GetProviderReference

func (mg *BillingRuleAttachment) GetProviderReference() *xpv1.Reference

GetProviderReference of this BillingRuleAttachment. Deprecated: Use GetProviderConfigReference.

func (*BillingRuleAttachment) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this BillingRuleAttachment.

func (*BillingRuleAttachment) GetTerraformResourceType

func (mg *BillingRuleAttachment) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this BillingRuleAttachment

func (*BillingRuleAttachment) GetTerraformSchemaVersion

func (tr *BillingRuleAttachment) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*BillingRuleAttachment) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this BillingRuleAttachment.

func (*BillingRuleAttachment) LateInitialize

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

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

func (*BillingRuleAttachment) ResolveReferences

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

ResolveReferences of this BillingRuleAttachment.

func (*BillingRuleAttachment) SetConditions

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

SetConditions of this BillingRuleAttachment.

func (*BillingRuleAttachment) SetDeletionPolicy

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

SetDeletionPolicy of this BillingRuleAttachment.

func (*BillingRuleAttachment) SetObservation

func (tr *BillingRuleAttachment) SetObservation(obs map[string]interface{}) error

SetObservation for this BillingRuleAttachment

func (*BillingRuleAttachment) SetParameters

func (tr *BillingRuleAttachment) SetParameters(params map[string]interface{}) error

SetParameters for this BillingRuleAttachment

func (*BillingRuleAttachment) SetProviderConfigReference

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

SetProviderConfigReference of this BillingRuleAttachment.

func (*BillingRuleAttachment) SetProviderReference

func (mg *BillingRuleAttachment) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this BillingRuleAttachment. Deprecated: Use SetProviderConfigReference.

func (*BillingRuleAttachment) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this BillingRuleAttachment.

func (*BillingRuleAttachment) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this BillingRuleAttachment.

type BillingRuleAttachmentList

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

BillingRuleAttachmentList contains a list of BillingRuleAttachments

func (*BillingRuleAttachmentList) DeepCopy

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

func (*BillingRuleAttachmentList) DeepCopyInto

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

func (*BillingRuleAttachmentList) DeepCopyObject

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

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

func (*BillingRuleAttachmentList) GetItems

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

GetItems of this BillingRuleAttachmentList.

type BillingRuleAttachmentObservation

type BillingRuleAttachmentObservation struct {
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	OrganizationName *string `json:"organizationName,omitempty" tf:"organization_name,omitempty"`
}

func (*BillingRuleAttachmentObservation) DeepCopy

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

func (*BillingRuleAttachmentObservation) DeepCopyInto

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

type BillingRuleAttachmentParameters

type BillingRuleAttachmentParameters struct {

	// ID of the billing rule.
	// +crossplane:generate:reference:type=github.com/nivraph/provider-jet-taikun/apis/billingrule/v1alpha1.Rule
	// +kubebuilder:validation:Optional
	BillingRuleID *string `json:"billingRuleId,omitempty" tf:"billing_rule_id,omitempty"`

	// +kubebuilder:validation:Optional
	BillingRuleIDRef *v1.Reference `json:"billingRuleIdRef,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	BillingRuleIDSelector *v1.Selector `json:"billingRuleIdSelector,omitempty" tf:"-"`

	// Discount rate in percents (0-100 %). Defaults to `100`.
	// +kubebuilder:validation:Optional
	DiscountRate *float64 `json:"discountRate,omitempty" tf:"discount_rate,omitempty"`

	// ID of the organisation.
	// +crossplane:generate:reference:type=github.com/nivraph/provider-jet-taikun/apis/organization/v1alpha1.Organization
	// +kubebuilder:validation:Optional
	OrganizationID *string `json:"organizationId,omitempty" tf:"organization_id,omitempty"`

	// +kubebuilder:validation:Optional
	OrganizationIDRef *v1.Reference `json:"organizationIdRef,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	OrganizationIDSelector *v1.Selector `json:"organizationIdSelector,omitempty" tf:"-"`
}

func (*BillingRuleAttachmentParameters) DeepCopy

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

func (*BillingRuleAttachmentParameters) DeepCopyInto

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

type BillingRuleAttachmentSpec

type BillingRuleAttachmentSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     BillingRuleAttachmentParameters `json:"forProvider"`
}

BillingRuleAttachmentSpec defines the desired state of BillingRuleAttachment

func (*BillingRuleAttachmentSpec) DeepCopy

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

func (*BillingRuleAttachmentSpec) DeepCopyInto

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

type BillingRuleAttachmentStatus

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

BillingRuleAttachmentStatus defines the observed state of BillingRuleAttachment.

func (*BillingRuleAttachmentStatus) DeepCopy

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

func (*BillingRuleAttachmentStatus) DeepCopyInto

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