objectmetamodel

package
v1.1.6 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2023 License: MPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type VmwareTanzuCoreV1alpha1ObjectMeta

type VmwareTanzuCoreV1alpha1ObjectMeta struct {

	// Annotations for the object. Annotations hold system level information provisioned by controllers.
	Annotations map[string]string `json:"annotations,omitempty"`

	// Creation time of the object.
	// Format: date-time
	CreationTime strfmt.DateTime `json:"creationTime,omitempty"`

	// Description of the resource.
	Description string `json:"description,omitempty"`

	// Generation of the resource as specified by the user, increments on changes.
	Generation string `json:"generation,omitempty"`

	// Labels to apply to the object.
	Labels map[string]string `json:"labels,omitempty"`

	// Hard object references to parents of this resource.
	ParentReferences []*VmwareTanzuCoreV1alpha1ObjectReference `json:"parentReferences"`

	// A string that identifies the internal version of this object that can be used by clients to
	// determine when objects have changed. This value MUST be treated as opaque by clients and
	// passed unmodified back to the server.
	ResourceVersion string `json:"resourceVersion,omitempty"`

	// UID for the object.
	UID string `json:"uid,omitempty"`

	// Update time of the object.
	// Format: date-time
	UpdateTime strfmt.DateTime `json:"updateTime,omitempty"`
}

VmwareTanzuCoreV1alpha1ObjectMeta Holds general shared object metadatas.

swagger:model vmware.tanzu.core.v1alpha1.object.Meta

func (*VmwareTanzuCoreV1alpha1ObjectMeta) MarshalBinary

func (m *VmwareTanzuCoreV1alpha1ObjectMeta) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation.

func (*VmwareTanzuCoreV1alpha1ObjectMeta) UnmarshalBinary

func (m *VmwareTanzuCoreV1alpha1ObjectMeta) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation.

type VmwareTanzuCoreV1alpha1ObjectReference

type VmwareTanzuCoreV1alpha1ObjectReference struct {

	// RID for the object.
	Rid string `json:"rid,omitempty"`

	// UID for the object.
	UID string `json:"uid,omitempty"`
}

VmwareTanzuCoreV1alpha1ObjectReference Reference references a foreign resource.

swagger:model vmware.tanzu.core.v1alpha1.object.Reference

func (*VmwareTanzuCoreV1alpha1ObjectReference) ContextValidate

ContextValidate validates this vmware tanzu core v1alpha1 object reference based on context it is used.

func (*VmwareTanzuCoreV1alpha1ObjectReference) MarshalBinary

func (m *VmwareTanzuCoreV1alpha1ObjectReference) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation.

func (*VmwareTanzuCoreV1alpha1ObjectReference) UnmarshalBinary

func (m *VmwareTanzuCoreV1alpha1ObjectReference) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation.

func (*VmwareTanzuCoreV1alpha1ObjectReference) Validate

Validate validates this vmware tanzu core v1alpha1 object reference.

type VmwareTanzuCoreV1alpha1ObjectType added in v1.1.4

type VmwareTanzuCoreV1alpha1ObjectType struct {

	// Kind of the type.
	Kind string `json:"kind,omitempty"`

	// Package of the type.
	Package string `json:"package,omitempty"`

	// Version of the type.
	Version string `json:"version,omitempty"`
}

VmwareTanzuCoreV1alpha1ObjectType Holds general type metadatas.

swagger:model vmware.tanzu.core.v1alpha1.object.Type

func (*VmwareTanzuCoreV1alpha1ObjectType) MarshalBinary added in v1.1.4

func (m *VmwareTanzuCoreV1alpha1ObjectType) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation.

func (*VmwareTanzuCoreV1alpha1ObjectType) UnmarshalBinary added in v1.1.4

func (m *VmwareTanzuCoreV1alpha1ObjectType) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation.

Jump to

Keyboard shortcuts

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