Documentation ¶
Overview ¶
Package v1 contains API Schema definitions for the facturnetes v1 API group +kubebuilder:object:generate=true +groupName=facturnetes.cnvergence.io
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "facturnetes.cnvergence.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 Bank ¶
type Bank struct { AccountNumber string `json:"accountNumber" yaml:"accountNumber"` Swift string `json:"swift" yaml:"swift"` }
Bank details on the invoice.
func (*Bank) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Bank.
func (*Bank) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Buyer ¶
type Buyer struct { Name string `json:"name" yaml:"name"` Address string `json:"address" yaml:"address"` VAT string `json:"vat" yaml:"vat"` }
Buyer company details.
func (*Buyer) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Buyer.
func (*Buyer) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Company ¶
type Company struct { Buyer Buyer `json:"buyer" yaml:"buyer"` Seller Seller `json:"seller" yaml:"seller"` }
Company details of buyer and seller.
func (*Company) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Company.
func (*Company) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Deployment ¶
type Deployment struct { // +kubebuilder:default:=viewer // +optional Name string `json:"name,omitempty"` // +optional Image string `json:"image,omitempty"` // +kubebuilder:default:=Never // +optional ImagePullPolicy corev1.PullPolicy `json:"imagePullPolicy,omitempty"` }
func (*Deployment) DeepCopy ¶
func (in *Deployment) DeepCopy() *Deployment
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Deployment.
func (*Deployment) DeepCopyInto ¶
func (in *Deployment) DeepCopyInto(out *Deployment)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Exposure ¶
type Exposure struct { PublicURL string `json:"publicURL,omitempty"` Ingress Ingress `json:"ingress,omitempty"` GatewayAPI GatewayAPI `json:"gatewayAPI,omitempty"` }
func (*Exposure) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Exposure.
func (*Exposure) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GatewayAPI ¶
type GatewayAPI struct { }
func (*GatewayAPI) DeepCopy ¶
func (in *GatewayAPI) DeepCopy() *GatewayAPI
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayAPI.
func (*GatewayAPI) DeepCopyInto ¶
func (in *GatewayAPI) DeepCopyInto(out *GatewayAPI)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Ingress ¶
type Ingress struct { // Annotations to be added to the Ingress object Annotations map[string]string `json:"annotations,omitempty"` // Labels to be added to the Ingress object Labels map[string]string `json:"labels,omitempty"` // Enabled allows to turn off the Ingress object (for example for using a LoadBalancer service) // +kubebuilder:default:=true Enabled bool `json:"enabled,omitempty"` // TLSEnabled toggles the TLS configuration on the Ingress object // +optional TLSEnabled bool `json:"tlsEnabled,omitempty"` // TLSEnabled toggles the TLS configuration on the Ingress object // +optional IngressClassName string `json:"ingressClassName,omitempty"` // TLSSecretName overrides the generated name for the TLS certificate Secret object // +optional TLSSecretName string `json:"tlsSecretName,omitempty"` }
func (*Ingress) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Ingress.
func (*Ingress) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Invoice ¶
type Invoice struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec InvoiceSpec `json:"spec,omitempty"` Status InvoiceStatus `json:"status,omitempty"` }
+kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Status",type="string",JSONPath=".status.phase" +kubebuilder:printcolumn:name="Endpoint",type="string",JSONPath=".status.endpoint" Invoice is the Schema for the invoices API
func (*Invoice) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Invoice.
func (*Invoice) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Invoice) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type InvoiceData ¶
type InvoiceData struct { // INSERT ADDITIONAL SPEC FIELDS - desired state of cluster // Important: Run "make" to regenerate code after modifying this file Number string `json:"number" yaml:"number"` IssueDate string `json:"issueDate" yaml:"issueDate"` SaleDate string `json:"saleDate" yaml:"saleDate"` DueDate string `json:"dueDate" yaml:"dueDate"` Notes string `json:"notes" yaml:"notes"` Company Company `json:"company" yaml:"company"` Bank Bank `json:"bank" yaml:"bank"` Items []*Item `json:"items" yaml:"items"` Currency string `json:"currency" yaml:"currency"` Signature string `json:"signature" yaml:"signature"` Options Options `json:"options,omitempty" yaml:"options,omitempty"` }
func (*InvoiceData) DeepCopy ¶
func (in *InvoiceData) DeepCopy() *InvoiceData
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InvoiceData.
func (*InvoiceData) DeepCopyInto ¶
func (in *InvoiceData) DeepCopyInto(out *InvoiceData)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InvoiceList ¶
type InvoiceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Invoice `json:"items"` }
InvoiceList contains a list of Invoice
func (*InvoiceList) DeepCopy ¶
func (in *InvoiceList) DeepCopy() *InvoiceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InvoiceList.
func (*InvoiceList) DeepCopyInto ¶
func (in *InvoiceList) DeepCopyInto(out *InvoiceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*InvoiceList) DeepCopyObject ¶
func (in *InvoiceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type InvoiceSpec ¶
type InvoiceSpec struct { // INSERT ADDITIONAL SPEC FIELDS - desired state of cluster // Important: Run "make" to regenerate code after modifying this file Exposure Exposure `json:"exposure,omitempty"` Deployment Deployment `json:"deployment,omitempty"` InvoiceData InvoiceData `json:"invoiceData" yaml:"invoiceData"` }
InvoiceSpec defines the desired state of Invoice
func (*InvoiceSpec) DeepCopy ¶
func (in *InvoiceSpec) DeepCopy() *InvoiceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InvoiceSpec.
func (*InvoiceSpec) DeepCopyInto ¶
func (in *InvoiceSpec) DeepCopyInto(out *InvoiceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InvoiceStatus ¶
type InvoiceStatus struct { // INSERT ADDITIONAL STATUS FIELD - define observed state of cluster // Important: Run "make" to regenerate code after modifying this file LastProcessedTime *metav1.Time `json:"lastProcessedTime,omitempty"` ObservedGeneration int64 `json:"observedGeneration,omitempty"` // Current phase of the operator. Message string `json:"message,omitempty"` Phase Phase `json:"phase,omitempty"` Endpoint string `json:"endpoint,omitempty"` }
InvoiceStatus defines the observed state of Invoice
func (*InvoiceStatus) DeepCopy ¶
func (in *InvoiceStatus) DeepCopy() *InvoiceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InvoiceStatus.
func (*InvoiceStatus) DeepCopyInto ¶
func (in *InvoiceStatus) DeepCopyInto(out *InvoiceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Item ¶
type Item struct { Description string `json:"description" yaml:"description"` Quantity float64 `json:"quantity" yaml:"quantity"` UnitPrice float64 `json:"unitPrice" yaml:"unitPrice"` VATRate float64 `json:"vatRate" yaml:"vatRate"` }
Item parameters.
func (*Item) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Item.
func (*Item) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Options ¶
type Options struct {
FontFamily string `json:"font" yaml:"font" default:"Arial,omitempty"`
}
Options of the PDF document.
func (*Options) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Options.
func (*Options) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Seller ¶
type Seller struct { Name string `json:"name" yaml:"name"` Address string `json:"address" yaml:"address"` VAT string `json:"vat" yaml:"vat"` }
Seller company details.
func (*Seller) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Seller.
func (*Seller) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.