v1alpha2

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2019 License: Apache-2.0 Imports: 8 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: "v1alpha2"}

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 ApiPublisherConfig

type ApiPublisherConfig struct {
	Authenticate bool   `json:"authenticate"`
	Backend      string `json:"backend"`
	Context      string `json:"context"`
	Version      string `json:"version"`
}

func (*ApiPublisherConfig) DeepCopy

func (in *ApiPublisherConfig) DeepCopy() *ApiPublisherConfig

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

func (*ApiPublisherConfig) DeepCopyInto

func (in *ApiPublisherConfig) DeepCopyInto(out *ApiPublisherConfig)

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

func (*ApiPublisherConfig) HasVersion

func (ap *ApiPublisherConfig) HasVersion() bool

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.

func (*Cell) SetDefaults

func (c *Cell) SetDefaults()

type CellCondition

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

func (*CellCondition) DeepCopy

func (in *CellCondition) DeepCopy() *CellCondition

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

func (*CellCondition) DeepCopyInto

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

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

type CellCurrentStatus

type CellCurrentStatus string
const (
	CellCurrentStatusUnknown CellCurrentStatus = "Unknown"

	CellCurrentStatusReady CellCurrentStatus = "Ready"

	CellCurrentStatusNotReady CellCurrentStatus = "NotReady"
)

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 {
	Gateway      Gateway      `json:"gateway"`
	Components   []Component  `json:"components"`
	TokenService TokenService `json:"sts"`
}

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.

func (*CellSpec) SetDefaults

func (cs *CellSpec) SetDefaults()

type CellStatus

type CellStatus struct {
	ComponentCount       int                               `json:"componentCount"`
	ActiveComponentCount int                               `json:"activeComponentCount"`
	GatewayServiceName   string                            `json:"gatewayServiceName"`
	Status               CellCurrentStatus                 `json:"status"`
	GatewayStatus        GatewayCurrentStatus              `json:"gatewayStatus"`
	ComponentStatuses    map[string]ComponentCurrentStatus `json:"componentStatuses"`
	// Status                  string `json:"status"`
	ObservedGeneration      int64            `json:"observedGeneration,omitempty"`
	NetworkPolicyGeneration int64            `json:"networkPolicyGeneration,omitempty"`
	SecretGeneration        int64            `json:"secretGeneration,omitempty"`
	GatewayGeneration       int64            `json:"gatewayGeneration,omitempty"`
	TokenServiceGeneration  int64            `json:"tokenServiceGeneration,omitempty"`
	RoutingVsGeneration     int64            `json:"routingVsGeneration,omitempty"`
	ComponentGenerations    map[string]int64 `json:"componentGenerations,omitempty"`
	// 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.

func (*CellStatus) SetDefaults

func (cstat *CellStatus) SetDefaults()

type ClusterIngressConfig

type ClusterIngressConfig struct {
	Host string    `json:"host,omitempty"`
	Tls  TlsConfig `json:"tls,omitempty"`
}

func (*ClusterIngressConfig) DeepCopy

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

func (*ClusterIngressConfig) DeepCopyInto

func (in *ClusterIngressConfig) DeepCopyInto(out *ClusterIngressConfig)

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

func (*ClusterIngressConfig) HasCertAndKey

func (ci *ClusterIngressConfig) HasCertAndKey() bool

func (*ClusterIngressConfig) HasSecret

func (ci *ClusterIngressConfig) HasSecret() bool

type Component

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

	Spec   ComponentSpec   `json:"spec"`
	Status ComponentStatus `json:"status"`
}

func (*Component) DeepCopy

func (in *Component) DeepCopy() *Component

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

func (*Component) DeepCopyInto

func (in *Component) DeepCopyInto(out *Component)

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

func (*Component) DeepCopyObject

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

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

func (*Component) SetDefaults

func (c *Component) SetDefaults()

type ComponentCurrentStatus

type ComponentCurrentStatus string
const (
	ComponentCurrentStatusUnknown ComponentCurrentStatus = "Unknown"

	ComponentCurrentStatusReady ComponentCurrentStatus = "Ready"

	ComponentCurrentStatusNotReady ComponentCurrentStatus = "NotReady"

	ComponentCurrentStatusIdle ComponentCurrentStatus = "Idle"
)

type ComponentList

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

func (*ComponentList) DeepCopy

func (in *ComponentList) DeepCopy() *ComponentList

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

func (*ComponentList) DeepCopyInto

func (in *ComponentList) DeepCopyInto(out *ComponentList)

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

