Documentation
¶
Overview ¶
Package v1beta1 contains API Schema definitions for the forward v1beta1 API group +kubebuilder:object:generate=true +groupName=forward.techsquad.rocks
Index ¶
Constants ¶
const ( PhasePending = "PENDING" PhaseRunning = "RUNNING" PhaseFailed = "FAILED" )
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "forward.techsquad.rocks", Version: "v1beta1"} // 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 Map ¶
type Map struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec MapSpec `json:"spec,omitempty"` Status MapStatus `json:"status,omitempty"` }
Map is the Schema for the maps API
func (*Map) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Map.
func (*Map) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Map) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MapList ¶
type MapList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Map `json:"items"` }
MapList contains a list of Map
func (*MapList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MapList.
func (*MapList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MapList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MapSpec ¶
type MapSpec struct { // TCP/UDP protocol Protocol string `json:"protocol,omitempty"` // Port Port int `json:"port,omitempty"` // Host Host string `json:"host,omitempty"` // LivenessProbe LivenessProbe bool `json:"liveness_probe"` }
MapSpec defines the desired state of Map
func (*MapSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MapSpec.
func (*MapSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MapStatus ¶
type MapStatus struct {
Phase string `json:"phase,omitempty"`
}
MapStatus defines the observed state of Map
func (*MapStatus) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MapStatus.
func (*MapStatus) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.