Documentation
¶
Overview ¶
Package v1alpha1 is the v1alpha1 version of the API.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: gateway.GroupName, Version: "v1alpha1"}
SchemeGroupVersion is group version used to register these object.
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource.
Types ¶
type AccessLog ¶
func (*AccessLog) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccessLog.
func (*AccessLog) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GatewayConfig ¶
type GatewayConfig struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec GatewayConfigSpec `json:"spec"` }
+genclient +genclient:nonNamespaced +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +kubebuilder:validation:Optional +kubebuilder:resource:shortName=gcfg,scope=Cluster
func (*GatewayConfig) DeepCopy ¶
func (in *GatewayConfig) DeepCopy() *GatewayConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayConfig.
func (*GatewayConfig) DeepCopyInto ¶
func (in *GatewayConfig) DeepCopyInto(out *GatewayConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GatewayConfig) DeepCopyObject ¶
func (in *GatewayConfig) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type GatewayConfigList ¶
type GatewayConfigList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []GatewayConfig `json:"items"` }
GatewayConfigList is a list of the GatewayConfig resources.
func (*GatewayConfigList) DeepCopy ¶
func (in *GatewayConfigList) DeepCopy() *GatewayConfigList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayConfigList.
func (*GatewayConfigList) DeepCopyInto ¶
func (in *GatewayConfigList) DeepCopyInto(out *GatewayConfigList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GatewayConfigList) DeepCopyObject ¶
func (in *GatewayConfigList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type GatewayConfigSpec ¶
type GatewayConfigSpec struct { Worker *Worker `json:"worker,omitempty"` HTTP *HTTP `json:"http,omitempty"` }
func (*GatewayConfigSpec) DeepCopy ¶
func (in *GatewayConfigSpec) DeepCopy() *GatewayConfigSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayConfigSpec.
func (*GatewayConfigSpec) DeepCopyInto ¶
func (in *GatewayConfigSpec) DeepCopyInto(out *GatewayConfigSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HTTP ¶
type HTTP struct {
AccessLogs []AccessLog `json:"accessLogs,omitempty"`
}
func (*HTTP) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTP.
func (*HTTP) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Worker ¶
type Worker struct {
Processes *int `json:"processes,omitempty"`
}
func (*Worker) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Worker.
func (*Worker) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.