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
- Variables
- type Client
- type DeleteOptions
- func (*DeleteOptions) Descriptor() ([]byte, []int)deprecated
- func (o *DeleteOptions) GetCollectionName() string
- func (x *DeleteOptions) GetName() string
- func (x *DeleteOptions) GetNamespace() string
- func (*DeleteOptions) ProtoMessage()
- func (x *DeleteOptions) ProtoReflect() protoreflect.Message
- func (x *DeleteOptions) Reset()
- func (x *DeleteOptions) String() string
- func (m *DeleteOptions) Validate() error
- func (m *DeleteOptions) ValidateAll() error
- type DeleteOptionsMultiError
- type DeleteOptionsResourceModel
- type DeleteOptionsResourceTFModel
- type DeleteOptionsValidationError
- func (e DeleteOptionsValidationError) Cause() error
- func (e DeleteOptionsValidationError) Error() string
- func (e DeleteOptionsValidationError) ErrorName() string
- func (e DeleteOptionsValidationError) Field() string
- func (e DeleteOptionsValidationError) Key() bool
- func (e DeleteOptionsValidationError) Reason() string
- type GetOptions
- func (*GetOptions) Descriptor() ([]byte, []int)deprecated
- func (o *GetOptions) GetCollectionName() string
- func (x *GetOptions) GetName() string
- func (x *GetOptions) GetNamespace() string
- func (*GetOptions) ProtoMessage()
- func (x *GetOptions) ProtoReflect() protoreflect.Message
- func (x *GetOptions) Reset()
- func (x *GetOptions) String() string
- func (m *GetOptions) Validate() error
- func (m *GetOptions) ValidateAll() error
- type GetOptionsMultiError
- type GetOptionsResourceModel
- type GetOptionsResourceTFModel
- type GetOptionsValidationError
- type ListMeta
- type ListMetaMultiError
- type ListMetaResourceModel
- type ListMetaResourceTFModel
- type ListMetaValidationError
- type ListOptions
- func (*ListOptions) Descriptor() ([]byte, []int)deprecated
- func (o *ListOptions) GetCollectionName() string
- func (x *ListOptions) GetNamespace() string
- func (*ListOptions) ProtoMessage()
- func (x *ListOptions) ProtoReflect() protoreflect.Message
- func (x *ListOptions) Reset()
- func (x *ListOptions) String() string
- func (m *ListOptions) Validate() error
- func (m *ListOptions) ValidateAll() error
- type ListOptionsMultiError
- type ListOptionsResourceModel
- type ListOptionsResourceTFModel
- type ListOptionsValidationError
- func (e ListOptionsValidationError) Cause() error
- func (e ListOptionsValidationError) Error() string
- func (e ListOptionsValidationError) ErrorName() string
- func (e ListOptionsValidationError) Field() string
- func (e ListOptionsValidationError) Key() bool
- func (e ListOptionsValidationError) Reason() string
- type ObjectMeta
- func (*ObjectMeta) Descriptor() ([]byte, []int)deprecated
- func (m *ObjectMeta) GetCollectionName() string
- func (m *ObjectMeta) GetCollectionType() string
- func (x *ObjectMeta) GetCreated() *timestamppb.Timestamp
- func (x *ObjectMeta) GetName() string
- func (x *ObjectMeta) GetNamespace() string
- func (x *ObjectMeta) GetUpdated() *timestamppb.Timestamp
- func (x *ObjectMeta) GetVersion() int64
- func (*ObjectMeta) ProtoMessage()
- func (x *ObjectMeta) ProtoReflect() protoreflect.Message
- func (x *ObjectMeta) Reset()
- func (x *ObjectMeta) String() string
- func (m *ObjectMeta) Validate() error
- func (m *ObjectMeta) ValidateAll() error
- type ObjectMetaMultiError
- type ObjectMetaResourceModel
- type ObjectMetaResourceTFModel
- type ObjectMetaValidationError
- type OrganisationedObjectMeta
- func (*OrganisationedObjectMeta) Descriptor() ([]byte, []int)deprecated
- func (x *OrganisationedObjectMeta) GetCreated() *timestamppb.Timestamp
- func (x *OrganisationedObjectMeta) GetName() string
- func (x *OrganisationedObjectMeta) GetOrganisation() string
- func (x *OrganisationedObjectMeta) GetUpdated() *timestamppb.Timestamp
- func (x *OrganisationedObjectMeta) GetVersion() int64
- func (*OrganisationedObjectMeta) ProtoMessage()
- func (x *OrganisationedObjectMeta) ProtoReflect() protoreflect.Message
- func (x *OrganisationedObjectMeta) Reset()
- func (x *OrganisationedObjectMeta) String() string
- func (m *OrganisationedObjectMeta) Validate() error
- func (m *OrganisationedObjectMeta) ValidateAll() error
- type OrganisationedObjectMetaMultiError
- type OrganisationedObjectMetaResourceModel
- type OrganisationedObjectMetaResourceTFModel
- type OrganisationedObjectMetaValidationError
- func (e OrganisationedObjectMetaValidationError) Cause() error
- func (e OrganisationedObjectMetaValidationError) Error() string
- func (e OrganisationedObjectMetaValidationError) ErrorName() string
- func (e OrganisationedObjectMetaValidationError) Field() string
- func (e OrganisationedObjectMetaValidationError) Key() bool
- func (e OrganisationedObjectMetaValidationError) Reason() string
- type PatchOptions
- func (*PatchOptions) Descriptor() ([]byte, []int)deprecated
- func (o *PatchOptions) GetCollectionName() string
- func (x *PatchOptions) GetFieldMask() *fieldmaskpb.FieldMask
- func (x *PatchOptions) GetItem() *anypb.Any
- func (x *PatchOptions) GetName() string
- func (x *PatchOptions) GetNamespace() string
- func (*PatchOptions) ProtoMessage()
- func (x *PatchOptions) ProtoReflect() protoreflect.Message
- func (x *PatchOptions) Reset()
- func (x *PatchOptions) String() string
- func (m *PatchOptions) Validate() error
- func (m *PatchOptions) ValidateAll() error
- type PatchOptionsMultiError
- type PatchOptionsResourceModel
- type PatchOptionsResourceTFModel
- type PatchOptionsValidationError
- func (e PatchOptionsValidationError) Cause() error
- func (e PatchOptionsValidationError) Error() string
- func (e PatchOptionsValidationError) ErrorName() string
- func (e PatchOptionsValidationError) Field() string
- func (e PatchOptionsValidationError) Key() bool
- func (e PatchOptionsValidationError) Reason() string
- type TypeMeta
- func (*TypeMeta) Descriptor() ([]byte, []int)deprecated
- func (x *TypeMeta) GetApiVersion() string
- func (x *TypeMeta) GetKind() string
- func (*TypeMeta) ProtoMessage()
- func (x *TypeMeta) ProtoReflect() protoreflect.Message
- func (x *TypeMeta) Reset()
- func (x *TypeMeta) String() string
- func (m *TypeMeta) Validate() error
- func (m *TypeMeta) ValidateAll() error
- type TypeMetaMultiError
- type TypeMetaResourceModel
- type TypeMetaResourceTFModel
- type TypeMetaValidationError
- type UnstructuredObject
- func (*UnstructuredObject) Descriptor() ([]byte, []int)deprecated
- func (x *UnstructuredObject) GetApiVersion() string
- func (x *UnstructuredObject) GetKind() string
- func (x *UnstructuredObject) GetMetadata() *ObjectMeta
- func (*UnstructuredObject) ProtoMessage()
- func (x *UnstructuredObject) ProtoReflect() protoreflect.Message
- func (x *UnstructuredObject) Reset()
- func (x *UnstructuredObject) String() string
- func (m *UnstructuredObject) Validate() error
- func (m *UnstructuredObject) ValidateAll() error
- type UnstructuredObjectMultiError
- type UnstructuredObjectResourceModel
- type UnstructuredObjectResourceTFModel
- type UnstructuredObjectValidationError
- func (e UnstructuredObjectValidationError) Cause() error
- func (e UnstructuredObjectValidationError) Error() string
- func (e UnstructuredObjectValidationError) ErrorName() string
- func (e UnstructuredObjectValidationError) Field() string
- func (e UnstructuredObjectValidationError) Key() bool
- func (e UnstructuredObjectValidationError) Reason() string
- type WatchEvent
- func (*WatchEvent) Descriptor() ([]byte, []int)deprecated
- func (x *WatchEvent) GetObject() []byte
- func (x *WatchEvent) GetPrev() []byte
- func (x *WatchEvent) GetType() WatchEvent_Type
- func (*WatchEvent) ProtoMessage()
- func (x *WatchEvent) ProtoReflect() protoreflect.Message
- func (x *WatchEvent) Reset()
- func (x *WatchEvent) String() string
- func (m *WatchEvent) Validate() error
- func (m *WatchEvent) ValidateAll() error
- type WatchEventMultiError
- type WatchEventResourceModel
- type WatchEventResourceTFModel
- type WatchEventValidationError
- type WatchEvent_Type
- func (WatchEvent_Type) Descriptor() protoreflect.EnumDescriptor
- func (x WatchEvent_Type) Enum() *WatchEvent_Type
- func (WatchEvent_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (e WatchEvent_Type) MarshalText() (text []byte, err error)
- func (x WatchEvent_Type) Number() protoreflect.EnumNumber
- func (x WatchEvent_Type) String() string
- func (WatchEvent_Type) Type() protoreflect.EnumType
- func (e *WatchEvent_Type) UnmarshalText(text []byte) error
- type WatchOptions
- func (*WatchOptions) Descriptor() ([]byte, []int)deprecated
- func (o *WatchOptions) GetCollectionName() string
- func (x *WatchOptions) GetName() string
- func (x *WatchOptions) GetNamespace() string
- func (*WatchOptions) ProtoMessage()
- func (x *WatchOptions) ProtoReflect() protoreflect.Message
- func (x *WatchOptions) Reset()
- func (x *WatchOptions) String() string
- func (m *WatchOptions) Validate() error
- func (m *WatchOptions) ValidateAll() error
- type WatchOptionsMultiError
- type WatchOptionsResourceModel
- type WatchOptionsResourceTFModel
- type WatchOptionsValidationError
- func (e WatchOptionsValidationError) Cause() error
- func (e WatchOptionsValidationError) Error() string
- func (e WatchOptionsValidationError) ErrorName() string
- func (e WatchOptionsValidationError) Field() string
- func (e WatchOptionsValidationError) Key() bool
- func (e WatchOptionsValidationError) Reason() string
Constants ¶
const KindDeleteOptions = "DeleteOptions"
const KindGetOptions = "GetOptions"
const KindListMeta = "ListMeta"
const KindListOptions = "ListOptions"
const KindObjectMeta = "ObjectMeta"
const KindOrganisationedObjectMeta = "OrganisationedObjectMeta"
const KindPatchOptions = "PatchOptions"
const KindTypeMeta = "TypeMeta"
const KindUnstructuredObject = "UnstructuredObject"
const KindWatchEvent = "WatchEvent"
const KindWatchOptions = "WatchOptions"
Variables ¶
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.
var File_lib_proto_meta_v1beta_meta_proto protoreflect.FileDescriptor
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 ¶
func (m *DeleteOptionsResourceTFModel) ToProto(ctx context.Context) (*DeleteOptions, diag.Diagnostics)
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 ¶
func (e DeleteOptionsValidationError) Cause() error
Cause function returns cause value.
func (DeleteOptionsValidationError) Error ¶
func (e DeleteOptionsValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteOptionsValidationError) ErrorName ¶
func (e DeleteOptionsValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteOptionsValidationError) Field ¶
func (e DeleteOptionsValidationError) Field() string
Field function returns field value.
func (DeleteOptionsValidationError) Key ¶
func (e DeleteOptionsValidationError) Key() bool
Key function returns key value.
func (DeleteOptionsValidationError) Reason ¶
func (e DeleteOptionsValidationError) Reason() string
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 ¶
func (m *GetOptionsResourceTFModel) ToProto(ctx context.Context) (*GetOptions, diag.Diagnostics)
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 ¶
func (e GetOptionsValidationError) Error() string
Error satisfies the builtin error interface
func (GetOptionsValidationError) ErrorName ¶
func (e GetOptionsValidationError) ErrorName() string
ErrorName returns error name.
func (GetOptionsValidationError) Field ¶
func (e GetOptionsValidationError) Field() string
Field function returns field value.
func (GetOptionsValidationError) Key ¶
func (e GetOptionsValidationError) Key() bool
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) ProtoMessage ¶
func (*ListMeta) ProtoMessage()
func (*ListMeta) ProtoReflect ¶
func (x *ListMeta) ProtoReflect() protoreflect.Message
func (*ListMeta) Validate ¶
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 ¶
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 ¶
func (m *ListMetaResourceTFModel) ToProto(ctx context.Context) (*ListMeta, diag.Diagnostics)
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 ¶
func (*ListOptionsResourceTFModel) ToProto ¶
func (m *ListOptionsResourceTFModel) ToProto(ctx context.Context) (*ListOptions, diag.Diagnostics)
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 ¶
func (e ListOptionsValidationError) Cause() error
Cause function returns cause value.
func (ListOptionsValidationError) Error ¶
func (e ListOptionsValidationError) Error() string
Error satisfies the builtin error interface
func (ListOptionsValidationError) ErrorName ¶
func (e ListOptionsValidationError) ErrorName() string
ErrorName returns error name.
func (ListOptionsValidationError) Field ¶
func (e ListOptionsValidationError) Field() string
Field function returns field value.
func (ListOptionsValidationError) Key ¶
func (e ListOptionsValidationError) Key() bool
Key function returns key value.
func (ListOptionsValidationError) Reason ¶
func (e ListOptionsValidationError) Reason() string
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 ¶
func (m *ObjectMetaResourceTFModel) ToProto(ctx context.Context) (*ObjectMeta, diag.Diagnostics)
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 ¶
func (e ObjectMetaValidationError) Error() string
Error satisfies the builtin error interface
func (ObjectMetaValidationError) ErrorName ¶
func (e ObjectMetaValidationError) ErrorName() string
ErrorName returns error name.
func (ObjectMetaValidationError) Field ¶
func (e ObjectMetaValidationError) Field() string
Field function returns field value.
func (ObjectMetaValidationError) Key ¶
func (e ObjectMetaValidationError) Key() bool
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 (x *OrganisationedObjectMeta) GetCreated() *timestamppb.Timestamp
func (*OrganisationedObjectMeta) GetName ¶
func (x *OrganisationedObjectMeta) GetName() string
func (*OrganisationedObjectMeta) GetOrganisation ¶
func (x *OrganisationedObjectMeta) GetOrganisation() string
func (*OrganisationedObjectMeta) GetUpdated ¶
func (x *OrganisationedObjectMeta) GetUpdated() *timestamppb.Timestamp
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 ¶
func (m OrganisationedObjectMetaMultiError) Error() string
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 ¶
func (m *OrganisationedObjectMetaResourceModel) FromProto(r *OrganisationedObjectMeta) (err error)
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 ¶
func (m *OrganisationedObjectMetaResourceTFModel) ToProto(ctx context.Context) (*OrganisationedObjectMeta, diag.Diagnostics)
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 ¶
func (e OrganisationedObjectMetaValidationError) Cause() error
Cause function returns cause value.
func (OrganisationedObjectMetaValidationError) Error ¶
func (e OrganisationedObjectMetaValidationError) Error() string
Error satisfies the builtin error interface
func (OrganisationedObjectMetaValidationError) ErrorName ¶
func (e OrganisationedObjectMetaValidationError) ErrorName() string
ErrorName returns error name.
func (OrganisationedObjectMetaValidationError) Field ¶
func (e OrganisationedObjectMetaValidationError) Field() string
Field function returns field value.
func (OrganisationedObjectMetaValidationError) Key ¶
func (e OrganisationedObjectMetaValidationError) Key() bool
Key function returns key value.
func (OrganisationedObjectMetaValidationError) Reason ¶
func (e OrganisationedObjectMetaValidationError) Reason() string
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 ¶
func (m *PatchOptionsResourceTFModel) ToProto(ctx context.Context) (*PatchOptions, diag.Diagnostics)
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 ¶
func (e PatchOptionsValidationError) Cause() error
Cause function returns cause value.
func (PatchOptionsValidationError) Error ¶
func (e PatchOptionsValidationError) Error() string
Error satisfies the builtin error interface
func (PatchOptionsValidationError) ErrorName ¶
func (e PatchOptionsValidationError) ErrorName() string
ErrorName returns error name.
func (PatchOptionsValidationError) Field ¶
func (e PatchOptionsValidationError) Field() string
Field function returns field value.
func (PatchOptionsValidationError) Key ¶
func (e PatchOptionsValidationError) Key() bool
Key function returns key value.
func (PatchOptionsValidationError) Reason ¶
func (e PatchOptionsValidationError) Reason() string
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) GetApiVersion ¶
func (*TypeMeta) ProtoMessage ¶
func (*TypeMeta) ProtoMessage()
func (*TypeMeta) ProtoReflect ¶
func (x *TypeMeta) ProtoReflect() protoreflect.Message
func (*TypeMeta) Validate ¶
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 ¶
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 ¶
func (m *TypeMetaResourceTFModel) ToProto(ctx context.Context) (*TypeMeta, diag.Diagnostics)
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 ¶
func (m UnstructuredObjectMultiError) Error() string
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 ¶
func (m *UnstructuredObjectResourceModel) FromProto(r *UnstructuredObject) (err error)
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 ¶
func (m *UnstructuredObjectResourceTFModel) ToProto(ctx context.Context) (*UnstructuredObject, diag.Diagnostics)
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 ¶
func (e UnstructuredObjectValidationError) Cause() error
Cause function returns cause value.
func (UnstructuredObjectValidationError) Error ¶
func (e UnstructuredObjectValidationError) Error() string
Error satisfies the builtin error interface
func (UnstructuredObjectValidationError) ErrorName ¶
func (e UnstructuredObjectValidationError) ErrorName() string
ErrorName returns error name.
func (UnstructuredObjectValidationError) Field ¶
func (e UnstructuredObjectValidationError) Field() string
Field function returns field value.
func (UnstructuredObjectValidationError) Key ¶
func (e UnstructuredObjectValidationError) Key() bool
Key function returns key value.
func (UnstructuredObjectValidationError) Reason ¶
func (e UnstructuredObjectValidationError) Reason() string
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 ¶
func (*WatchEventResourceTFModel) ToProto ¶
func (m *WatchEventResourceTFModel) ToProto(ctx context.Context) (*WatchEvent, diag.Diagnostics)
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 ¶
func (e WatchEventValidationError) Error() string
Error satisfies the builtin error interface
func (WatchEventValidationError) ErrorName ¶
func (e WatchEventValidationError) ErrorName() string
ErrorName returns error name.
func (WatchEventValidationError) Field ¶
func (e WatchEventValidationError) Field() string
Field function returns field value.
func (WatchEventValidationError) Key ¶
func (e WatchEventValidationError) Key() bool
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) Descriptor() protoreflect.EnumDescriptor
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 (x WatchEvent_Type) Number() protoreflect.EnumNumber
func (WatchEvent_Type) String ¶
func (x WatchEvent_Type) String() string
func (WatchEvent_Type) Type ¶
func (WatchEvent_Type) Type() protoreflect.EnumType
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 ¶
func (m *WatchOptionsResourceTFModel) ToProto(ctx context.Context) (*WatchOptions, diag.Diagnostics)
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 ¶
func (e WatchOptionsValidationError) Cause() error
Cause function returns cause value.
func (WatchOptionsValidationError) Error ¶
func (e WatchOptionsValidationError) Error() string
Error satisfies the builtin error interface
func (WatchOptionsValidationError) ErrorName ¶
func (e WatchOptionsValidationError) ErrorName() string
ErrorName returns error name.
func (WatchOptionsValidationError) Field ¶
func (e WatchOptionsValidationError) Field() string
Field function returns field value.
func (WatchOptionsValidationError) Key ¶
func (e WatchOptionsValidationError) Key() bool
Key function returns key value.
func (WatchOptionsValidationError) Reason ¶
func (e WatchOptionsValidationError) Reason() string
Reason function returns reason value.