Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the mesh v1alpha1 API group +groupName=sample.test.kuma.io
Index ¶
- Variables
- type SampleTrafficRoute
- func (in *SampleTrafficRoute) DeepCopy() *SampleTrafficRoute
- func (in *SampleTrafficRoute) DeepCopyInto(out *SampleTrafficRoute)
- func (in *SampleTrafficRoute) DeepCopyObject() runtime.Object
- func (pt *SampleTrafficRoute) GetMesh() string
- func (pt *SampleTrafficRoute) GetObjectMeta() *metav1.ObjectMeta
- func (pt *SampleTrafficRoute) GetSpec() map[string]interface{}
- func (pt *SampleTrafficRoute) Scope() model.Scope
- func (pt *SampleTrafficRoute) SetMesh(mesh string)
- func (pt *SampleTrafficRoute) SetObjectMeta(m *metav1.ObjectMeta)
- func (pt *SampleTrafficRoute) SetSpec(spec map[string]interface{})
- type SampleTrafficRouteList
- type TrafficRouteSpec
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "sample.test.kuma.io", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type SampleTrafficRoute ¶
type SampleTrafficRoute struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Mesh string `json:"mesh"` Spec TrafficRouteSpec `json:"spec,omitempty"` }
SampleTrafficRoute is the Schema for the proxytemplates API
func (*SampleTrafficRoute) DeepCopy ¶
func (in *SampleTrafficRoute) DeepCopy() *SampleTrafficRoute
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SampleTrafficRoute.
func (*SampleTrafficRoute) DeepCopyInto ¶
func (in *SampleTrafficRoute) DeepCopyInto(out *SampleTrafficRoute)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SampleTrafficRoute) DeepCopyObject ¶
func (in *SampleTrafficRoute) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*SampleTrafficRoute) GetMesh ¶
func (pt *SampleTrafficRoute) GetMesh() string
func (*SampleTrafficRoute) GetObjectMeta ¶
func (pt *SampleTrafficRoute) GetObjectMeta() *metav1.ObjectMeta
func (*SampleTrafficRoute) GetSpec ¶
func (pt *SampleTrafficRoute) GetSpec() map[string]interface{}
func (*SampleTrafficRoute) Scope ¶
func (pt *SampleTrafficRoute) Scope() model.Scope
func (*SampleTrafficRoute) SetMesh ¶
func (pt *SampleTrafficRoute) SetMesh(mesh string)
func (*SampleTrafficRoute) SetObjectMeta ¶
func (pt *SampleTrafficRoute) SetObjectMeta(m *metav1.ObjectMeta)
func (*SampleTrafficRoute) SetSpec ¶
func (pt *SampleTrafficRoute) SetSpec(spec map[string]interface{})
type SampleTrafficRouteList ¶
type SampleTrafficRouteList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []SampleTrafficRoute `json:"items"` }
SampleTrafficRouteList contains a list of SampleTrafficRoute
func (*SampleTrafficRouteList) DeepCopy ¶
func (in *SampleTrafficRouteList) DeepCopy() *SampleTrafficRouteList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SampleTrafficRouteList.
func (*SampleTrafficRouteList) DeepCopyInto ¶
func (in *SampleTrafficRouteList) DeepCopyInto(out *SampleTrafficRouteList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SampleTrafficRouteList) DeepCopyObject ¶
func (in *SampleTrafficRouteList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*SampleTrafficRouteList) GetItems ¶
func (l *SampleTrafficRouteList) GetItems() []model.KubernetesObject
type TrafficRouteSpec ¶
type TrafficRouteSpec = map[string]interface{}
TrafficRouteSpec defines the desired state of SampleTrafficRoute