func (*ComponentList) DeepCopyObject

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

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

type ComponentScalingPolicy

type ComponentScalingPolicy struct {
	Replicas *int32                   `json:"replicas,omitempty"`
	Hpa      *HorizontalPodAutoscaler `json:"hpa,omitempty"`
	Kpa      *KnativePodAutoscaler    `json:"kpa,omitempty"`
}

func (*ComponentScalingPolicy) DeepCopy

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

func (*ComponentScalingPolicy) DeepCopyInto

func (in *ComponentScalingPolicy) DeepCopyInto(out *ComponentScalingPolicy)

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

func (*ComponentScalingPolicy) IsHpa

func (sp *ComponentScalingPolicy) IsHpa() bool

func (*ComponentScalingPolicy) IsKpa

func (sp *ComponentScalingPolicy) IsKpa() bool

func (*ComponentScalingPolicy) MinReplicas

func (sp *ComponentScalingPolicy) MinReplicas() int32

func (*ComponentScalingPolicy) SetDefaults

func (sp *ComponentScalingPolicy) SetDefaults()

type ComponentSpec

type ComponentSpec struct {
	Type           ComponentType          `json:"type,omitempty"`
	ScalingPolicy  ComponentScalingPolicy `json:"scalingPolicy,omitempty"`
	Template       corev1.PodSpec         `json:"template,omitempty"`
	Ports          []PortMapping          `json:"ports,omitempty"`
	VolumeClaims   []VolumeClaim          `json:"volumeClaims,omitempty"`
	Configurations []corev1.ConfigMap     `json:"configurations,omitempty"`
	Secrets        []corev1.Secret        `json:"secrets,omitempty"`
}

func (*ComponentSpec) DeepCopy

func (in *ComponentSpec) DeepCopy() *ComponentSpec

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

func (*ComponentSpec) DeepCopyInto

func (in *ComponentSpec) DeepCopyInto(out *ComponentSpec)

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

func (*ComponentSpec) SetDefaults

func (cs *ComponentSpec) SetDefaults()

type ComponentStatus

type ComponentStatus struct {
	Type                             ComponentType          `json:"componentType"`
	Status                           ComponentCurrentStatus `json:"status"`
	ServiceName                      string                 `json:"serviceName"`
	AvailableReplicas                int32                  `json:"availableReplicas"`
	ObservedGeneration               int64                  `json:"observedGeneration,omitempty"`
	DeploymentGeneration             int64                  `json:"deploymentGeneration,omitempty"`
	StatefulSetGeneration            int64                  `json:"statefulSetGeneration,omitempty"`
	JobGeneration                    int64                  `json:"jobGeneration,omitempty"`
	ServiceGeneration                int64                  `json:"serviceGeneration,omitempty"`
	HpaGeneration                    int64                  `json:"hpaGeneration,omitempty"`
	ServingConfigurationGeneration   int64                  `json:"servingConfigurationGeneration,omitempty"`
	ServingVirtualServiceGeneration  int64                  `json:"servingVirtualServiceGeneration,omitempty"`
	TlsPolicyGeneration              int64                  `json:"TlsPolicyGeneration,omitempty"`
	PersistantVolumeClaimGenerations map[string]int64       `json:"persistantVolumeClaimGenerations,omitempty"`
	ConfigMapGenerations             map[string]int64       `json:"configMapGenerations,omitempty"`
	SecretGenerations                map[string]int64       `json:"secretGenerations,omitempty"`
}

func (*ComponentStatus) DeepCopy

func (in *ComponentStatus) DeepCopy() *ComponentStatus

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

func (*ComponentStatus) DeepCopyInto

func (in *ComponentStatus) DeepCopyInto(out *ComponentStatus)

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

func (*ComponentStatus) ResetServiceName

func (cs *ComponentStatus) ResetServiceName()

func (*ComponentStatus) SetDefaults

func (cstat *ComponentStatus) SetDefaults()

func (*ComponentStatus) SetType

func (cstat *ComponentStatus) SetType(t ComponentType)

type ComponentType

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

	// ServiceTypeStatefulSet is the default type which runs for the stateful services.
	ComponentTypeStatefulSet ComponentType = "StatefulSet"

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

type Composite

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

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

func (*Composite) DeepCopy

func (in *Composite) DeepCopy() *Composite

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

func (*Composite) DeepCopyInto

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

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

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

func (*Composite) SetDefaults

func (c *Composite) SetDefaults()

type CompositeCondition

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

func (*CompositeCondition) DeepCopy

