Documentation
¶
Index ¶
- Variables
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type APIDefinition
- type AutoscalingSpec
- type Cell
- type CellList
- type CellSpec
- type CellStatus
- type Gateway
- type GatewayList
- type GatewaySpec
- type GatewayStatus
- type GatewayTemplateSpec
- type HTTPRoute
- 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 AutoscalingSpec ¶
type AutoscalingSpec struct {
Overridable bool `json:"overridable,omitempty"`
Policy Policy `json:"policy"`
}
func (*AutoscalingSpec) DeepCopy ¶
func (in *AutoscalingSpec) DeepCopy() *AutoscalingSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AutoscalingSpec.
func (*AutoscalingSpec) DeepCopyInto ¶
func (in *AutoscalingSpec) DeepCopyInto(out *AutoscalingSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Cell ¶
type Cell struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec CellSpec `json:"spec"`
Status CellStatus `json:"status"`
}
func (*Cell) DeepCopy ¶
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 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"`
}
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"`
}
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 ¶
func (*GatewaySpec) DeepCopy ¶
func (in *GatewaySpec) DeepCopy() *GatewaySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewaySpec.
func (*GatewaySpec) DeepCopyInto ¶
func (in *GatewaySpec) DeepCopyInto(out *GatewaySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GatewayStatus ¶
type GatewayStatus struct {
OwnerCell string `json:"ownerCell"`
HostName string `json:"hostname"`
Status string `json:"status"`
}
func (*GatewayStatus) DeepCopy ¶
func (in *GatewayStatus) DeepCopy() *GatewayStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayStatus.
func (*GatewayStatus) DeepCopyInto ¶
func (in *GatewayStatus) DeepCopyInto(out *GatewayStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GatewayTemplateSpec ¶
type GatewayTemplateSpec struct {
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec GatewaySpec `json:"spec,omitempty"`
}
func (*GatewayTemplateSpec) DeepCopy ¶
func (in *GatewayTemplateSpec) DeepCopy() *GatewayTemplateSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayTemplateSpec.
func (*GatewayTemplateSpec) DeepCopyInto ¶
func (in *GatewayTemplateSpec) DeepCopyInto(out *GatewayTemplateSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HTTPRoute ¶
type HTTPRoute struct {
Context string `json:"context"`
Definitions []APIDefinition `json:"definitions"`
Backend string `json:"backend"`
Global bool `json:"global"`
}
func (*HTTPRoute) DeepCopy ¶
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 Policy ¶
type Policy struct {
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 *AutoscalingSpec `json:"autoscaling"`
}
func (*ServiceSpec) DeepCopy ¶
func (in *ServiceSpec) DeepCopy() *ServiceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceSpec.
func (*ServiceSpec) DeepCopyInto ¶
func (in *ServiceSpec) DeepCopyInto(out *ServiceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceStatus ¶
type ServiceStatus struct {
OwnerCell string `json:"ownerCell"`
AvailableReplicas int32 `json:"availableReplicas"`
HostName string `json:"hostname"`
}
func (*ServiceStatus) DeepCopy ¶
func (in *ServiceStatus) DeepCopy() *ServiceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceStatus.
func (*ServiceStatus) DeepCopyInto ¶
func (in *ServiceStatus) DeepCopyInto(out *ServiceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceTemplateSpec ¶
type ServiceTemplateSpec struct {
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec ServiceSpec `json:"spec,omitempty"`
}
ServiceTemplateSpec describes the data a service should have when created from a template
func (*ServiceTemplateSpec) DeepCopy ¶
func (in *ServiceTemplateSpec) DeepCopy() *ServiceTemplateSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceTemplateSpec.
func (*ServiceTemplateSpec) DeepCopyInto ¶
func (in *ServiceTemplateSpec) DeepCopyInto(out *ServiceTemplateSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TCPRoute ¶
type TCPRoute struct {
Port uint32 `json:"port"`
BackendHost string `json:"backendHost"`
BackendPort uint32 `json:"backendPort"`
}
func (*TCPRoute) DeepCopy ¶
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 {
}
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.