v1alpha1

package
v0.3.0-alpha Latest Latest
Warning

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

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

Documentation

Overview

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

Index

Constants

This section is empty.

Variables

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

	// 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 Container

type Container struct {
	Image  string          `json:"image,omitempty"`
	Name   string          `json:"name,omitempty"`
	Env    []corev1.EnvVar `json:"env,omitempty"`
	Volume Volume          `json:"volume,omitempty"`
}

SolaceScalableSpec defines the desired state of SolaceScalable

func (*Container) DeepCopy

func (in *Container) DeepCopy() *Container

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

func (*Container) DeepCopyInto

func (in *Container) DeepCopyInto(out *Container)

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

type Haproxy

type Haproxy struct {
	Namespace string    `json:"namespace,omitempty"`
	Publish   Publish   `json:"publish,omitempty"`
	Subscribe Subscribe `json:"subscribe,omitempty"`
}

func (*Haproxy) DeepCopy

func (in *Haproxy) DeepCopy() *Haproxy

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

func (*Haproxy) DeepCopyInto

func (in *Haproxy) DeepCopyInto(out *Haproxy)

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

type Network

type Network struct {
	StartingAvailablePorts int32 `json:"startingAvailablePorts,omitempty"`
}

func (*Network) DeepCopy

func (in *Network) DeepCopy() *Network

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

func (*Network) DeepCopyInto

func (in *Network) DeepCopyInto(out *Network)

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

type Publish

type Publish struct {
	ServiceName string `json:"serviceName,omitempty"`
}

func (*Publish) DeepCopy

func (in *Publish) DeepCopy() *Publish

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

func (*Publish) DeepCopyInto

func (in *Publish) DeepCopyInto(out *Publish)

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

type SolaceScalable

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

	Spec   SolaceScalableSpec   `json:"spec,omitempty"`
	Status SolaceScalableStatus `json:"status,omitempty"`
}

SolaceScalable is the Schema for the solacescalables API

func (*SolaceScalable) DeepCopy

func (in *SolaceScalable) DeepCopy() *SolaceScalable

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

func (*SolaceScalable) DeepCopyInto

func (in *SolaceScalable) DeepCopyInto(out *SolaceScalable)

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

func (*SolaceScalable) DeepCopyObject

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

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

type SolaceScalableList

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

SolaceScalableList contains a list of SolaceScalable

func (*SolaceScalableList) DeepCopy

func (in *SolaceScalableList) DeepCopy() *SolaceScalableList

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

func (*SolaceScalableList) DeepCopyInto

func (in *SolaceScalableList) DeepCopyInto(out *SolaceScalableList)

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

func (*SolaceScalableList) DeepCopyObject

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

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

type SolaceScalableSpec

type SolaceScalableSpec struct {

	// Foo is an example field of SolaceScalable. Edit solacescalable_types.go to remove/update
	Container  Container `json:"container,omitempty"`
	Replicas   int32     `json:"replicas,omitempty"`
	ClusterUrl string    `json:"clusterUrl,omitempty"`
	Haproxy    Haproxy   `json:"haproxy,omitempty"`
	PvClass    string    `json:"pvClass,omitempty"`
	NetWork    Network   `json:"network,omitempty"`
}

func (*SolaceScalableSpec) DeepCopy

func (in *SolaceScalableSpec) DeepCopy() *SolaceScalableSpec

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

func (*SolaceScalableSpec) DeepCopyInto

func (in *SolaceScalableSpec) DeepCopyInto(out *SolaceScalableSpec)

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

type SolaceScalableStatus

type SolaceScalableStatus struct {
	// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
	// Important: Run "make" to regenerate code after modifying this file
	SolaceStatus string `json:"solaceStatus,omitempty"`
}

SolaceScalableStatus defines the observed state of SolaceScalable

func (*SolaceScalableStatus) DeepCopy

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

func (*SolaceScalableStatus) DeepCopyInto

func (in *SolaceScalableStatus) DeepCopyInto(out *SolaceScalableStatus)

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

type Subscribe

type Subscribe struct {
	ServiceName string `json:"serviceName,omitempty"`
}

func (*Subscribe) DeepCopy

func (in *Subscribe) DeepCopy() *Subscribe

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

func (*Subscribe) DeepCopyInto

func (in *Subscribe) DeepCopyInto(out *Subscribe)

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

type Volume

type Volume struct {
	Name          string `json:"name,omitempty"`
	Size          string `json:"size,omitempty"`
	HostPath      string `json:"hostPath,omitempty"`
	ReclaimPolicy string `json:"reclaimPolicy,omitempty"`
}

func (*Volume) DeepCopy

func (in *Volume) DeepCopy() *Volume

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

func (*Volume) DeepCopyInto

func (in *Volume) DeepCopyInto(out *Volume)

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