func (in *CompositeCondition) DeepCopy() *CompositeCondition

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

func (*CompositeCondition) DeepCopyInto

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

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

type CompositeCurrentStatus

type CompositeCurrentStatus string
const (
	CompositeCurrentStatusUnknown CompositeCurrentStatus = "Unknown"

	CompositeCurrentStatusReady CompositeCurrentStatus = "Ready"

	CompositeCurrentStatusNotReady CompositeCurrentStatus = "NotReady"
)

type CompositeList

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

func (*CompositeList) DeepCopy

func (in *CompositeList) DeepCopy() *CompositeList

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

func (*CompositeList) DeepCopyInto

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

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

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

type CompositeSpec

type CompositeSpec struct {
	Components []Component `json:"components"`
}

func (*CompositeSpec) DeepCopy

func (in *CompositeSpec) DeepCopy() *CompositeSpec

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

func (*CompositeSpec) DeepCopyInto

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

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

func (*CompositeSpec) SetDefaults

func (cs *CompositeSpec) SetDefaults()

type CompositeStatus

type CompositeStatus struct {
	ComponentCount         int                               `json:"componentCount"`
	ActiveComponentCount   int                               `json:"activeComponentCount"`
	Status                 CompositeCurrentStatus            `json:"status"`
	ComponentStatuses      map[string]ComponentCurrentStatus `json:"componentStatuses"`
	ObservedGeneration     int64                             `json:"observedGeneration,omitempty"`
	SecretGeneration       int64                             `json:"secretGeneration,omitempty"`
	TokenServiceGeneration int64                             `json:"tokenServiceGeneration,omitempty"`
	ComponentGenerations   map[string]int64                  `json:"componentGenerations,omitempty"`
	RoutingVsGeneration    int64                             `json:"routingVsGeneration,omitempty"`
	// Current conditions of the composite.
	// +patchMergeKey=type
	// +patchStrategy=merge
	Conditions []CompositeCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type"`
}

func (*CompositeStatus) DeepCopy

func (in *CompositeStatus) DeepCopy() *CompositeStatus

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

func (*CompositeStatus) DeepCopyInto

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

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

func (*CompositeStatus) SetDefaults

func (cstat *CompositeStatus) SetDefaults()

type Destination

type Destination struct {
	Host string `json:"host,omitempty"`
	Port uint32 `json:"port,omitempty"`
}

func (*Destination) DeepCopy

func (in *Destination) DeepCopy() *Destination

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

func (*Destination) DeepCopyInto

func (in *Destination) DeepCopyInto(out *Destination)

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

type GRPCRoute

type GRPCRoute struct {
	Port        uint32      `json:"port"`
	Destination Destination `json:"destination,omitempty"`
	ZeroScale   bool        `json:"zeroScale,omitempty"`
}

func (*GRPCRoute) DeepCopy

func (in *GRPCRoute) DeepCopy() *GRPCRoute

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

func (*GRPCRoute) DeepCopyInto

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.

func (*Gateway) IsHpa

func (sp *Gateway) IsHpa() bool

func (*Gateway) MaxReplicas

func (sp *Gateway) MaxReplicas() int32

func (*Gateway) Metrics

func (sp *Gateway) Metrics() []v2beta1.MetricSpec

func (*Gateway) MinReplicas

func (sp *Gateway) MinReplicas() *int32

func (*Gateway) SetDefaults

func (g *Gateway) SetDefaults()

type GatewayCurrentStatus

