v1alpha

package
v0.0.0-...-c3747e5 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2018 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package v1alpha is the v1alpha version of the API. +groupName=cw.com

Index

Constants

This section is empty.

Variables

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

SchemeGroupVersion is group version used to register these objects

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 ApiGateway

type ApiGateway struct {
	v1.TypeMeta   `json:",inline"`
	v1.ObjectMeta `json:"metadata,omitempty"`
	Spec          ApiGatewaySpec `json:"spec"`
}

ApiGateway is the main Type and used to create the apigateway-controller and corresponding ingress

func (*ApiGateway) DeepCopy

func (in *ApiGateway) DeepCopy() *ApiGateway

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

func (*ApiGateway) DeepCopyInto

func (in *ApiGateway) DeepCopyInto(out *ApiGateway)

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

func (*ApiGateway) DeepCopyObject

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

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

type ApiGatewayList

type ApiGatewayList struct {
	v1.TypeMeta   `json:",inline"`
	v1.ObjectMeta `json:"metadata,omitempty"`

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

func (*ApiGatewayList) DeepCopy

func (in *ApiGatewayList) DeepCopy() *ApiGatewayList

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

func (*ApiGatewayList) DeepCopyInto

func (in *ApiGatewayList) DeepCopyInto(out *ApiGatewayList)

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

func (*ApiGatewayList) DeepCopyObject

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

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

type ApiGatewaySpec

type ApiGatewaySpec struct {
	ServiceLabel string `json:"serviceLabel"`
	IngressName  string
	Host         string
	Backend      Backend
}

func (*ApiGatewaySpec) DeepCopy

func (in *ApiGatewaySpec) DeepCopy() *ApiGatewaySpec

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

func (*ApiGatewaySpec) DeepCopyInto

func (in *ApiGatewaySpec) DeepCopyInto(out *ApiGatewaySpec)

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

type Backend

type Backend struct {
	ServiceName string
	ServicePort intstr.IntOrString
}

func (*Backend) DeepCopy

func (in *Backend) DeepCopy() *Backend

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

func (*Backend) DeepCopyInto

func (in *Backend) DeepCopyInto(out *Backend)

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