Documentation ¶
Overview ¶
Package v1 contains API Schema definitions for the control-api v1 API group +kubebuilder:object:generate=true +kubebuilder:skip +groupName=billing.appuio.io
Index ¶
- Constants
- Variables
- type BillingEntity
- func (in *BillingEntity) DeepCopy() *BillingEntity
- func (in *BillingEntity) DeepCopyInto(out *BillingEntity)
- func (in *BillingEntity) DeepCopyObject() runtime.Object
- func (o *BillingEntity) GetGroupVersionResource() schema.GroupVersionResource
- func (o *BillingEntity) GetObjectMeta() *metav1.ObjectMeta
- func (o *BillingEntity) IsStorageVersion() bool
- func (o *BillingEntity) NamespaceScoped() bool
- func (o *BillingEntity) New() runtime.Object
- func (o *BillingEntity) NewList() runtime.Object
- type BillingEntityAddress
- type BillingEntityContact
- type BillingEntityList
- type BillingEntitySpec
- type BillingEntityStatus
Constants ¶
const ( // ConditionEmailSent is set when the update notification email has been sent ConditionEmailSent = "EmailSent" ConditionReasonSendFailed = "SendFailed" ConditionReasonUpdated = "Updated" )
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "billing.appuio.io", Version: "v1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type BillingEntity ¶
type BillingEntity struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // Spec holds the cluster specific metadata. Spec BillingEntitySpec `json:"spec,omitempty"` Status BillingEntityStatus `json:"status,omitempty"` }
BillingEntity is a representation of an APPUiO Cloud BillingEntity
func (*BillingEntity) DeepCopy ¶
func (in *BillingEntity) DeepCopy() *BillingEntity
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BillingEntity.
func (*BillingEntity) DeepCopyInto ¶
func (in *BillingEntity) DeepCopyInto(out *BillingEntity)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BillingEntity) DeepCopyObject ¶
func (in *BillingEntity) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*BillingEntity) GetGroupVersionResource ¶
func (o *BillingEntity) GetGroupVersionResource() schema.GroupVersionResource
GetGroupVersionResource returns the GroupVersionResource for this resource. The resource should be the all lowercase and pluralized kind
func (*BillingEntity) GetObjectMeta ¶
func (o *BillingEntity) GetObjectMeta() *metav1.ObjectMeta
GetObjectMeta returns the objects meta reference.
func (*BillingEntity) IsStorageVersion ¶
func (o *BillingEntity) IsStorageVersion() bool
IsStorageVersion returns true if the object is also the internal version -- i.e. is the type defined for the API group or an alias to this object. If false, the resource is expected to implement MultiVersionObject interface.
func (*BillingEntity) NamespaceScoped ¶
func (o *BillingEntity) NamespaceScoped() bool
NamespaceScoped returns true if the object is namespaced
func (*BillingEntity) New ¶
func (o *BillingEntity) New() runtime.Object
New returns a new instance of the resource
func (*BillingEntity) NewList ¶
func (o *BillingEntity) NewList() runtime.Object
NewList return a new list instance of the resource
type BillingEntityAddress ¶
type BillingEntityAddress struct { // Line1 is the first line of the address Line1 string `json:"line1"` // Line2 is the second line of the address Line2 string `json:"line2,omitempty"` // City is the city of the address City string `json:"city"` // PostalCode is the postal code of the address PostalCode string `json:"postalCode"` // Country is the country of the address Country string `json:"country"` }
func (*BillingEntityAddress) DeepCopy ¶
func (in *BillingEntityAddress) DeepCopy() *BillingEntityAddress
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BillingEntityAddress.
func (*BillingEntityAddress) DeepCopyInto ¶
func (in *BillingEntityAddress) DeepCopyInto(out *BillingEntityAddress)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BillingEntityContact ¶
type BillingEntityContact struct { // Name is the name of the contact person Name string `json:"name"` // Emails is a list of email addresses of the contact person Emails []string `json:"emails"` }
func (*BillingEntityContact) DeepCopy ¶
func (in *BillingEntityContact) DeepCopy() *BillingEntityContact
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BillingEntityContact.
func (*BillingEntityContact) DeepCopyInto ¶
func (in *BillingEntityContact) DeepCopyInto(out *BillingEntityContact)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BillingEntityList ¶
type BillingEntityList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []BillingEntity `json:"items"` }
BillingEntityList contains a list of BillingEntitys
func (*BillingEntityList) DeepCopy ¶
func (in *BillingEntityList) DeepCopy() *BillingEntityList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BillingEntityList.
func (*BillingEntityList) DeepCopyInto ¶
func (in *BillingEntityList) DeepCopyInto(out *BillingEntityList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BillingEntityList) DeepCopyObject ¶
func (in *BillingEntityList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*BillingEntityList) GetListMeta ¶
func (in *BillingEntityList) GetListMeta() *metav1.ListMeta
GetListMeta returns the list meta reference.
type BillingEntitySpec ¶
type BillingEntitySpec struct { // Name is the human-readable name of the BillingEntity Name string `json:"name"` // Phone is the phone number of the BillingEntity Phone string `json:"phone"` // Emails is a list of email addresses of the BillingEntity Emails []string `json:"emails"` // Address is the postal address of the BillingEntity Address BillingEntityAddress `json:"address"` // AccountingContact is the contact person for accounting AccountingContact BillingEntityContact `json:"accountingContact"` // LanguagePreference is the preferred language of the BillingEntity LanguagePreference string `json:"languagePreference"` }
BillingEntitySpec defines the desired state of the BillingEntity
func (*BillingEntitySpec) DeepCopy ¶
func (in *BillingEntitySpec) DeepCopy() *BillingEntitySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BillingEntitySpec.
func (*BillingEntitySpec) DeepCopyInto ¶
func (in *BillingEntitySpec) DeepCopyInto(out *BillingEntitySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BillingEntityStatus ¶ added in v0.25.0
type BillingEntityStatus struct { // Conditions is a list of conditions for the billing entity Conditions []metav1.Condition `json:"conditions,omitempty"` }
BillingEntityStatus contains the status conditions of the BillingEntity
func (*BillingEntityStatus) DeepCopy ¶ added in v0.25.0
func (in *BillingEntityStatus) DeepCopy() *BillingEntityStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BillingEntityStatus.
func (*BillingEntityStatus) DeepCopyInto ¶ added in v0.25.0
func (in *BillingEntityStatus) DeepCopyInto(out *BillingEntityStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.