type GatewayCurrentStatus string
const (
	GatewayCurrentStatusUnknown GatewayCurrentStatus = "Unknown"

	GatewayCurrentStatusReady GatewayCurrentStatus = "Ready"

	GatewayCurrentStatusNotReady GatewayCurrentStatus = "NotReady"
)

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 {
	Ingress       Ingress         `json:"ingress,omitempty"`
	ScalingPolicy GwScalingPolicy `json:"scalingPolicy,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) SetDefaults

func (gs *GatewaySpec) SetDefaults()

type GatewayStatus

type GatewayStatus struct {
	PublisherStatus                PublisherCurrentStatus `json:"gatewayType"`
	ServiceName                    string                 `json:"serviceName"`
	Status                         GatewayCurrentStatus   `json:"status"`
	AvailableReplicas              int32                  `json:"availableReplicas"`
	ObservedGeneration             int64                  `json:"observedGeneration,omitempty"`
	DeploymentGeneration           int64                  `json:"deploymentGeneration,omitempty"`
	JobGeneration                  int64                  `json:"jobGeneration,omitempty"`
	ServiceGeneration              int64                  `json:"serviceGeneration,omitempty"`
	VirtualServiceGeneration       int64                  `json:"virtualServiceGeneration,omitempty"`
	IstioGatewayGeneration         int64                  `json:"istioGatewayGeneration,omitempty"`
	ClusterIngressGeneration       int64                  `json:"clusterIngressGeneration,omitempty"`
	ClusterIngressSecretGeneration int64                  `json:"clusterIngressSecretGeneration,omitempty"`
	OidcEnvoyFilterGeneration      int64                  `json:"oidcEnvoyFilterGeneration,omitempty"`
	ConfigMapGeneration            int64                  `json:"configMapGeneration,omitempty"`
	HpaGeneration                  int64                  `json:"hpaGeneration,omitempty"`
}

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.

func (*GatewayStatus) ResetServiceName

func (gs *GatewayStatus) ResetServiceName()

func (*GatewayStatus) SetDefaults

func (gs *GatewayStatus) SetDefaults()

type GwScalingPolicy

type GwScalingPolicy struct {
	Replicas *int32                   `json:"replicas,omitempty"`
	Hpa      *HorizontalPodAutoscaler `json:"hpa,omitempty"`
}

func (*GwScalingPolicy) DeepCopy

func (in *GwScalingPolicy) DeepCopy() *GwScalingPolicy

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

func (*GwScalingPolicy) DeepCopyInto

func (in *GwScalingPolicy) DeepCopyInto(out *GwScalingPolicy)

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

func (*GwScalingPolicy) SetDefaults

func (sp *GwScalingPolicy) SetDefaults()

type HTTPRoute

type HTTPRoute struct {
	Context      string          `json:"context"`
	Version      string          `json:"version"`
	Definitions  []APIDefinition `json:"definitions"`
	Global       bool            `json:"global"`
	Authenticate bool            `json:"authenticate"`
	Port         uint32          `json:"port"`
	Destination  Destination     `json:"destination,omitempty"`
	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 HorizontalPodAutoscaler

type HorizontalPodAutoscaler struct {
	Overridable  *bool `json:"overridable"`
	ReplicaRange `json:",inline"`
	Metrics      []autoscalingV2beta1.MetricSpec `json:"metrics,omitempty"`
}

func (*HorizontalPodAutoscaler) DeepCopy

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

func (*HorizontalPodAutoscaler) DeepCopyInto

func (in *HorizontalPodAutoscaler) DeepCopyInto(out *HorizontalPodAutoscaler)

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

type Ingress

type Ingress struct {
	IngressExtensions IngressExtensions `json:"extensions,omitempty"`
	HTTPRoutes        []HTTPRoute       `json:"http,omitempty"`
	GRPCRoutes        []GRPCRoute       `json:"grpc,omitempty"`
	TCPRoutes         []TCPRoute        `json:"tcp,omitempty"`
}

func (*Ingress) DeepCopy

func (in *Ingress) DeepCopy() *Ingress

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

func (*Ingress) DeepCopyInto

func (in *Ingress) DeepCopyInto(out *Ingress)

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

func (*Ingress) HasRoutes

func (ing *Ingress) HasRoutes() bool

type IngressExtensions

type IngressExtensions struct {
	ApiPublisher   *ApiPublisherConfig   `json:"apiPublisher,omitempty"`
	ClusterIngress *ClusterIngressConfig `json:"clusterIngress,omitempty"`
	OidcConfig     *OidcConfig           `json:"oidc,omitempty"`
}

func (*IngressExtensions) DeepCopy

func (in *IngressExtensions) DeepCopy() *IngressExtensions

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

func (*IngressExtensions) DeepCopyInto

func (in *IngressExtensions) DeepCopyInto(out *IngressExtensions)

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

func (*IngressExtensions) HasApiPublisher

func (ie *IngressExtensions) HasApiPublisher() bool

func (*IngressExtensions) HasClusterIngress

func (ie *IngressExtensions) HasClusterIngress() bool

func (*IngressExtensions) HasOidc

func (ie *IngressExtensions) HasOidc() bool

type InterceptMode

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 KnativePodAutoscaler

type KnativePodAutoscaler struct {
	ReplicaRange `json:",inline"`
	Concurrency  int64             `json:"concurrency"`
	Selector     map[string]string `json:"selector,omitempty"`
}

func (*KnativePodAutoscaler) DeepCopy

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

func (*KnativePodAutoscaler) DeepCopyInto

func (in *KnativePodAutoscaler) DeepCopyInto(out *KnativePodAutoscaler)

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

type OidcConfig

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"`
	JwtIssuer      string   `json:"jwtIssuer"`
	JwtAudience    string   `json:"jwtAudience"`
	SecretName     string   `json:"secretName"`
	SecurePaths    []string `json:"securePaths,omitempty"`
	NonSecurePaths []string `json:"nonSecurePaths,omitempty"`
}

