Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the v1alpha1 API group +kubebuilder:object:generate=true +groupName=ngrok.com
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "ngrok.com", 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 Ngrok ¶
type Ngrok struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec NgrokSpec `json:"spec,omitempty"` Status NgrokStatus `json:"status,omitempty"` }
Ngrok is the Schema for the Ngrok API +kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Status",type="string",JSONPath=".status.status",description="Ngrok status" +kubebuilder:printcolumn:name="URL",type="string",JSONPath=".status.url",description="Ngrok URL"
func (*Ngrok) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Ngrok.
func (*Ngrok) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Ngrok) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NgrokList ¶
type NgrokList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Ngrok `json:"items"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object NgrokList contains a list of Ngrok
func (*NgrokList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NgrokList.
func (*NgrokList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NgrokList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NgrokSpec ¶
type NgrokSpec struct { Service string `json:"service"` // +kubebuilder:validation:Minimum=1 // +kubebuilder:validation:Maximum=65535 Port int32 `json:"port"` // +kubebuilder:validation:Enum=http;tcp;tls // +kubebuilder:default:=http // +optional Protocol string `json:"protocol"` // +optional AuthToken string `json:"authtoken"` // +kubebuilder:validation:Enum=plain;secret // +kubebuilder:default:=plain // +optional AuthTokenType string `json:"authtoken_type"` // +kubebuilder:validation:Enum=us;eu;ap;au;sa;jp;in // +optional Region string `json:"region"` // +optional Auth string `json:"auth"` // +optional HostHeader string `json:"host_header"` // +kubebuilder:validation:Enum="true";"false";both // +optional BindTLS string `json:"bind_tls"` // +kubebuilder:validation:Enum=true;false // +kubebuilder:default:=false // +optional Inspect bool `json:"inspect"` // +optional Hostname string `json:"hostname"` // +optional RemoteAddr string `json:"remote_addr"` // +kubebuilder:default:={image: zufardhiyaulhaq/ngrok} // +optional PodSpec PodSpec `json:"podSpec"` }
NgrokSpec defines the desired state of Ngrok
func (*NgrokSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NgrokSpec.
func (*NgrokSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NgrokStatus ¶
NgrokStatus defines the observed state of Ngrok
func (*NgrokStatus) DeepCopy ¶
func (in *NgrokStatus) DeepCopy() *NgrokStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NgrokStatus.
func (*NgrokStatus) DeepCopyInto ¶
func (in *NgrokStatus) DeepCopyInto(out *NgrokStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PodSpec ¶ added in v1.2.0
type PodSpec struct { // +optional Image string `json:"image"` }
func (*PodSpec) DeepCopy ¶ added in v1.2.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodSpec.
func (*PodSpec) DeepCopyInto ¶ added in v1.2.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.