v1alpha1

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 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 AutoscalePolicy added in v0.2.0

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

	Spec   AutoscalePolicySpec `json:"spec"`
	Status string              `json:"status"`
}

func (*AutoscalePolicy) DeepCopy added in v0.2.0

func (in *AutoscalePolicy) DeepCopy() *AutoscalePolicy

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

func (*AutoscalePolicy) DeepCopyInto added in v0.2.0

func (in *AutoscalePolicy) DeepCopyInto(out *AutoscalePolicy)

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

func (*AutoscalePolicy) DeepCopyObject added in v0.2.0

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

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

type AutoscalePolicyList added in v0.2.0

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

func (*AutoscalePolicyList) DeepCopy added in v0.2.0

func (in *AutoscalePolicyList) DeepCopy() *AutoscalePolicyList

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

func (*AutoscalePolicyList) DeepCopyInto added in v0.2.0

func (in *AutoscalePolicyList) DeepCopyInto(out *AutoscalePolicyList)

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

func (*AutoscalePolicyList) DeepCopyObject added in v0.2.0

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

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

type AutoscalePolicySpec added in v0.2.0

type AutoscalePolicySpec struct {
	Overridable bool   `json:"overridable"`
	Policy      Policy `json:"policy"`
}

func (*AutoscalePolicySpec) DeepCopy added in v0.2.0

func (in *AutoscalePolicySpec) DeepCopy() *AutoscalePolicySpec

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

func (*AutoscalePolicySpec) DeepCopyInto added in v0.2.0

func (in *AutoscalePolicySpec) DeepCopyInto(out *AutoscalePolicySpec)

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 CellCondition added in v0.2.0

type CellCondition struct {
	Type   CellConditionType      `json:"type"`
	Status corev1.ConditionStatus `json:"status"`
}

func (*CellCondition) DeepCopy added in v0.2.0

func (in *CellCondition) DeepCopy() *CellCondition

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

func (*CellCondition) DeepCopyInto added in v0.2.0

func (in *CellCondition) DeepCopyInto(out *CellCondition)

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

type CellConditionType added in v0.2.0

type CellConditionType string
const (
	CellReady CellConditionType = "Ready"
)

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"`
	TokenServiceTemplate TokenServiceTemplateSpec `json:"stsTemplate"`
}

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"`
	// Current conditions of the cell.
	// +patchMergeKey=type
	// +patchStrategy=merge
	Conditions []CellCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type"`
}

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 Composite added in v0.6.0

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

	Spec   CompositeSpec   `json:"spec"`
	Status CompositeStatus `json:"status"`
}

func (*Composite) DeepCopy added in v0.6.0

func (in *Composite) DeepCopy() *Composite

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

func (*Composite) DeepCopyInto added in v0.6.0

func (in *Composite) DeepCopyInto(out *Composite)

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

func (*Composite) DeepCopyObject added in v0.6.0

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

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

type CompositeCondition added in v0.6.0

type CompositeCondition struct {
	Type   CompositeConditionType `json:"type"`
	Status corev1.ConditionStatus `json:"status"`
}

func (*CompositeCondition) DeepCopy added in v0.6.0

func (in *CompositeCondition) DeepCopy() *CompositeCondition

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

func (*CompositeCondition) DeepCopyInto added in v0.6.0

func (in *CompositeCondition) DeepCopyInto(out *CompositeCondition)

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

type CompositeConditionType added in v0.6.0

type CompositeConditionType string
const (
	CompositeReady CompositeConditionType = "Ready"
)

type CompositeList added in v0.6.0

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

func (*CompositeList) DeepCopy added in v0.6.0

func (in *CompositeList) DeepCopy() *CompositeList

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

func (*CompositeList) DeepCopyInto added in v0.6.0

func (in *CompositeList) DeepCopyInto(out *CompositeList)

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

func (*CompositeList) DeepCopyObject added in v0.6.0

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

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

type CompositeSpec added in v0.6.0

type CompositeSpec struct {
	ServiceTemplates []ServiceTemplateSpec `json:"servicesTemplates"`
}

func (*CompositeSpec) DeepCopy added in v0.6.0

func (in *CompositeSpec) DeepCopy() *CompositeSpec

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

func (*CompositeSpec) DeepCopyInto added in v0.6.0

func (in *CompositeSpec) DeepCopyInto(out *CompositeSpec)

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

type CompositeStatus added in v0.6.0

type CompositeStatus struct {
	ServiceCount int32  `json:"serviceCount"`
	Status       string `json:"status"`
	// Current conditions of the composite.
	// +patchMergeKey=type
	// +patchStrategy=merge
	Conditions []CompositeCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type"`
}

func (*CompositeStatus) DeepCopy added in v0.6.0

func (in *CompositeStatus) DeepCopy() *CompositeStatus

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

func (*CompositeStatus) DeepCopyInto added in v0.6.0

func (in *CompositeStatus) DeepCopyInto(out *CompositeStatus)

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

type GRPCRoute added in v0.3.0

type GRPCRoute struct {
	Port        uint32 `json:"port"`
	BackendHost string `json:"backendHost"`
	BackendPort uint32 `json:"backendPort"`
	ZeroScale   bool   `json:"zeroScale,omitempty"`
}

func (*GRPCRoute) DeepCopy added in v0.6.0

func (in *GRPCRoute) DeepCopy() *GRPCRoute

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