func (*OidcConfig) DeepCopy

func (in *OidcConfig) DeepCopy() *OidcConfig

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

func (*OidcConfig) DeepCopyInto

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

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

func (*OpaPolicy) DeepCopy

func (in *OpaPolicy) DeepCopy() *OpaPolicy

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

func (*OpaPolicy) DeepCopyInto

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

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

type PortMapping

type PortMapping struct {
	Name            string   `json:"name"`
	Protocol        Protocol `json:"protocol"`
	Port            int32    `json:"port"`
	TargetContainer string   `json:"targetContainer"`
	TargetPort      int32    `json:"targetPort"`
}

func (*PortMapping) DeepCopy

func (in *PortMapping) DeepCopy() *PortMapping

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

func (*PortMapping) DeepCopyInto

func (in *PortMapping) DeepCopyInto(out *PortMapping)

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

func (*PortMapping) SetDefaults

func (pm *PortMapping) SetDefaults()

type Protocol

type Protocol string
const (
	// ProtocolTCP is the TCP protocol.
	ProtocolTCP Protocol = "TCP"

	// ProtocolHTTP is the HTTP protocol.
	ProtocolHTTP Protocol = "HTTP"

	// ProtocolGRPC is the GRPC protocol.
	ProtocolGRPC Protocol = "GRPC"
)

type PublisherCurrentStatus

type PublisherCurrentStatus string
const (
	PublisherCurrentStatusUnknown PublisherCurrentStatus = "Unknown"

	PublisherCurrentStatusRunning PublisherCurrentStatus = "Running"

	PublisherCurrentStatusSucceeded PublisherCurrentStatus = "Succeeded"

	PublisherCurrentStatusFailed PublisherCurrentStatus = "Failed"
)

type ReplicaRange

type ReplicaRange struct {
	MinReplicas *int32 `json:"minReplicas,omitempty"`
	MaxReplicas int32  `json:"maxReplicas,omitempty"`
}

func (*ReplicaRange) DeepCopy

func (in *ReplicaRange) DeepCopy() *ReplicaRange

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

func (*ReplicaRange) DeepCopyInto

func (in *ReplicaRange) DeepCopyInto(out *ReplicaRange)

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"`
	Destination Destination `json:"destination,omitempty"`
}

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

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

func (*TlsConfig) DeepCopy

func (in *TlsConfig) DeepCopy() *TlsConfig

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

func (*TlsConfig) DeepCopyInto

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.

func (*TokenService) SetDefaults

func (t *TokenService) SetDefaults()

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 {
	Selector       map[string]string `json:"selector,omitempty"`
	SecretName     string            `json:"secretName,omitempty"`
	InstanceName   string            `json:"instanceName,omitempty"`
	InterceptMode  InterceptMode     `json:"interceptMode,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.

func (*TokenServiceSpec) SetDefaults

func (ts *TokenServiceSpec) SetDefaults()

type TokenServiceStatus

type TokenServiceStatus struct {
	ObservedGeneration     int64 `json:"observedGeneration,omitempty"`
	DeploymentGeneration   int64 `json:"deploymentGeneration,omitempty"`
	ServiceGeneration      int64 `json:"serviceGeneration,omitempty"`
	ConfigMapGeneration    int64 `json:"configMapGeneration,omitempty"`
	OpaConfigMapGeneration int64 `json:"opaConfigMapGeneration,omitempty"`
	EnvoyFilterGeneration  int64 `json:"envoyFilterGeneration,omitempty"`
}

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.

func (*TokenServiceStatus) SetDefaults

func (ts *TokenServiceStatus) SetDefaults()

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.

type VolumeClaim

type VolumeClaim struct {
	Shared   bool                         `json:"shared"`
	Template corev1.PersistentVolumeClaim `json:"template"`
}

func (*VolumeClaim) DeepCopy

func (in *VolumeClaim) DeepCopy() *VolumeClaim

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

func (*VolumeClaim) DeepCopyInto

func (in *VolumeClaim) DeepCopyInto(out *VolumeClaim)

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