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 ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Container.
func (*Container) DeepCopyInto ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Haproxy.
func (*Haproxy) DeepCopyInto ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Network.
func (*Network) DeepCopyInto ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Publish.
func (*Publish) DeepCopyInto ¶
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 ¶
func (in *SolaceScalableStatus) DeepCopy() *SolaceScalableStatus
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Subscribe.
func (*Subscribe) DeepCopyInto ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Volume.
func (*Volume) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.