v1alpha1

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package v1alpha1 is the v1alpha1 version of the API.

Package v1alpha1 contains API Schema definitions for the policy.openservicemesh.io v1alpha1 API group

Index

Constants

This section is empty.

Variables

View Source
var (
	// SchemeGroupVersion is group version used to register these objects
	SchemeGroupVersion = schema.GroupVersion{
		Group:   "policy.openservicemesh.io",
		Version: "v1alpha1",
	}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)

	// AddToScheme adds all Resources to the Scheme
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns back a Group qualified GroupKind

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type Backpressure

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

	Spec BackpressureSpec `json:"spec"`
}

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

func (*Backpressure) DeepCopy

func (in *Backpressure) DeepCopy() *Backpressure

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

func (*Backpressure) DeepCopyInto

func (in *Backpressure) DeepCopyInto(out *Backpressure)

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

func (*Backpressure) DeepCopyObject

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

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

type BackpressureList

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

	// Items is the list of Backpressure
	Items []Backpressure `json:"items"`
}

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

func (*BackpressureList) DeepCopy

func (in *BackpressureList) DeepCopy() *BackpressureList

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

func (*BackpressureList) DeepCopyInto

func (in *BackpressureList) DeepCopyInto(out *BackpressureList)

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

func (*BackpressureList) DeepCopyObject

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

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

type BackpressureSpec

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

	// MaxConnections is the max number of connections a proxy will make to the remote service.
	MaxConnections uint32 `json:"maxConnections,omitempty"`
}

BackpressureSpec is ...

func (*BackpressureSpec) DeepCopy

func (in *BackpressureSpec) DeepCopy() *BackpressureSpec

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

func (*BackpressureSpec) DeepCopyInto

func (in *BackpressureSpec) DeepCopyInto(out *BackpressureSpec)

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