v1

package
v0.0.0-...-a035c4d Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package v1 contains API Schema definitions for the operator v1 API group +kubebuilder:object:generate=true +groupName=operator.scc-digitalhub.github.io

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "operator.scc-digitalhub.github.io", Version: "v1"}

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

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

	Spec   ApiGwSpec   `json:"spec,omitempty"`
	Status ApiGwStatus `json:"status,omitempty"`
}

ApiGw is the Schema for the apigws API

func (*ApiGw) DeepCopy

func (in *ApiGw) DeepCopy() *ApiGw

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

func (*ApiGw) DeepCopyInto

func (in *ApiGw) DeepCopyInto(out *ApiGw)

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

func (*ApiGw) DeepCopyObject

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

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

type ApiGwList

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

ApiGwList contains a list of ApiGw

func (*ApiGwList) DeepCopy

func (in *ApiGwList) DeepCopy() *ApiGwList

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

func (*ApiGwList) DeepCopyInto

func (in *ApiGwList) DeepCopyInto(out *ApiGwList)

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

func (*ApiGwList) DeepCopyObject

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

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

type ApiGwSpec

type ApiGwSpec struct {
	Host    string `json:"host,omitempty"`
	Path    string `json:"path,omitempty"`
	Service string `json:"service,omitempty"`
	Port    int32  `json:"port,omitempty"`
	Auth    Auth   `json:"auth,omitempty"`
}

ApiGwSpec defines the desired state of ApiGw

func (*ApiGwSpec) DeepCopy

func (in *ApiGwSpec) DeepCopy() *ApiGwSpec

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

func (*ApiGwSpec) DeepCopyInto

func (in *ApiGwSpec) DeepCopyInto(out *ApiGwSpec)

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

type ApiGwStatus

type ApiGwStatus struct {
	// +operator-sdk:csv:customresourcedefinitions:type=status
	State string `json:"state,omitempty" patchStrategy:"merge"`
}

ApiGwStatus defines the observed state of ApiGw

func (*ApiGwStatus) DeepCopy

func (in *ApiGwStatus) DeepCopy() *ApiGwStatus

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

func (*ApiGwStatus) DeepCopyInto

func (in *ApiGwStatus) DeepCopyInto(out *ApiGwStatus)

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

type Auth

type Auth struct {
	// Valid types: none, basic
	Type  string    `json:"type,omitempty"`
	Basic BasicAuth `json:"basic,omitempty"`
}

func (*Auth) DeepCopy

func (in *Auth) DeepCopy() *Auth

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

func (*Auth) DeepCopyInto

func (in *Auth) DeepCopyInto(out *Auth)

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

type BasicAuth

type BasicAuth struct {
	User     string `json:"user,omitempty"`
	Password string `json:"password,omitempty"`
}

func (*BasicAuth) DeepCopy

func (in *BasicAuth) DeepCopy() *BasicAuth

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

func (*BasicAuth) DeepCopyInto

func (in *BasicAuth) DeepCopyInto(out *BasicAuth)

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