v1alpha1

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

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 APIDefinition

type APIDefinition struct {
	Path   string `json:"path"`
	Method string `json:"method"`
}

func (*APIDefinition) DeepCopy

func (in *APIDefinition) DeepCopy() *APIDefinition

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

func (*APIDefinition) DeepCopyInto

func (in *APIDefinition) DeepCopyInto(out *APIDefinition)

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

type AutoscalingSpec

type AutoscalingSpec struct {
	Overridable bool   `json:"overridable,omitempty"`
	Policy      Policy `json:"policy"`
}

func (*AutoscalingSpec) DeepCopy

func (in *AutoscalingSpec) DeepCopy() *AutoscalingSpec

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

func (*AutoscalingSpec) DeepCopyInto

func (in *AutoscalingSpec) DeepCopyInto(out *AutoscalingSpec)

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

type Cell

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

	Spec   CellSpec   `json:"spec"`
	Status CellStatus `json:"status"`
}

func (*Cell) DeepCopy

func (in *Cell) DeepCopy() *Cell

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

func (*Cell) DeepCopyInto

func (in *Cell) DeepCopyInto(out *Cell)

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

func (*Cell) DeepCopyObject

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

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

type CellList

type CellList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`
	Items           []Cell `json:"items"`
}

func (*CellList) DeepCopy

func (in *CellList) DeepCopy() *CellList

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

func (*CellList) DeepCopyInto

func (in *CellList) DeepCopyInto(out *CellList)

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

func (*CellList) DeepCopyObject

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

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

type CellSpec

type CellSpec struct {
	GatewayTemplate  GatewayTemplateSpec   `json:"gatewayTemplate"`
	ServiceTemplates []ServiceTemplateSpec `json:"servicesTemplates"`
}

func (*CellSpec) DeepCopy

func (in *CellSpec) DeepCopy() *CellSpec

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

func (*CellSpec) DeepCopyInto

func (in *CellSpec) DeepCopyInto(out *CellSpec)

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

type CellStatus

type CellStatus struct {
	ServiceCount    int32  `json:"serviceCount"`
	GatewayHostname string `json:"gatewayHostname"`
	GatewayStatus   string `json:"gatewayStatus"`
	Status          string `json:"status"`
}

func (*CellStatus) DeepCopy

func (in *CellStatus) DeepCopy() *CellStatus

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

func (*CellStatus) DeepCopyInto

func (in *CellStatus) DeepCopyInto(out *CellStatus)

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

type Gateway

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

	Spec   GatewaySpec   `json:"spec"`
	Status GatewayStatus `json:"status"`
}

func (*Gateway) DeepCopy

func (in *Gateway) DeepCopy() *Gateway

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

func (*Gateway) DeepCopyInto

func (in *Gateway) DeepCopyInto(out *Gateway)

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

func (*Gateway) DeepCopyObject

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

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

type GatewayList

type GatewayList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`
	Items           []Gateway `json:"items"`
}

func (*GatewayList) DeepCopy

func (in *GatewayList) DeepCopy() *GatewayList

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

func (*GatewayList) DeepCopyInto

func (in *GatewayList) DeepCopyInto(out *GatewayList)

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

func (*GatewayList) DeepCopyObject

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

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

type GatewaySpec

type GatewaySpec struct {
	HTTPRoutes []HTTPRoute `json:"http"`
	TCPRoutes  []TCPRoute  `json:"tcp"`
}

func (*GatewaySpec) DeepCopy

func (in *GatewaySpec) DeepCopy() *GatewaySpec

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

func (*GatewaySpec) DeepCopyInto

func (in *GatewaySpec) DeepCopyInto(out *GatewaySpec)

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

type GatewayStatus

type GatewayStatus struct {
	OwnerCell string `json:"ownerCell"`
	HostName  string `json:"hostname"`
	Status    string `json:"status"`
}

func (*GatewayStatus) DeepCopy

func (in *GatewayStatus) DeepCopy() *GatewayStatus

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

func (*GatewayStatus) DeepCopyInto

func (in *GatewayStatus) DeepCopyInto(out *GatewayStatus)

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

type GatewayTemplateSpec

type GatewayTemplateSpec struct {
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec GatewaySpec `json:"spec,omitempty"`
}

func (*GatewayTemplateSpec) DeepCopy

func (in *GatewayTemplateSpec) DeepCopy() *GatewayTemplateSpec

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

func (*GatewayTemplateSpec) DeepCopyInto

func (in *GatewayTemplateSpec) DeepCopyInto(out *GatewayTemplateSpec)

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

type HTTPRoute

type HTTPRoute struct {
	Context     string          `json:"context"`
	Definitions []APIDefinition `json:"definitions"`
	Backend     string          `json:"backend"`
	Global      bool            `json:"global"`
}

func (*HTTPRoute) DeepCopy

func (in *HTTPRoute) DeepCopy() *HTTPRoute

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

func (*HTTPRoute) DeepCopyInto

func (in *HTTPRoute) DeepCopyInto(out *HTTPRoute)

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

