metav1beta

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2024 License: MPL-2.0 Imports: 25 Imported by: 0

Documentation

Overview

Code generated by protoc-gen-api. DO NOT EDIT.

Code generated by protoc-gen-api. DO NOT EDIT.

Code generated by protoc-gen-api. DO NOT EDIT.

Code generated by protoc-gen-api. DO NOT EDIT.

Index

Constants

View Source
const KindDeleteOptions = "DeleteOptions"
View Source
const KindGetOptions = "GetOptions"
View Source
const KindListMeta = "ListMeta"
View Source
const KindListOptions = "ListOptions"
View Source
const KindObjectMeta = "ObjectMeta"
View Source
const KindOrganisationedObjectMeta = "OrganisationedObjectMeta"
View Source
const KindPatchOptions = "PatchOptions"
View Source
const KindTypeMeta = "TypeMeta"
View Source
const KindUnstructuredObject = "UnstructuredObject"
View Source
const KindWatchEvent = "WatchEvent"
View Source
const KindWatchOptions = "WatchOptions"

Variables

View Source
var (
	WatchEvent_Type_name = map[int32]string{
		0: "UNKNOWN",
		1: "ADD",
		2: "DELETE",
		3: "UPDATE",
	}
	WatchEvent_Type_value = map[string]int32{
		"UNKNOWN": 0,
		"ADD":     1,
		"DELETE":  2,
		"UPDATE":  3,
	}
)

Enum value maps for WatchEvent_Type.

View Source
var File_lib_proto_meta_v1beta_meta_proto protoreflect.FileDescriptor
View Source
var GroupVersion = runtime.GroupVersion{
	Group:   "meta",
	Version: "v1beta",
}

Functions

This section is empty.

Types

type Client

type Client interface {
}

Client aggregate all gRPC services' clients

func NewGRPCClient

func NewGRPCClient(conn *grpc.ClientConn) Client

type DeleteOptions

type DeleteOptions struct {

	// namespace is the namespace scope of the request
	Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// name is the name of the ressource
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

DeleteOptions are query options for the Delete methods

func (*DeleteOptions) Descriptor deprecated

func (*DeleteOptions) Descriptor() ([]byte, []int)

Deprecated: Use DeleteOptions.ProtoReflect.Descriptor instead.

func (*DeleteOptions) GetCollectionName

func (o *DeleteOptions) GetCollectionName() string

func (*DeleteOptions) GetName

func (x *DeleteOptions) GetName() string

func (*DeleteOptions) GetNamespace

func (x *DeleteOptions) GetNamespace() string

func (*DeleteOptions) ProtoMessage

func (*DeleteOptions) ProtoMessage()

func (*DeleteOptions) ProtoReflect

func (x *DeleteOptions) ProtoReflect() protoreflect.Message

func (*DeleteOptions) Reset

func (x *DeleteOptions) Reset()

func (*DeleteOptions) String

func (x *DeleteOptions) String() string

func (*DeleteOptions) Validate

func (m *DeleteOptions) Validate() error

Validate checks the field values on DeleteOptions with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DeleteOptions) ValidateAll

func (m *DeleteOptions) ValidateAll() error

ValidateAll checks the field values on DeleteOptions with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteOptionsMultiError, or nil if none found.

type DeleteOptionsMultiError

type DeleteOptionsMultiError []error

DeleteOptionsMultiError is an error wrapping multiple validation errors returned by DeleteOptions.ValidateAll() if the designated constraints aren't met.

func (DeleteOptionsMultiError) AllErrors

func (m DeleteOptionsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteOptionsMultiError) Error

