v1alpha1

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

+groupName=gotway.io

Index

Constants

This section is empty.

Variables

View Source
var (
	SchemeGroupVersion = schema.GroupVersion{
		Group:   crd.GroupName,
		Version: crd.V1alpha1,
	}
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	AddToScheme   = SchemeBuilder.AddToScheme
)

Functions

func Resource

func Resource(resource string) schema.GroupResource

Types

type Cache

type Cache struct {
	TTL      int64    `json:"ttl"`
	Statuses []int    `json:"statuses"`
	Tags     []string `json:"tags"`
}

func (*Cache) DeepCopy

func (in *Cache) DeepCopy() *Cache

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

func (*Cache) DeepCopyInto

func (in *Cache) DeepCopyInto(out *Cache)

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

type IngressHTTP

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

	Spec   IngressHTTPSpec   `json:"spec"`
	Status IngressHTTPStatus `json:"status"`
}

+genclient +k8s:deepcopy-gen=true +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*IngressHTTP) DeepCopy

func (in *IngressHTTP) DeepCopy() *IngressHTTP

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

func (*IngressHTTP) DeepCopyInto

func (in *IngressHTTP) DeepCopyInto(out *IngressHTTP)

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

func (*IngressHTTP) DeepCopyObject

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

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

type IngressHTTPList

type IngressHTTPList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []IngressHTTP `json:"items"`
}

+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*IngressHTTPList) DeepCopy

func (in *IngressHTTPList) DeepCopy() *IngressHTTPList

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

func (*IngressHTTPList) DeepCopyInto

func (in *IngressHTTPList) DeepCopyInto(out *IngressHTTPList)

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

func (*IngressHTTPList) DeepCopyObject

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

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

type IngressHTTPSpec

type IngressHTTPSpec struct {
	Match   Match   `json:"match"`
	Service Service `json:"service"`
	Cache   Cache   `json:"cache"`
}

func (*IngressHTTPSpec) DeepCopy

func (in *IngressHTTPSpec) DeepCopy() *IngressHTTPSpec

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

func (*IngressHTTPSpec) DeepCopyInto

func (in *IngressHTTPSpec) DeepCopyInto(out *IngressHTTPSpec)

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

type IngressHTTPStatus

type IngressHTTPStatus struct {
	IsServiceHealthy bool `json:"isServiceHealthy"`
}

func (*IngressHTTPStatus) DeepCopy

func (in *IngressHTTPStatus) DeepCopy() *IngressHTTPStatus

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

func (*IngressHTTPStatus) DeepCopyInto

func (in *IngressHTTPStatus) DeepCopyInto(out *IngressHTTPStatus)

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

type Match

type Match struct {
	Method     string `json:"method"`
	Host       string `json:"host"`
	Port       string `json:"port"`
	Path       string `json:"path"`
	PathPrefix string `json:"pathPrefix"`
}

func (*Match) DeepCopy

func (in *Match) DeepCopy() *Match

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

func (*Match) DeepCopyInto

func (in *Match) DeepCopyInto(out *Match)

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

type Service

type Service struct {
	Name       string `json:"name"`
	URL        string `json:"url"`
	HealthPath string `json:"healthPath"`
}

func (*Service) DeepCopy

func (in *Service) DeepCopy() *Service

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

func (*Service) DeepCopyInto

func (in *Service) DeepCopyInto(out *Service)

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

Directories

Path Synopsis
apis
clientset/versioned
This package has the automatically generated clientset.
This package has the automatically generated clientset.
clientset/versioned/fake
This package has the automatically generated fake clientset.
This package has the automatically generated fake clientset.
clientset/versioned/scheme
This package contains the scheme of the automatically generated clientset.
This package contains the scheme of the automatically generated clientset.
clientset/versioned/typed/crd/v1alpha1
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
clientset/versioned/typed/crd/v1alpha1/fake
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL