v1alpha1

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the server v1alpha1 API group +kubebuilder:object:generate=true +groupName=server.getbux.io

Index

Constants

View Source
const ConditionReconciled = "Reconciled"

ConditionReconciled is reconciled

View Source
const ReconcileCompleteMessage = "Reconcile complete"

ReconcileCompleteMessage is when the reconciling is complete

View Source
const ReconciledReasonComplete = "Complete"

ReconciledReasonComplete is complete

View Source
const ReconciledReasonError = "Error"

ReconciledReasonError is an error

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "server.getbux.io", Version: "v1alpha1"}

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

	// Kind is the kind that we support
	Kind = "Bux"

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

	// BuxLabel is the label we are adding to all resources we create
	BuxLabel = "getbux.io/server"
)

Functions

This section is empty.

Types

type Agent

type Agent struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   AgentSpec   `json:"spec,omitempty"`
	Status AgentStatus `json:"status,omitempty"`
}

Agent is the Schema for the agents API

func (*Agent) DeepCopy

func (in *Agent) DeepCopy() *Agent

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

func (*Agent) DeepCopyInto

func (in *Agent) DeepCopyInto(out *Agent)

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

func (*Agent) DeepCopyObject

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

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

type AgentConfig

type AgentConfig struct {
	URL string `json:"url"`
}

AgentConfig is the bux agent configuration

func (*AgentConfig) DeepCopy

func (in *AgentConfig) DeepCopy() *AgentConfig

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

func (*AgentConfig) DeepCopyInto

func (in *AgentConfig) DeepCopyInto(out *AgentConfig)

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

type AgentList

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

AgentList contains a list of Agent

func (*AgentList) DeepCopy

func (in *AgentList) DeepCopy() *AgentList

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

func (*AgentList) DeepCopyInto

func (in *AgentList) DeepCopyInto(out *AgentList)

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

func (*AgentList) DeepCopyObject

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

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

type AgentSpec

type AgentSpec struct {

	// Foo is an example field of Agent. Edit agent_types.go to remove/update
	Foo string `json:"foo,omitempty"`
}

AgentSpec defines the desired state of Agent

func (*AgentSpec) DeepCopy

func (in *AgentSpec) DeepCopy() *AgentSpec

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

func (*AgentSpec) DeepCopyInto

func (in *AgentSpec) DeepCopyInto(out *AgentSpec)

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

type AgentStatus

type AgentStatus struct {
}

AgentStatus defines the observed state of Agent

func (*AgentStatus) DeepCopy

func (in *AgentStatus) DeepCopy() *AgentStatus

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

func (*AgentStatus) DeepCopyInto

func (in *AgentStatus) DeepCopyInto(out *AgentStatus)

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

type Bux

type Bux struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   BuxSpec   `json:"spec,omitempty"`
	Status BuxStatus `json:"status,omitempty"`
}

Bux is the Schema for the bux API

func (*Bux) DeepCopy

func (in *Bux) DeepCopy() *Bux

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

func (*Bux) DeepCopyInto

func (in *Bux) DeepCopyInto(out *Bux)

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

func (*Bux) DeepCopyObject

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

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

type BuxConfig

type BuxConfig struct {
	Paymail        *PaymailConfig `json:"paymail"`
	AdminXpub      string         `json:"adminXpub"`
	RequireSigning bool           `json:"requireSigning"`
	AutoMigrate    bool           `json:"autoMigrate"`
	Datastore      string         `json:"datastore"`
}

BuxConfig is the BUX configuration

func (*BuxConfig) DeepCopy

func (in *BuxConfig) DeepCopy() *BuxConfig

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

func (*BuxConfig) DeepCopyInto

func (in *BuxConfig) DeepCopyInto(out *BuxConfig)

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

type BuxList

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

BuxList contains a list of Bux

func (*BuxList) DeepCopy

func (in *BuxList) DeepCopy() *BuxList

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

func (*BuxList) DeepCopyInto

func (in *BuxList) DeepCopyInto(out *BuxList)

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

func (*BuxList) DeepCopyObject

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

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

type BuxSpec

type BuxSpec struct {
	Configuration *BuxConfig `json:"configuration"`
	Domain        string     `json:"domain"`
	ClusterIssuer string     `json:"clusterIssuer"`
	Console       bool       `json:"console"`
}

BuxSpec defines the desired state of Bux

func (*BuxSpec) DeepCopy

func (in *BuxSpec) DeepCopy() *BuxSpec

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

func (*BuxSpec) DeepCopyInto

func (in *BuxSpec) DeepCopyInto(out *BuxSpec)

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

type BuxStatus

type BuxStatus struct {
	Conditions []metav1.Condition `json:"conditions,omitempty"`
	Route      string             `json:"route,omitempty"`
}

BuxStatus defines the observed state of Bux

func (*BuxStatus) DeepCopy

func (in *BuxStatus) DeepCopy() *BuxStatus

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

func (*BuxStatus) DeepCopyInto

func (in *BuxStatus) DeepCopyInto(out *BuxStatus)

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

type PaymailConfig

type PaymailConfig struct {
	Enabled                 bool     `json:"enabled"`
	DefaultFromPaymail      string   `json:"defaultFromPaymail,omitempty"`
	DefaultNote             string   `json:"defaultNote,omitempty"`
	Domains                 []string `json:"domains,omitempty"`
	DomainValidationEnabled bool     `json:"domainValidationEnabled,omitempty"`
	SenderValidationEnabled bool     `json:"senderValidationEnabled,omitempty"`
}

PaymailConfig defines the paymail config

func (*PaymailConfig) DeepCopy

func (in *PaymailConfig) DeepCopy() *PaymailConfig

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

func (*PaymailConfig) DeepCopyInto

func (in *PaymailConfig) DeepCopyInto(out *PaymailConfig)

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