Documentation
¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the mesh v1alpha1 API group +groupName=kuma.io
Index ¶
- Variables
- type MeshMetric
- func (in *MeshMetric) DeepCopy() *MeshMetric
- func (in *MeshMetric) DeepCopyInto(out *MeshMetric)
- func (in *MeshMetric) DeepCopyObject() runtime.Object
- func (cb *MeshMetric) GetMesh() string
- func (cb *MeshMetric) GetObjectMeta() *metav1.ObjectMeta
- func (cb *MeshMetric) GetSpec() (core_model.ResourceSpec, error)
- func (cb *MeshMetric) GetStatus() (core_model.ResourceStatus, error)
- func (cb *MeshMetric) Scope() model.Scope
- func (cb *MeshMetric) SetMesh(mesh string)
- func (cb *MeshMetric) SetObjectMeta(m *metav1.ObjectMeta)
- func (cb *MeshMetric) SetSpec(spec core_model.ResourceSpec)
- func (cb *MeshMetric) SetStatus(status core_model.ResourceStatus) error
- type MeshMetricList
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "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 MeshMetric ¶
type MeshMetric struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
// Spec is the specification of the Kuma MeshMetric resource.
// +kubebuilder:validation:Optional
Spec *policy.MeshMetric `json:"spec,omitempty"`
}
+kubebuilder:object:root=true +kubebuilder:resource:categories=kuma,scope=Namespaced,shortName=mm +kubebuilder:printcolumn:name="TargetRef Kind",type="string",JSONPath=".spec.targetRef.kind" +kubebuilder:printcolumn:name="TargetRef Name",type="string",JSONPath=".spec.targetRef.name"
func (*MeshMetric) DeepCopy ¶
func (in *MeshMetric) DeepCopy() *MeshMetric
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MeshMetric.
func (*MeshMetric) DeepCopyInto ¶
func (in *MeshMetric) DeepCopyInto(out *MeshMetric)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MeshMetric) DeepCopyObject ¶
func (in *MeshMetric) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*MeshMetric) GetMesh ¶
func (cb *MeshMetric) GetMesh() string
func (*MeshMetric) GetObjectMeta ¶
func (cb *MeshMetric) GetObjectMeta() *metav1.ObjectMeta
func (*MeshMetric) GetSpec ¶
func (cb *MeshMetric) GetSpec() (core_model.ResourceSpec, error)
func (*MeshMetric) GetStatus ¶
func (cb *MeshMetric) GetStatus() (core_model.ResourceStatus, error)
func (*MeshMetric) Scope ¶
func (cb *MeshMetric) Scope() model.Scope
func (*MeshMetric) SetMesh ¶
func (cb *MeshMetric) SetMesh(mesh string)
func (*MeshMetric) SetObjectMeta ¶
func (cb *MeshMetric) SetObjectMeta(m *metav1.ObjectMeta)
func (*MeshMetric) SetSpec ¶
func (cb *MeshMetric) SetSpec(spec core_model.ResourceSpec)
func (*MeshMetric) SetStatus ¶
func (cb *MeshMetric) SetStatus(status core_model.ResourceStatus) error
type MeshMetricList ¶
type MeshMetricList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []MeshMetric `json:"items"`
}
+kubebuilder:object:root=true +kubebuilder:resource:scope=Namespaced
func (*MeshMetricList) DeepCopy ¶
func (in *MeshMetricList) DeepCopy() *MeshMetricList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MeshMetricList.
func (*MeshMetricList) DeepCopyInto ¶
func (in *MeshMetricList) DeepCopyInto(out *MeshMetricList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MeshMetricList) DeepCopyObject ¶
func (in *MeshMetricList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*MeshMetricList) GetItems ¶
func (l *MeshMetricList) GetItems() []model.KubernetesObject