func (m DeleteOptionsMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type DeleteOptionsResourceModel

type DeleteOptionsResourceModel struct {
	Namespace string `tfsdk:"namespace"`
	Name      string `tfsdk:"name"`
}

func (*DeleteOptionsResourceModel) FromProto

func (m *DeleteOptionsResourceModel) FromProto(r *DeleteOptions) (err error)

FromProto imports field values from protobuf message

type DeleteOptionsResourceTFModel

type DeleteOptionsResourceTFModel struct {
	Namespace types.String `tfsdk:"namespace"`
	Name      types.String `tfsdk:"name"`
}

func (*DeleteOptionsResourceTFModel) ToProto

ToProto converts the model to the corresponding protobuf struct

type DeleteOptionsValidationError

type DeleteOptionsValidationError struct {
	// contains filtered or unexported fields
}

DeleteOptionsValidationError is the validation error returned by DeleteOptions.Validate if the designated constraints aren't met.

func (DeleteOptionsValidationError) Cause

Cause function returns cause value.

func (DeleteOptionsValidationError) Error

Error satisfies the builtin error interface

func (DeleteOptionsValidationError) ErrorName

func (e DeleteOptionsValidationError) ErrorName() string

ErrorName returns error name.

func (DeleteOptionsValidationError) Field

Field function returns field value.

func (DeleteOptionsValidationError) Key

Key function returns key value.

func (DeleteOptionsValidationError) Reason

Reason function returns reason value.

type GetOptions

type GetOptions struct {

	// namespace is the namespace scope of the request
	Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// name is the name of the ressource
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

GetOptions are query options for the Get methods

func (*GetOptions) Descriptor deprecated

func (*GetOptions) Descriptor() ([]byte, []int)

Deprecated: Use GetOptions.ProtoReflect.Descriptor instead.

func (*GetOptions) GetCollectionName

func (o *GetOptions) GetCollectionName() string

func (*GetOptions) GetName

func (x *GetOptions) GetName() string

func (*GetOptions) GetNamespace

func (x *GetOptions) GetNamespace() string

func (*GetOptions) ProtoMessage

func (*GetOptions) ProtoMessage()

func (*GetOptions) ProtoReflect

func (x *GetOptions) ProtoReflect() protoreflect.Message

func (*GetOptions) Reset

func (x *GetOptions) Reset()

func (*GetOptions) String

func (x *GetOptions) String() string

func (*GetOptions) Validate

func (m *GetOptions) Validate() error

Validate checks the field values on GetOptions with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetOptions) ValidateAll

func (m *GetOptions) ValidateAll() error

ValidateAll checks the field values on GetOptions with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetOptionsMultiError, or nil if none found.

type GetOptionsMultiError

type GetOptionsMultiError []error

GetOptionsMultiError is an error wrapping multiple validation errors returned by GetOptions.ValidateAll() if the designated constraints aren't met.

func (GetOptionsMultiError) AllErrors

func (m GetOptionsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetOptionsMultiError) Error

func (m GetOptionsMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type GetOptionsResourceModel

type GetOptionsResourceModel struct {
	Namespace string `tfsdk:"namespace"`
	Name      string `tfsdk:"name"`
}

func (*GetOptionsResourceModel) FromProto

func (m *GetOptionsResourceModel) FromProto(r *GetOptions) (err error)

FromProto imports field values from protobuf message

type GetOptionsResourceTFModel

type GetOptionsResourceTFModel struct {
	Namespace types.String `tfsdk:"namespace"`
	Name      types.String `tfsdk:"name"`
}

func (*GetOptionsResourceTFModel) ToProto

ToProto converts the model to the corresponding protobuf struct

type GetOptionsValidationError

type GetOptionsValidationError struct {
	// contains filtered or unexported fields
}

GetOptionsValidationError is the validation error returned by GetOptions.Validate if the designated constraints aren't met.

func (GetOptionsValidationError) Cause

func (e GetOptionsValidationError) Cause() error

Cause function returns cause value.

func (GetOptionsValidationError) Error

Error satisfies the builtin error interface

func (GetOptionsValidationError) ErrorName

func (e GetOptionsValidationError) ErrorName() string

ErrorName returns error name.

func (GetOptionsValidationError) Field

Field function returns field value.

func (GetOptionsValidationError) Key

Key function returns key value.

func (GetOptionsValidationError) Reason

func (e GetOptionsValidationError) Reason() string

Reason function returns reason value.

type ListMeta

type ListMeta struct {
	// contains filtered or unexported fields
}

func (*ListMeta) Descriptor deprecated

func (*ListMeta) Descriptor() ([]byte, []int)

Deprecated: Use ListMeta.ProtoReflect.Descriptor instead.

func (*ListMeta) ProtoMessage

func (*ListMeta) ProtoMessage()

func (*ListMeta) ProtoReflect

func (x *ListMeta) ProtoReflect() protoreflect.Message

func (*ListMeta) Reset

func (x *ListMeta) Reset()

func (*ListMeta) String

func (x *ListMeta) String() string

func (*ListMeta) Validate

func (m *ListMeta) Validate() error

Validate checks the field values on ListMeta with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListMeta) ValidateAll

func (m *ListMeta) ValidateAll() error

ValidateAll checks the field values on ListMeta with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListMetaMultiError, or nil if none found.

type ListMetaMultiError

type ListMetaMultiError []error

ListMetaMultiError is an error wrapping multiple validation errors returned by ListMeta.ValidateAll() if the designated constraints aren't met.

func (ListMetaMultiError) AllErrors

func (m ListMetaMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListMetaMultiError) Error

func (m ListMetaMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type ListMetaResourceModel

type ListMetaResourceModel struct {
}

func (*ListMetaResourceModel) FromProto

func (m *ListMetaResourceModel) FromProto(r *ListMeta) (err error)

FromProto imports field values from protobuf message

type ListMetaResourceTFModel

type ListMetaResourceTFModel struct {
}

func (*ListMetaResourceTFModel) ToProto

ToProto converts the model to the corresponding protobuf struct

type ListMetaValidationError

type ListMetaValidationError struct {
	// contains filtered or unexported fields
}

ListMetaValidationError is the validation error returned by ListMeta.Validate if the designated constraints aren't met.

func (ListMetaValidationError) Cause

func (e ListMetaValidationError) Cause() error

Cause function returns cause value.

func (ListMetaValidationError) Error

func (e ListMetaValidationError) Error() string

Error satisfies the builtin error interface

func (ListMetaValidationError) ErrorName

func (e ListMetaValidationError) ErrorName() string

ErrorName returns error name.

func (ListMetaValidationError) Field

func (e ListMetaValidationError) Field() string

Field function returns field value.

func (ListMetaValidationError) Key

func (e ListMetaValidationError) Key() bool

Key function returns key value.

func (ListMetaValidationError) Reason

func (e ListMetaValidationError) Reason() string

Reason function returns reason value.

type ListOptions

type ListOptions struct {

	// namespace is the namespace scope of the request
	Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// contains filtered or unexported fields
}

ListOptions are query options for the List methods

func (*ListOptions) Descriptor deprecated

func (*ListOptions) Descriptor() ([]byte, []int)

Deprecated: Use ListOptions.ProtoReflect.Descriptor instead.

func (*ListOptions) GetCollectionName

func (o *ListOptions) GetCollectionName() string

func (*ListOptions) GetNamespace

func (x *ListOptions) GetNamespace() string

func (*ListOptions) ProtoMessage

func (*ListOptions) ProtoMessage()

func (*ListOptions) ProtoReflect

func (x *ListOptions) ProtoReflect() protoreflect.Message

func (*ListOptions) Reset

func (x *ListOptions) Reset()

func (*ListOptions) String

func (x *ListOptions) String() string

func (*ListOptions) Validate

func (m *ListOptions) Validate() error

Validate checks the field values on ListOptions with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListOptions) ValidateAll

func (m *ListOptions) ValidateAll() error

ValidateAll checks the field values on ListOptions with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListOptionsMultiError, or nil if none found.

type ListOptionsMultiError

type ListOptionsMultiError []error

ListOptionsMultiError is an error wrapping multiple validation errors returned by ListOptions.ValidateAll() if the designated constraints aren't met.

func (ListOptionsMultiError) AllErrors

func (m ListOptionsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListOptionsMultiError) Error

func (m ListOptionsMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type ListOptionsResourceModel

type ListOptionsResourceModel struct {
	Namespace string `tfsdk:"namespace"`
}

func (*ListOptionsResourceModel) FromProto

func (m *ListOptionsResourceModel) FromProto(r *ListOptions) (err error)

FromProto imports field values from protobuf message

type ListOptionsResourceTFModel

type ListOptionsResourceTFModel struct {
	Namespace types.String `tfsdk:"namespace"`
}

func (*ListOptionsResourceTFModel) ToProto

ToProto converts the model to the corresponding protobuf struct

type ListOptionsValidationError

type ListOptionsValidationError struct {
	// contains filtered or unexported fields
}

ListOptionsValidationError is the validation error returned by ListOptions.Validate if the designated constraints aren't met.

func (ListOptionsValidationError) Cause

Cause function returns cause value.

func (ListOptionsValidationError) Error

Error satisfies the builtin error interface

func (ListOptionsValidationError) ErrorName

func (e ListOptionsValidationError) ErrorName() string

ErrorName returns error name.

func (ListOptionsValidationError) Field

Field function returns field value.

func (ListOptionsValidationError) Key

Key function returns key value.

func (ListOptionsValidationError) Reason

Reason function returns reason value.

type ObjectMeta

type ObjectMeta struct {
	Name      string                 `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Namespace string                 `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Created   *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created,proto3" json:"created,omitempty"`
	Updated   *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=updated,proto3" json:"updated,omitempty"`
	Version   int64                  `protobuf:"varint,5,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

func (*ObjectMeta) Descriptor deprecated

func (*ObjectMeta) Descriptor() ([]byte, []int)

Deprecated: Use ObjectMeta.ProtoReflect.Descriptor instead.

func (*ObjectMeta) GetCollectionName

func (m *ObjectMeta) GetCollectionName() string

func (*ObjectMeta) GetCollectionType

func (m *ObjectMeta) GetCollectionType() string

func (*ObjectMeta) GetCreated

func (x *ObjectMeta) GetCreated() *timestamppb.Timestamp

func (*ObjectMeta) GetName

func (x *ObjectMeta) GetName() string

func (*ObjectMeta) GetNamespace

func (x *ObjectMeta) GetNamespace() string

func (*ObjectMeta) GetUpdated

func (x *ObjectMeta) GetUpdated() *timestamppb.Timestamp

func (*ObjectMeta) GetVersion

func (x *ObjectMeta) GetVersion() int64

func (*ObjectMeta) ProtoMessage

func (*ObjectMeta) ProtoMessage()

func (*ObjectMeta) ProtoReflect

func (x *ObjectMeta) ProtoReflect() protoreflect.Message

func (*ObjectMeta) Reset

func (x *ObjectMeta) Reset()

func (*ObjectMeta) String

func (x *ObjectMeta) String() string

func (*ObjectMeta) Validate

func (m *ObjectMeta) Validate() error

Validate checks the field values on ObjectMeta with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ObjectMeta) ValidateAll

func (m *ObjectMeta) ValidateAll() error

ValidateAll checks the field values on ObjectMeta with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ObjectMetaMultiError, or nil if none found.

type ObjectMetaMultiError

type ObjectMetaMultiError []error

ObjectMetaMultiError is an error wrapping multiple validation errors returned by ObjectMeta.ValidateAll() if the designated constraints aren't met.

func (ObjectMetaMultiError) AllErrors

func (m ObjectMetaMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ObjectMetaMultiError) Error

func (m ObjectMetaMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type ObjectMetaResourceModel

type ObjectMetaResourceModel struct {
	Name      string      `tfsdk:"name"`
	Namespace string      `tfsdk:"namespace"`
	Created   types.Int64 `tfsdk:"created"`
	Updated   types.Int64 `tfsdk:"updated"`
	Version   int64       `tfsdk:"version"`
}

func (*ObjectMetaResourceModel) FromProto

func (m *ObjectMetaResourceModel) FromProto(r *ObjectMeta) (err error)

FromProto imports field values from protobuf message

type ObjectMetaResourceTFModel

type ObjectMetaResourceTFModel struct {
	Name      types.String `tfsdk:"name"`
	Namespace types.String `tfsdk:"namespace"`
	Created   types.Int64  `tfsdk:"created"`
	Updated   types.Int64  `tfsdk:"updated"`
	Version   types.Int64  `tfsdk:"version"`
}

func (*ObjectMetaResourceTFModel) ToProto

ToProto converts the model to the corresponding protobuf struct

type ObjectMetaValidationError

type ObjectMetaValidationError struct {
	// contains filtered or unexported fields
}

ObjectMetaValidationError is the validation error returned by ObjectMeta.Validate if the designated constraints aren't met.

func (ObjectMetaValidationError) Cause

func (e ObjectMetaValidationError) Cause() error

Cause function returns cause value.

func (ObjectMetaValidationError) Error

Error satisfies the builtin error interface

func (ObjectMetaValidationError) ErrorName

func (e ObjectMetaValidationError) ErrorName() string

ErrorName returns error name.

func (ObjectMetaValidationError) Field

Field function returns field value.

func (ObjectMetaValidationError) Key

Key function returns key value.

func (ObjectMetaValidationError) Reason

func (e ObjectMetaValidationError) Reason() string

Reason function returns reason value.

type OrganisationedObjectMeta

type OrganisationedObjectMeta struct {
	Name         string                 `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Organisation string                 `protobuf:"bytes,2,opt,name=organisation,proto3" json:"organisation,omitempty"`
	Created      *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created,proto3" json:"created,omitempty"`
	Updated      *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=updated,proto3" json:"updated,omitempty"`
	Version      int64                  `protobuf:"varint,5,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

func (*OrganisationedObjectMeta) Descriptor deprecated

func (*OrganisationedObjectMeta) Descriptor() ([]byte, []int)

Deprecated: Use OrganisationedObjectMeta.ProtoReflect.Descriptor instead.

func (*OrganisationedObjectMeta) GetCreated

func (*OrganisationedObjectMeta) GetName

func (x *OrganisationedObjectMeta) GetName() string

func (*OrganisationedObjectMeta) GetOrganisation

func (x *OrganisationedObjectMeta) GetOrganisation() string

func (*OrganisationedObjectMeta) GetUpdated

func (*OrganisationedObjectMeta) GetVersion

func (x *OrganisationedObjectMeta) GetVersion() int64

func (*OrganisationedObjectMeta) ProtoMessage

func (*OrganisationedObjectMeta) ProtoMessage()

func (*OrganisationedObjectMeta) ProtoReflect

func (x *OrganisationedObjectMeta) ProtoReflect() protoreflect.Message

func (*OrganisationedObjectMeta) Reset

func (x *OrganisationedObjectMeta) Reset()

func (*OrganisationedObjectMeta) String

func (x *OrganisationedObjectMeta) String() string

func (*OrganisationedObjectMeta) Validate

func (m *OrganisationedObjectMeta) Validate() error

Validate checks the field values on OrganisationedObjectMeta with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*OrganisationedObjectMeta) ValidateAll

func (m *OrganisationedObjectMeta) ValidateAll() error

ValidateAll checks the field values on OrganisationedObjectMeta with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in OrganisationedObjectMetaMultiError, or nil if none found.

type OrganisationedObjectMetaMultiError

type OrganisationedObjectMetaMultiError []error

OrganisationedObjectMetaMultiError is an error wrapping multiple validation errors returned by OrganisationedObjectMeta.ValidateAll() if the designated constraints aren't met.

func (OrganisationedObjectMetaMultiError) AllErrors

func (m OrganisationedObjectMetaMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (OrganisationedObjectMetaMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type OrganisationedObjectMetaResourceModel

type OrganisationedObjectMetaResourceModel struct {
	Name         string      `tfsdk:"name"`
	Organisation string      `tfsdk:"organisation"`
	Created      types.Int64 `tfsdk:"created"`
	Updated      types.Int64 `tfsdk:"updated"`
	Version      int64       `tfsdk:"version"`
}

func (*OrganisationedObjectMetaResourceModel) FromProto

FromProto imports field values from protobuf message

type OrganisationedObjectMetaResourceTFModel

type OrganisationedObjectMetaResourceTFModel struct {
	Name         types.String `tfsdk:"name"`
	Organisation types.String `tfsdk:"organisation"`
	Created      types.Int64  `tfsdk:"created"`
	Updated      types.Int64  `tfsdk:"updated"`
	Version      types.Int64  `tfsdk:"version"`
}

func (*OrganisationedObjectMetaResourceTFModel) ToProto

ToProto converts the model to the corresponding protobuf struct

type OrganisationedObjectMetaValidationError

type OrganisationedObjectMetaValidationError struct {
	// contains filtered or unexported fields
}

OrganisationedObjectMetaValidationError is the validation error returned by OrganisationedObjectMeta.Validate if the designated constraints aren't met.

func (OrganisationedObjectMetaValidationError) Cause

Cause function returns cause value.

func (OrganisationedObjectMetaValidationError) Error

Error satisfies the builtin error interface

func (OrganisationedObjectMetaValidationError) ErrorName

ErrorName returns error name.

func (OrganisationedObjectMetaValidationError) Field

Field function returns field value.

func (OrganisationedObjectMetaValidationError) Key

Key function returns key value.

func (OrganisationedObjectMetaValidationError) Reason

Reason function returns reason value.

type PatchOptions

type PatchOptions struct {

	// namespace is the namespace scope of the request
	Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// name is the name of the ressource
	Name      string                 `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Item      *anypb.Any             `protobuf:"bytes,3,opt,name=item,proto3" json:"item,omitempty"`
	FieldMask *fieldmaskpb.FieldMask `protobuf:"bytes,4,opt,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"`
	// contains filtered or unexported fields
}

PatchOptions are query options for the Patch methods

func (*PatchOptions) Descriptor deprecated

func (*PatchOptions) Descriptor() ([]byte, []int)

Deprecated: Use PatchOptions.ProtoReflect.Descriptor instead.

func (*PatchOptions) GetCollectionName

func (o *PatchOptions) GetCollectionName() string

func (*PatchOptions) GetFieldMask

func (x *PatchOptions) GetFieldMask() *fieldmaskpb.FieldMask

func (*PatchOptions) GetItem

func (x *PatchOptions) GetItem() *anypb.Any

func (*PatchOptions) GetName

func (x *PatchOptions) GetName() string

func (*PatchOptions) GetNamespace

func (x *PatchOptions) GetNamespace() string

func (*PatchOptions) ProtoMessage

func (*PatchOptions) ProtoMessage()

func (*PatchOptions) ProtoReflect

func (x *PatchOptions) ProtoReflect() protoreflect.Message

func (*PatchOptions) Reset

func (x *PatchOptions) Reset()

func (*PatchOptions) String

func (x *PatchOptions) String() string

func (*PatchOptions) Validate

func (m *PatchOptions) Validate() error

Validate checks the field values on PatchOptions with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*PatchOptions) ValidateAll

func (m *PatchOptions) ValidateAll() error

ValidateAll checks the field values on PatchOptions with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PatchOptionsMultiError, or nil if none found.

type PatchOptionsMultiError

type PatchOptionsMultiError []error

PatchOptionsMultiError is an error wrapping multiple validation errors returned by PatchOptions.ValidateAll() if the designated constraints aren't met.

func (PatchOptionsMultiError) AllErrors

func (m PatchOptionsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PatchOptionsMultiError) Error

func (m PatchOptionsMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type PatchOptionsResourceModel

type PatchOptionsResourceModel struct {
	Namespace string `tfsdk:"namespace"`
	Name      string `tfsdk:"name"`
}

func (*PatchOptionsResourceModel) FromProto

func (m *PatchOptionsResourceModel) FromProto(r *PatchOptions) (err error)

FromProto imports field values from protobuf message

type PatchOptionsResourceTFModel

type PatchOptionsResourceTFModel struct {
	Namespace types.String `tfsdk:"namespace"`
	Name      types.String `tfsdk:"name"`
}

func (*PatchOptionsResourceTFModel) ToProto

ToProto converts the model to the corresponding protobuf struct

type PatchOptionsValidationError

type PatchOptionsValidationError struct {
	// contains filtered or unexported fields
}

PatchOptionsValidationError is the validation error returned by PatchOptions.Validate if the designated constraints aren't met.

func (PatchOptionsValidationError) Cause

Cause function returns cause value.

func (PatchOptionsValidationError) Error

Error satisfies the builtin error interface

func (PatchOptionsValidationError) ErrorName

func (e PatchOptionsValidationError) ErrorName() string

ErrorName returns error name.

func (PatchOptionsValidationError) Field

Field function returns field value.

func (PatchOptionsValidationError) Key

Key function returns key value.

func (PatchOptionsValidationError) Reason

Reason function returns reason value.

type TypeMeta

type TypeMeta struct {
	ApiVersion string `protobuf:"bytes,1,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"`
	Kind       string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"`
	// contains filtered or unexported fields
}

func (*TypeMeta) Descriptor deprecated

func (*TypeMeta) Descriptor() ([]byte, []int)

Deprecated: Use TypeMeta.ProtoReflect.Descriptor instead.

func (*TypeMeta) GetApiVersion

func (x *TypeMeta) GetApiVersion() string

func (*TypeMeta) GetKind

func (x *TypeMeta) GetKind() string

func (*TypeMeta) ProtoMessage

func (*TypeMeta) ProtoMessage()

func (*TypeMeta) ProtoReflect

func (x *TypeMeta) ProtoReflect() protoreflect.Message

func (*TypeMeta) Reset

func (x *TypeMeta) Reset()

func (*TypeMeta) String

func (x *TypeMeta) String() string

func (*TypeMeta) Validate

func (m *TypeMeta) Validate() error

Validate checks the field values on TypeMeta with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*TypeMeta) ValidateAll

func (m *TypeMeta) ValidateAll() error

ValidateAll checks the field values on TypeMeta with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in TypeMetaMultiError, or nil if none found.

type TypeMetaMultiError

type TypeMetaMultiError []error

TypeMetaMultiError is an error wrapping multiple validation errors returned by TypeMeta.ValidateAll() if the designated constraints aren't met.

func (TypeMetaMultiError) AllErrors

func (m TypeMetaMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (TypeMetaMultiError) Error

func (m TypeMetaMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type TypeMetaResourceModel

type TypeMetaResourceModel struct {
	ApiVersion string `tfsdk:"api_version"`
	Kind       string `tfsdk:"kind"`
}

func (*TypeMetaResourceModel) FromProto

func (m *TypeMetaResourceModel) FromProto(r *TypeMeta) (err error)

FromProto imports field values from protobuf message

type TypeMetaResourceTFModel

type TypeMetaResourceTFModel struct {
	ApiVersion types.String `tfsdk:"api_version"`
	Kind       types.String `tfsdk:"kind"`
}

func (*TypeMetaResourceTFModel) ToProto

ToProto converts the model to the corresponding protobuf struct

type TypeMetaValidationError

type TypeMetaValidationError struct {
	// contains filtered or unexported fields
}

TypeMetaValidationError is the validation error returned by TypeMeta.Validate if the designated constraints aren't met.

func (TypeMetaValidationError) Cause

func (e TypeMetaValidationError) Cause() error

Cause function returns cause value.

func (TypeMetaValidationError) Error

func (e TypeMetaValidationError) Error() string

Error satisfies the builtin error interface

func (TypeMetaValidationError) ErrorName

func (e TypeMetaValidationError) ErrorName() string

ErrorName returns error name.

func (TypeMetaValidationError) Field

func (e TypeMetaValidationError) Field() string

Field function returns field value.

func (TypeMetaValidationError) Key

func (e TypeMetaValidationError) Key() bool

Key function returns key value.

func (TypeMetaValidationError) Reason

func (e TypeMetaValidationError) Reason() string

Reason function returns reason value.

type UnstructuredObject

type UnstructuredObject struct {
	ApiVersion string      `protobuf:"bytes,1,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"`
	Kind       string      `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"`
	Metadata   *ObjectMeta `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// contains filtered or unexported fields
}

func (*UnstructuredObject) Descriptor deprecated

func (*UnstructuredObject) Descriptor() ([]byte, []int)

Deprecated: Use UnstructuredObject.ProtoReflect.Descriptor instead.

func (*UnstructuredObject) GetApiVersion

func (x *UnstructuredObject) GetApiVersion() string

func (*UnstructuredObject) GetKind

func (x *UnstructuredObject) GetKind() string

func (*UnstructuredObject) GetMetadata

func (x *UnstructuredObject) GetMetadata() *ObjectMeta

func (*UnstructuredObject) ProtoMessage

func (*UnstructuredObject) ProtoMessage()

func (*UnstructuredObject) ProtoReflect

func (x *UnstructuredObject) ProtoReflect() protoreflect.Message

func (*UnstructuredObject) Reset

func (x *UnstructuredObject) Reset()

func (*UnstructuredObject) String

func (x *UnstructuredObject) String() string

func (*UnstructuredObject) Validate

func (m *UnstructuredObject) Validate() error

Validate checks the field values on UnstructuredObject with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UnstructuredObject) ValidateAll

func (m *UnstructuredObject) ValidateAll() error

ValidateAll checks the field values on UnstructuredObject with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UnstructuredObjectMultiError, or nil if none found.

type UnstructuredObjectMultiError

type UnstructuredObjectMultiError []error

UnstructuredObjectMultiError is an error wrapping multiple validation errors returned by UnstructuredObject.ValidateAll() if the designated constraints aren't met.

func (UnstructuredObjectMultiError) AllErrors

func (m UnstructuredObjectMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UnstructuredObjectMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type UnstructuredObjectResourceModel

type UnstructuredObjectResourceModel struct {
	ApiVersion string                   `tfsdk:"api_version"`
	Kind       string                   `tfsdk:"kind"`
	Metadata   *ObjectMetaResourceModel `tfsdk:"metadata"`
}

func (*UnstructuredObjectResourceModel) FromProto

FromProto imports field values from protobuf message

type UnstructuredObjectResourceTFModel

type UnstructuredObjectResourceTFModel struct {
	ApiVersion types.String `tfsdk:"api_version"`
	Kind       types.String `tfsdk:"kind"`
	Metadata   types.Object `tfsdk:"metadata"`
}

func (*UnstructuredObjectResourceTFModel) ToProto

ToProto converts the model to the corresponding protobuf struct

type UnstructuredObjectValidationError

type UnstructuredObjectValidationError struct {
	// contains filtered or unexported fields
}

UnstructuredObjectValidationError is the validation error returned by UnstructuredObject.Validate if the designated constraints aren't met.

func (UnstructuredObjectValidationError) Cause

Cause function returns cause value.

func (UnstructuredObjectValidationError) Error

Error satisfies the builtin error interface

func (UnstructuredObjectValidationError) ErrorName

ErrorName returns error name.

func (UnstructuredObjectValidationError) Field

Field function returns field value.

func (UnstructuredObjectValidationError) Key

Key function returns key value.

func (UnstructuredObjectValidationError) Reason

Reason function returns reason value.

type WatchEvent

type WatchEvent struct {
	Type   WatchEvent_Type `protobuf:"varint,1,opt,name=type,proto3,enum=meta.v1beta.WatchEvent_Type" json:"type,omitempty"`
	Object []byte          `protobuf:"bytes,2,opt,name=object,proto3" json:"object,omitempty"`
	Prev   []byte          `protobuf:"bytes,3,opt,name=prev,proto3" json:"prev,omitempty"`
	// contains filtered or unexported fields
}

func (*WatchEvent) Descriptor deprecated

func (*WatchEvent) Descriptor() ([]byte, []int)

Deprecated: Use WatchEvent.ProtoReflect.Descriptor instead.

func (*WatchEvent) GetObject

func (x *WatchEvent) GetObject() []byte

func (*WatchEvent) GetPrev

func (x *WatchEvent) GetPrev() []byte

func (*WatchEvent) GetType

func (x *WatchEvent) GetType() WatchEvent_Type

func (*WatchEvent) ProtoMessage

func (*WatchEvent) ProtoMessage()

func (*WatchEvent) ProtoReflect

func (x *WatchEvent) ProtoReflect() protoreflect.Message

func (*WatchEvent) Reset

func (x *WatchEvent) Reset()

func (*WatchEvent) String

func (x *WatchEvent) String() string

func (*WatchEvent) Validate

func (m *WatchEvent) Validate() error

Validate checks the field values on WatchEvent with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*WatchEvent) ValidateAll

func (m *WatchEvent) ValidateAll() error

ValidateAll checks the field values on WatchEvent with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in WatchEventMultiError, or nil if none found.

type WatchEventMultiError

type WatchEventMultiError []error

WatchEventMultiError is an error wrapping multiple validation errors returned by WatchEvent.ValidateAll() if the designated constraints aren't met.

func (WatchEventMultiError) AllErrors

func (m WatchEventMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (WatchEventMultiError) Error

func (m WatchEventMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type WatchEventResourceModel

type WatchEventResourceModel struct {
	Type string `tfsdk:"type"`
}

func (*WatchEventResourceModel) FromProto

func (m *WatchEventResourceModel) FromProto(r *WatchEvent) (err error)

FromProto imports field values from protobuf message

type WatchEventResourceTFModel

type WatchEventResourceTFModel struct {
	Type types.String `tfsdk:"type"`
}

func (*WatchEventResourceTFModel) ToProto

ToProto converts the model to the corresponding protobuf struct

type WatchEventValidationError

type WatchEventValidationError struct {
	// contains filtered or unexported fields
}

WatchEventValidationError is the validation error returned by WatchEvent.Validate if the designated constraints aren't met.

func (WatchEventValidationError) Cause

func (e WatchEventValidationError) Cause() error

Cause function returns cause value.

func (WatchEventValidationError) Error

Error satisfies the builtin error interface

func (WatchEventValidationError) ErrorName

func (e WatchEventValidationError) ErrorName() string

ErrorName returns error name.

func (WatchEventValidationError) Field

Field function returns field value.

func (WatchEventValidationError) Key

Key function returns key value.

func (WatchEventValidationError) Reason

func (e WatchEventValidationError) Reason() string

Reason function returns reason value.

type WatchEvent_Type

type WatchEvent_Type int32
const (
	WatchEvent_UNKNOWN WatchEvent_Type = 0
	WatchEvent_ADD     WatchEvent_Type = 1
	WatchEvent_DELETE  WatchEvent_Type = 2
	WatchEvent_UPDATE  WatchEvent_Type = 3
)

func (WatchEvent_Type) Descriptor

func (WatchEvent_Type) Enum

func (x WatchEvent_Type) Enum() *WatchEvent_Type

func (WatchEvent_Type) EnumDescriptor deprecated

func (WatchEvent_Type) EnumDescriptor() ([]byte, []int)

Deprecated: Use WatchEvent_Type.Descriptor instead.

func (WatchEvent_Type) MarshalText

func (e WatchEvent_Type) MarshalText() (text []byte, err error)

func (WatchEvent_Type) Number

func (WatchEvent_Type) String

func (x WatchEvent_Type) String() string

func (WatchEvent_Type) Type

func (*WatchEvent_Type) UnmarshalText

func (e *WatchEvent_Type) UnmarshalText(text []byte) error

type WatchOptions

type WatchOptions struct {

	// namespace is the namespace scope of the request
	Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Name      string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*WatchOptions) Descriptor deprecated

func (*WatchOptions) Descriptor() ([]byte, []int)

Deprecated: Use WatchOptions.ProtoReflect.Descriptor instead.

func (*WatchOptions) GetCollectionName

func (o *WatchOptions) GetCollectionName() string

func (*WatchOptions) GetName

func (x *WatchOptions) GetName() string

func (*WatchOptions) GetNamespace

func (x *WatchOptions) GetNamespace() string

func (*WatchOptions) ProtoMessage

func (*WatchOptions) ProtoMessage()

func (*WatchOptions) ProtoReflect

func (x *WatchOptions) ProtoReflect() protoreflect.Message

func (*WatchOptions) Reset

func (x *WatchOptions) Reset()

func (*WatchOptions) String

func (x *WatchOptions) String() string

func (*WatchOptions) Validate

func (m *WatchOptions) Validate() error

Validate checks the field values on WatchOptions with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*WatchOptions) ValidateAll

func (m *WatchOptions) ValidateAll() error

ValidateAll checks the field values on WatchOptions with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in WatchOptionsMultiError, or nil if none found.

type WatchOptionsMultiError

type WatchOptionsMultiError []error

WatchOptionsMultiError is an error wrapping multiple validation errors returned by WatchOptions.ValidateAll() if the designated constraints aren't met.

func (WatchOptionsMultiError) AllErrors

func (m WatchOptionsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (WatchOptionsMultiError) Error

func (m WatchOptionsMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type WatchOptionsResourceModel

type WatchOptionsResourceModel struct {
	Namespace string `tfsdk:"namespace"`
	Name      string `tfsdk:"name"`
}

func (*WatchOptionsResourceModel) FromProto

func (m *WatchOptionsResourceModel) FromProto(r *WatchOptions) (err error)

FromProto imports field values from protobuf message

type WatchOptionsResourceTFModel

type WatchOptionsResourceTFModel struct {
	Namespace types.String `tfsdk:"namespace"`
	Name      types.String `tfsdk:"name"`
}

func (*WatchOptionsResourceTFModel) ToProto

ToProto converts the model to the corresponding protobuf struct

type WatchOptionsValidationError

type WatchOptionsValidationError struct {
	// contains filtered or unexported fields
}

WatchOptionsValidationError is the validation error returned by WatchOptions.Validate if the designated constraints aren't met.

func (WatchOptionsValidationError) Cause

Cause function returns cause value.

func (WatchOptionsValidationError) Error

Error satisfies the builtin error interface

func (WatchOptionsValidationError) ErrorName

func (e WatchOptionsValidationError) ErrorName() string

ErrorName returns error name.

func (WatchOptionsValidationError) Field

Field function returns field value.

func (WatchOptionsValidationError) Key

Key function returns key value.

func (WatchOptionsValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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