v1

package
v0.0.0-...-e412aec Latest Latest
Warning

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

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

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

View Source
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

func (in *Bank) DeepCopy() *Bank

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

func (*Bank) DeepCopyInto

func (in *Bank) DeepCopyInto(out *Bank)

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

func (in *Buyer) DeepCopy() *Buyer

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

func (*Buyer) DeepCopyInto

func (in *Buyer) DeepCopyInto(out *Buyer)

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

func (in *Company) DeepCopy() *Company

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

func (*Company) DeepCopyInto

func (in *Company) DeepCopyInto(out *Company)

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

func (in *Exposure) DeepCopy() *Exposure

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

func (*Exposure) DeepCopyInto

func (in *Exposure) DeepCopyInto(out *Exposure)

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

func (in *Ingress) DeepCopy() *Ingress

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

func (*Ingress) DeepCopyInto

func (in *Ingress) DeepCopyInto(out *Ingress)

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

func (in *Invoice) DeepCopy() *Invoice

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

func (*Invoice) DeepCopyInto

func (in *Invoice) DeepCopyInto(out *Invoice)

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

func (*Invoice) DeepCopyObject

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

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

func (in *Item) DeepCopy() *Item

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

func (*Item) DeepCopyInto

func (in *Item) DeepCopyInto(out *Item)

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

func (in *Options) DeepCopy() *Options

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

func (*Options) DeepCopyInto

func (in *Options) DeepCopyInto(out *Options)

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

type Phase

type Phase string
var (
	Failure Phase = "Failure"
	Success Phase = "Generated"
)

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

func (in *Seller) DeepCopy() *Seller

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

func (*Seller) DeepCopyInto

func (in *Seller) DeepCopyInto(out *Seller)

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