Documentation
¶
Index ¶
- Variables
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type APIDefinition
- type AutoscalePolicy
- type AutoscalePolicyList
- type AutoscalePolicySpec
- type Cell
- type CellCondition
- type CellConditionType
- type CellList
- type CellSpec
- type CellStatus
- type Gateway
- type GatewayList
- type GatewaySpec
- type GatewayStatus
- type GatewayTemplateSpec
- type GatewayType
- type HTTPRoute
- type InterceptMode
- type OidcConfig
- type OpaPolicy
- type Policy
- type Service
- type ServiceList
- type ServiceSpec
- type ServiceStatus
- type ServiceTemplateSpec
- type TCPRoute
- type TokenService
- type TokenServiceList
- type TokenServiceSpec
- type TokenServiceStatus
- type TokenServiceTemplateSpec
Constants ¶
This section is empty.
Variables ¶
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: mesh.GroupName, Version: "v1alpha1"}
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 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,omitempty"` 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 ¶
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.
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 ¶
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 { GatewayTemplate GatewayTemplateSpec `json:"gatewayTemplate"` ServiceTemplates []ServiceTemplateSpec `json:"servicesTemplates"` TokenServiceTemplate TokenServiceTemplateSpec `json:"stsTemplate"` }
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.
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 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.
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"` TlsSecret string `json:"tlsSecret,omitempty"` OidcConfig *OidcConfig `json:"oidc,omitempty"` HTTPRoutes []HTTPRoute `json:"http,omitempty"` TCPRoutes []TCPRoute `json:"tcp,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.
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"` }
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 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" )
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
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpaPolicy.
func (*OpaPolicy) DeepCopyInto ¶ added in v0.2.0
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"` }
func (*Policy) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Policy.
func (*Policy) DeepCopyInto ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Service.
func (*Service) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Service) DeepCopyObject ¶
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"` }
func (*ServiceSpec) DeepCopy ¶
func (in *ServiceSpec) DeepCopy() *ServiceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceSpec.
func (*ServiceSpec) DeepCopyInto ¶
func (in *ServiceSpec) DeepCopyInto(out *ServiceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceStatus ¶
type ServiceStatus struct { OwnerCell string `json:"ownerCell"` AvailableReplicas int32 `json:"availableReplicas"` HostName string `json:"hostname"` }
func (*ServiceStatus) DeepCopy ¶
func (in *ServiceStatus) DeepCopy() *ServiceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceStatus.
func (*ServiceStatus) DeepCopyInto ¶
func (in *ServiceStatus) DeepCopyInto(out *ServiceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceTemplateSpec ¶
type ServiceTemplateSpec struct { metav1.ObjectMeta `json:"metadata,omitempty"` Spec ServiceSpec `json:"spec,omitempty"` }
ServiceTemplateSpec describes the data a service should have when created from a template
func (*ServiceTemplateSpec) DeepCopy ¶
func (in *ServiceTemplateSpec) DeepCopy() *ServiceTemplateSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceTemplateSpec.
func (*ServiceTemplateSpec) DeepCopyInto ¶
func (in *ServiceTemplateSpec) DeepCopyInto(out *ServiceTemplateSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TCPRoute ¶
type TCPRoute struct { Port uint32 `json:"port"` BackendHost string `json:"backendHost"` BackendPort uint32 `json:"backendPort"` }
func (*TCPRoute) DeepCopy ¶
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 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"` 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 ¶
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.