func (*GRPCRoute) DeepCopyInto added in v0.6.0

func (in *GRPCRoute) DeepCopyInto(out *GRPCRoute)

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 {
	Type        GatewayType          `json:"type,omitempty"`
	Host        string               `json:"host,omitempty"`
	Tls         TlsConfig            `json:"tls,omitempty"`
	OidcConfig  *OidcConfig          `json:"oidc,omitempty"`
	HTTPRoutes  []HTTPRoute          `json:"http,omitempty"`
	GRPCRoutes  []GRPCRoute          `json:"grpc,omitempty"`
	TCPRoutes   []TCPRoute           `json:"tcp,omitempty"`
	Autoscaling *AutoscalePolicySpec `json:"autoscaling,omitempty"`
}

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.

func (*GatewaySpec) Empty added in v0.3.0

func (gw *GatewaySpec) Empty() bool

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 GatewayType added in v0.2.0

type GatewayType string
const (
	// GatewayTypeEnvoy uses envoy proxy as the gateway.
	GatewayTypeEnvoy GatewayType = "Envoy"

	// GatewayTypeMicroGateway uses WSO2 micro-gateway as the gateway.
	GatewayTypeMicroGateway GatewayType = "MicroGateway"
)

type HTTPRoute

type HTTPRoute struct {
	Context      string          `json:"context"`
	Definitions  []APIDefinition `json:"definitions"`
	Backend      string          `json:"backend"`
	Global       bool            `json:"global"`
	Authenticate bool            `json:"authenticate"`
	ZeroScale    bool            `json:"zeroScale,omitempty"`
}

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 InterceptMode added in v0.2.0

type InterceptMode string
const (
	// Intercept only the incoming traffic
	InterceptModeInbound InterceptMode = "Inbound"
	// Intercept only the outgoing traffic
	InterceptModeOutbound InterceptMode = "Outbound"
	// Intercept both incoming and outgoing traffic
	InterceptModeAny InterceptMode = "Any"
	// Do not intercept any traffic. This will disable the STS
	InterceptModeNone InterceptMode = "None"
)

type OidcConfig added in v0.2.0

type OidcConfig struct {
	ProviderUrl    string   `json:"providerUrl"`
	ClientId       string   `json:"clientId"`
	ClientSecret   string   `json:"clientSecret"`
	DcrUrl         string   `json:"dcrUrl"`
	DcrUser        string   `json:"dcrUser"`
	DcrPassword    string   `json:"dcrPassword"`
	RedirectUrl    string   `json:"redirectUrl"`
	BaseUrl        string   `json:"baseUrl"`
	SubjectClaim   string   `json:"subjectClaim"`
	SecurePaths    []string `json:"securePaths,omitempty"`
	NonSecurePaths []string `json:"nonSecurePaths,omitempty"`
}

func (*OidcConfig) DeepCopy added in v0.2.0

func (in *OidcConfig) DeepCopy() *OidcConfig

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

func (*OidcConfig) DeepCopyInto added in v0.2.0

func (in *OidcConfig) DeepCopyInto(out *OidcConfig)

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

type OpaPolicy added in v0.2.0

type OpaPolicy struct {
	Key    string `json:"key,omitempty"`
	Policy string `json:"regoPolicy,omitempty"`
}

func (*OpaPolicy) DeepCopy added in v0.2.0

func (in *OpaPolicy) DeepCopy() *OpaPolicy

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

func (*OpaPolicy) DeepCopyInto added in v0.2.0

func (in *OpaPolicy) DeepCopyInto(out *OpaPolicy)

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

type Policy

type Policy struct {
	ScaleTargetRef autoscalingV2beta1.CrossVersionObjectReference `json:"scaleTargetRef,omitempty"`
	MinReplicas    *int32                                         `json:"minReplicas"`
	MaxReplicas    int32                                          `json:"maxReplicas"`
	Metrics        []autoscalingV2beta1.MetricSpec                `json:"metrics"`
	Concurrency    int64                                          `json:"concurrency"`
}

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        *AutoscalePolicySpec `json:"autoscaling,omitempty"`
	Type               ServiceType          `json:"type,omitempty"`
}

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.

func (*ServiceSpec) IsZeroScaled added in v0.3.0

func (s *ServiceSpec) IsZeroScaled() bool

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 ServiceType added in v0.3.0

type ServiceType string
const (
	// ServiceTypeDeployment is the default type which run as services.
	ServiceTypeDeployment ServiceType = "Deployment"

	// ServiceTypeJob is a job which run into completion.
	ServiceTypeJob ServiceType = "Job"
)

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 TlsConfig added in v0.3.0

type TlsConfig struct {
	Secret string `json:"secret,omitempty"`
	Key    string `json:"key,omitempty"`
	Cert   string `json:"cert,omitempty"`
}

func (*TlsConfig) DeepCopy added in v0.3.0

func (in *TlsConfig) DeepCopy() *TlsConfig

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

func (*TlsConfig) DeepCopyInto added in v0.3.0

func (in *TlsConfig) DeepCopyInto(out *TlsConfig)

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 {
	InterceptMode  InterceptMode `json:"interceptMode,omitempty"`
	Composite      bool          `json:"composite,omitempty"`
	OpaPolicies    []OpaPolicy   `json:"opa,omitempty"`
	UnsecuredPaths []string      `json:"unsecuredPaths,omitempty"`
}

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