type Policy

type Policy struct {
	MinReplicas *int32                          `json:"minReplicas"`
	MaxReplicas int32                           `json:"maxReplicas"`
	Metrics     []autoscalingV2beta1.MetricSpec `json:"metrics"`
}

func (*Policy) DeepCopy

func (in *Policy) DeepCopy() *Policy

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

func (*Policy) DeepCopyInto

func (in *Policy) DeepCopyInto(out *Policy)

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

type Service

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

	Spec   ServiceSpec   `json:"spec"`
	Status ServiceStatus `json:"status"`
}

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.

func (*Service) DeepCopyObject

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

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

type ServiceList

type ServiceList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`
	Items           []Service `json:"items"`
}

func (*ServiceList) DeepCopy

func (in *ServiceList) DeepCopy() *ServiceList

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

func (*ServiceList) DeepCopyInto

func (in *ServiceList) DeepCopyInto(out *ServiceList)

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

func (*ServiceList) DeepCopyObject

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

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

type ServiceSpec

type ServiceSpec struct {
	Replicas           *int32           `json:"replicas"`
	ServicePort        int32            `json:"servicePort"`
	ServiceAccountName string           `json:"serviceAccountName"`
	Protocol           string           `json:"protocol"`
	Container          corev1.Container `json:"container"`
	Autoscaling        *AutoscalingSpec `json:"autoscaling"`
}

func (*ServiceSpec) DeepCopy

func (in *ServiceSpec) DeepCopy() *ServiceSpec

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

func (*ServiceSpec) DeepCopyInto

func (in *ServiceSpec) DeepCopyInto(out *ServiceSpec)

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

type ServiceStatus

type ServiceStatus struct {
	OwnerCell         string `json:"ownerCell"`
	AvailableReplicas int32  `json:"availableReplicas"`
	HostName          string `json:"hostname"`
}

func (*ServiceStatus) DeepCopy

func (in *ServiceStatus) DeepCopy() *ServiceStatus

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

func (*ServiceStatus) DeepCopyInto

func (in *ServiceStatus) DeepCopyInto(out *ServiceStatus)

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

type ServiceTemplateSpec

type ServiceTemplateSpec struct {
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec ServiceSpec `json:"spec,omitempty"`
}

ServiceTemplateSpec describes the data a service should have when created from a template

func (*ServiceTemplateSpec) DeepCopy

func (in *ServiceTemplateSpec) DeepCopy() *ServiceTemplateSpec

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

func (*ServiceTemplateSpec) DeepCopyInto

func (in *ServiceTemplateSpec) DeepCopyInto(out *ServiceTemplateSpec)

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

type TCPRoute

type TCPRoute struct {
	Port        uint32 `json:"port"`
	BackendHost string `json:"backendHost"`
	BackendPort uint32 `json:"backendPort"`
}

func (*TCPRoute) DeepCopy

func (in *TCPRoute) DeepCopy() *TCPRoute

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

func (*TCPRoute) DeepCopyInto

func (in *TCPRoute) DeepCopyInto(out *TCPRoute)

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

type TokenService

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

	Spec   TokenServiceSpec   `json:"spec"`
	Status TokenServiceStatus `json:"status"`
}

func (*TokenService) DeepCopy

func (in *TokenService) DeepCopy() *TokenService

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

func (*TokenService) DeepCopyInto

func (in *TokenService) DeepCopyInto(out *TokenService)

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

func (*TokenService) DeepCopyObject

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

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

type TokenServiceList

type TokenServiceList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`
	Items           []TokenService `json:"items"`
}

func (*TokenServiceList) DeepCopy

func (in *TokenServiceList) DeepCopy() *TokenServiceList

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

func (*TokenServiceList) DeepCopyInto

func (in *TokenServiceList) DeepCopyInto(out *TokenServiceList)

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

func (*TokenServiceList) DeepCopyObject

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

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

type TokenServiceSpec

type TokenServiceSpec struct {
}

func (*TokenServiceSpec) DeepCopy

func (in *TokenServiceSpec) DeepCopy() *TokenServiceSpec

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

func (*TokenServiceSpec) DeepCopyInto

func (in *TokenServiceSpec) DeepCopyInto(out *TokenServiceSpec)

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

type TokenServiceStatus

type TokenServiceStatus struct {
}

func (*TokenServiceStatus) DeepCopy

func (in *TokenServiceStatus) DeepCopy() *TokenServiceStatus

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

func (*TokenServiceStatus) DeepCopyInto

func (in *TokenServiceStatus) DeepCopyInto(out *TokenServiceStatus)

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

type TokenServiceTemplateSpec

type TokenServiceTemplateSpec struct {
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec TokenServiceSpec `json:"spec,omitempty"`
}

func (*TokenServiceTemplateSpec) DeepCopy

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

func (*TokenServiceTemplateSpec) DeepCopyInto

func (in *TokenServiceTemplateSpec) DeepCopyInto(out *TokenServiceTemplateSpec)

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