v1alpha2

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2018 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

+k8s:deepcopy-gen=package

Index

Constants

View Source
const (
	Group        = "gateway.kyma.cx"
	Version      = "v1alpha2"
	KindName     = "Api"
	ListKindName = "ApiList"
)

Variables

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

	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	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

GatewayResource takes an unqualified resource and returns a Group qualified GroupResource

Types

type Api

type Api struct {
	k8sMeta.TypeMeta   `json:",inline"`
	k8sMeta.ObjectMeta `json:"metadata,omitempty"`

	Spec   ApiSpec   `json:"spec"`
	Status ApiStatus `json:"status"`
}

func (*Api) DeepCopy

func (in *Api) DeepCopy() *Api

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

func (*Api) DeepCopyInto

func (in *Api) DeepCopyInto(out *Api)

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

func (*Api) DeepCopyObject

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

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

type ApiList

type ApiList struct {
	k8sMeta.TypeMeta `json:",inline"`
	k8sMeta.ListMeta `json:"metadata,omitempty"`

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

func (*ApiList) DeepCopy

func (in *ApiList) DeepCopy() *ApiList

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

func (*ApiList) DeepCopyInto

func (in *ApiList) DeepCopyInto(out *ApiList)

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

func (*ApiList) DeepCopyObject

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

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

type ApiSpec

type ApiSpec struct {
	Service               Service `json:"service"`
	Hostname              string  `json:"hostname"`
	AuthenticationEnabled *bool   `json:"authenticationEnabled,omitempty"`
	// +optional
	Authentication []AuthenticationRule `json:"authentication"`
}

func (*ApiSpec) DeepCopy

func (in *ApiSpec) DeepCopy() *ApiSpec

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

func (*ApiSpec) DeepCopyInto

func (in *ApiSpec) DeepCopyInto(out *ApiSpec)

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

type ApiStatus

type ApiStatus struct {
	AuthenticationStatus kymaMeta.GatewayResourceStatus `json:"authenticationStatus,omitempty"`
	VirtualServiceStatus kymaMeta.GatewayResourceStatus `json:"virtualServiceStatus,omitempty"`
}

func (*ApiStatus) DeepCopy

func (in *ApiStatus) DeepCopy() *ApiStatus

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

func (*ApiStatus) DeepCopyInto

func (in *ApiStatus) DeepCopyInto(out *ApiStatus)

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

func (*ApiStatus) IsDone

func (s *ApiStatus) IsDone() bool

func (*ApiStatus) IsEmpty

func (s *ApiStatus) IsEmpty() bool

func (*ApiStatus) IsError

func (s *ApiStatus) IsError() bool

func (*ApiStatus) IsInProgress

func (s *ApiStatus) IsInProgress() bool

func (*ApiStatus) SetInProgress

func (s *ApiStatus) SetInProgress()

type AuthenticationRule

type AuthenticationRule struct {
	Type AuthenticationType `json:"type"`
	Jwt  JwtAuthentication  `json:"jwt"`
}

func (*AuthenticationRule) DeepCopy

func (in *AuthenticationRule) DeepCopy() *AuthenticationRule

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

func (*AuthenticationRule) DeepCopyInto

func (in *AuthenticationRule) DeepCopyInto(out *AuthenticationRule)

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

type AuthenticationType

type AuthenticationType string
const (
	JwtType AuthenticationType = "JWT"
)

type JwtAuthentication

type JwtAuthentication struct {
	JwksUri string `json:"jwksUri"`
	Issuer  string `json:"issuer"`
}

func (*JwtAuthentication) DeepCopy

func (in *JwtAuthentication) DeepCopy() *JwtAuthentication

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

func (*JwtAuthentication) DeepCopyInto

func (in *JwtAuthentication) DeepCopyInto(out *JwtAuthentication)

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"`
	Port int    `json:"port"`
}

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.

Jump to

Keyboard shortcuts

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