v1

package
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 28, 2018 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CRDGroup                          string = "contivtelemetry.vpp"
	CRDGroupVersion                   string = "v1"
	CRDContivTelemetryReport          string = "contivtelemetryreport"
	CRDContivTelemetryReportPlural    string = "contivtelemetryreports"
	CRDFullContivTelemetryReportsName string = CRDContivTelemetryReportPlural + "." + CRDGroup
)

CRD Constants

Variables

View Source
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 Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns back a Group qualified GroupKind

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

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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContivTelemetryReportList.

func (*ContivTelemetryReportList) DeepCopyInto

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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContivTelemetryReportSpec.

func (*ContivTelemetryReportSpec) DeepCopyInto

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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContivTelemetryReportStatus.

func (*ContivTelemetryReportStatus) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL