Documentation ¶
Index ¶
Constants ¶
const ( CRDGroup string = "contivtelemetry.vpp" CRDGroupVersion string = "v1" CRDContivTelemetryReport string = "contivtelemetryreport" CRDContivTelemetryReportPlural string = "contivtelemetryreports" CRDFullContivTelemetryReportsName string = CRDContivTelemetryReportPlural + "." + CRDGroup )
CRD Constants
Variables ¶
var ( // SchemeGroupVersion defines the group version SchemeGroupVersion = schema.GroupVersion{Group: contivtelemetry.GroupName, Version: "v1"} // SchemeBuilder is the schema builder for the CRD API SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) // AddToScheme is... AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type ContivTelemetryReport ¶
type ContivTelemetryReport struct { // TypeMeta is the metadata for the resource, like kind and apiversion metav1.TypeMeta `json:",inline"` // ObjectMeta contains the metadata for the particular object metav1.ObjectMeta `json:"metadata,omitempty"` // Spec is the custom resource spec Spec ContivTelemetryReportSpec `json:"spec,omitempty"` Status ContivTelemetryReportStatus `json:"status,omitempty"` }
ContivTelemetryReport describes contiv telemetry custom resource +genclient +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*ContivTelemetryReport) DeepCopy ¶
func (in *ContivTelemetryReport) DeepCopy() *ContivTelemetryReport
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContivTelemetryReport.
func (*ContivTelemetryReport) DeepCopyInto ¶
func (in *ContivTelemetryReport) DeepCopyInto(out *ContivTelemetryReport)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ContivTelemetryReport) DeepCopyObject ¶
func (in *ContivTelemetryReport) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ContivTelemetryReportList ¶
type ContivTelemetryReportList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []ContivTelemetryReport `json:"items"` }
ContivTelemetryReportList is a list of ContivTelemetryReport resource +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*ContivTelemetryReportList) DeepCopy ¶
func (in *ContivTelemetryReportList) DeepCopy() *ContivTelemetryReportList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContivTelemetryReportList.
func (*ContivTelemetryReportList) DeepCopyInto ¶
func (in *ContivTelemetryReportList) DeepCopyInto(out *ContivTelemetryReportList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ContivTelemetryReportList) DeepCopyObject ¶
func (in *ContivTelemetryReportList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ContivTelemetryReportSpec ¶
type ContivTelemetryReportSpec struct {
ReportPollingPeriodSeconds uint32 `json:"report_polling_period_seconds"`
}
ContivTelemetryReportSpec is the spec for the contiv telemetry resource
func (*ContivTelemetryReportSpec) DeepCopy ¶
func (in *ContivTelemetryReportSpec) DeepCopy() *ContivTelemetryReportSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContivTelemetryReportSpec.
func (*ContivTelemetryReportSpec) DeepCopyInto ¶
func (in *ContivTelemetryReportSpec) DeepCopyInto(out *ContivTelemetryReportSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ContivTelemetryReportStatus ¶
type ContivTelemetryReportStatus struct { Nodes []telemetrymodel.Node `json:"nodes"` Reports telemetrymodel.Reports `json:"reports"` }
ContivTelemetryReportStatus is the state for the contiv telemetry report
func (*ContivTelemetryReportStatus) DeepCopy ¶
func (in *ContivTelemetryReportStatus) DeepCopy() *ContivTelemetryReportStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContivTelemetryReportStatus.
func (*ContivTelemetryReportStatus) DeepCopyInto ¶
func (in *ContivTelemetryReportStatus) DeepCopyInto(out *ContivTelemetryReportStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.