Documentation
¶
Index ¶
- Variables
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type APIDefinition
- type ApiPublisherConfig
- type Cell
- type CellCondition
- type CellConditionType
- type CellCurrentStatus
- type CellList
- type CellSpec
- type CellStatus
- type ClusterIngressConfig
- type Component
- type ComponentCurrentStatus
- type ComponentList
- type ComponentScalingPolicy
- func (in *ComponentScalingPolicy) DeepCopy() *ComponentScalingPolicy
- func (in *ComponentScalingPolicy) DeepCopyInto(out *ComponentScalingPolicy)
- func (sp *ComponentScalingPolicy) IsHpa() bool
- func (sp *ComponentScalingPolicy) IsKpa() bool
- func (sp *ComponentScalingPolicy) MinReplicas() int32
- func (sp *ComponentScalingPolicy) SetDefaults()
- type ComponentSpec
- type ComponentStatus
- type ComponentType
- type Composite
- type CompositeCondition
- type CompositeConditionType
- type CompositeCurrentStatus
- type CompositeList
- type CompositeSpec
- type CompositeStatus
- type Destination
- type GRPCRoute
- type Gateway
- func (in *Gateway) DeepCopy() *Gateway
- func (in *Gateway) DeepCopyInto(out *Gateway)
- func (in *Gateway) DeepCopyObject() runtime.Object
- func (sp *Gateway) IsHpa() bool
- func (sp *Gateway) MaxReplicas() int32
- func (sp *Gateway) Metrics() []v2beta2.MetricSpec
- func (sp *Gateway) MinReplicas() *int32
- func (g *Gateway) SetDefaults()
- type GatewayCurrentStatus
- type GatewayList
- type GatewaySpec
- type GatewayStatus
- type GwScalingPolicy
- type HTTPRoute
- type HorizontalPodAutoscaler
- type Ingress
- type IngressExtensions
- type InterceptMode
- type KnativePodAutoscaler
- type OidcConfig
- type OpaPolicy
- type PortMapping
- type Protocol
- type PublisherCurrentStatus
- type ReplicaRange
- type TCPRoute
- type TlsConfig
- type TokenService
- type TokenServiceList
- type TokenServiceSpec
- type TokenServiceStatus
- type TokenServiceTemplateSpec
- type VolumeClaim
Constants ¶
This section is empty.
Variables ¶
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: mesh.GroupName, Version: "v1alpha2"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type APIDefinition ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cell.
func (*Cell) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Cell) DeepCopyObject ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CellList.
func (*CellList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CellList) DeepCopyObject ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CellSpec.
func (*CellSpec) DeepCopyInto ¶
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 ¶
func (in *ClusterIngressConfig) DeepCopy() *ClusterIngressConfig
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Component.
func (*Component) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Component) DeepCopyObject ¶
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 ¶
func (in *ComponentScalingPolicy) DeepCopy() *ComponentScalingPolicy
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Composite.
func (*Composite) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Composite) DeepCopyObject ¶
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 ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GRPCRoute.
func (*GRPCRoute) DeepCopyInto ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Gateway.
func (*Gateway) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Gateway) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Gateway) MaxReplicas ¶
func (*Gateway) Metrics ¶
func (sp *Gateway) Metrics() []v2beta2.MetricSpec
func (*Gateway) MinReplicas ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPRoute.
func (*HTTPRoute) DeepCopyInto ¶
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 []autoscalingV2beta2.MetricSpec `json:"metrics,omitempty"`
}
func (*HorizontalPodAutoscaler) DeepCopy ¶
func (in *HorizontalPodAutoscaler) DeepCopy() *HorizontalPodAutoscaler
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Ingress.
func (*Ingress) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
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 ¶
func (in *KnativePodAutoscaler) DeepCopy() *KnativePodAutoscaler
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpaPolicy.
func (*OpaPolicy) DeepCopyInto ¶
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 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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TCPRoute.
func (*TCPRoute) DeepCopyInto ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TlsConfig.
func (*TlsConfig) DeepCopyInto ¶
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 ¶
func (in *TokenServiceTemplateSpec) DeepCopy() *TokenServiceTemplateSpec
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 {
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.