Documentation
¶
Index ¶
- Variables
- type Code
- type ContainerDriver
- func (ContainerDriver) Descriptor() protoreflect.EnumDescriptor
- func (x ContainerDriver) Enum() *ContainerDriver
- func (ContainerDriver) EnumDescriptor() ([]byte, []int)deprecated
- func (x ContainerDriver) Number() protoreflect.EnumNumber
- func (x ContainerDriver) String() string
- func (ContainerDriver) Type() protoreflect.EnumType
- type Data
- func (*Data) Descriptor() ([]byte, []int)deprecated
- func (x *Data) GetBytes() []byte
- func (x *Data) GetMetadata() *Metadata
- func (m *Data) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Data) MarshalToVT(dAtA []byte) (int, error)
- func (m *Data) MarshalVT() (dAtA []byte, err error)
- func (*Data) ProtoMessage()
- func (x *Data) ProtoReflect() protoreflect.Message
- func (x *Data) Reset()
- func (m *Data) SizeVT() (n int)
- func (x *Data) String() string
- func (m *Data) UnmarshalVT(dAtA []byte) error
- type DataResponse
- func (*DataResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DataResponse) GetMessages() []*Data
- func (m *DataResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *DataResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *DataResponse) MarshalVT() (dAtA []byte, err error)
- func (*DataResponse) ProtoMessage()
- func (x *DataResponse) ProtoReflect() protoreflect.Message
- func (x *DataResponse) Reset()
- func (m *DataResponse) SizeVT() (n int)
- func (x *DataResponse) String() string
- func (m *DataResponse) UnmarshalVT(dAtA []byte) error
- type Empty
- func (*Empty) Descriptor() ([]byte, []int)deprecated
- func (x *Empty) GetMetadata() *Metadata
- func (m *Empty) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Empty) MarshalToVT(dAtA []byte) (int, error)
- func (m *Empty) MarshalVT() (dAtA []byte, err error)
- func (*Empty) ProtoMessage()
- func (x *Empty) ProtoReflect() protoreflect.Message
- func (x *Empty) Reset()
- func (m *Empty) SizeVT() (n int)
- func (x *Empty) String() string
- func (m *Empty) UnmarshalVT(dAtA []byte) error
- type EmptyResponse
- func (*EmptyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *EmptyResponse) GetMessages() []*Empty
- func (m *EmptyResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *EmptyResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *EmptyResponse) MarshalVT() (dAtA []byte, err error)
- func (*EmptyResponse) ProtoMessage()
- func (x *EmptyResponse) ProtoReflect() protoreflect.Message
- func (x *EmptyResponse) Reset()
- func (m *EmptyResponse) SizeVT() (n int)
- func (x *EmptyResponse) String() string
- func (m *EmptyResponse) UnmarshalVT(dAtA []byte) error
- type Error
- func (*Error) Descriptor() ([]byte, []int)deprecated
- func (x *Error) GetCode() Code
- func (x *Error) GetDetails() []*anypb.Any
- func (x *Error) GetMessage() string
- func (m *Error) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Error) MarshalToVT(dAtA []byte) (int, error)
- func (m *Error) MarshalVT() (dAtA []byte, err error)
- func (*Error) ProtoMessage()
- func (x *Error) ProtoReflect() protoreflect.Message
- func (x *Error) Reset()
- func (m *Error) SizeVT() (n int)
- func (x *Error) String() string
- func (m *Error) UnmarshalVT(dAtA []byte) error
- type Metadata
- func (*Metadata) Descriptor() ([]byte, []int)deprecated
- func (x *Metadata) GetError() string
- func (x *Metadata) GetHostname() string
- func (x *Metadata) GetStatus() *status.Status
- func (m *Metadata) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Metadata) MarshalToVT(dAtA []byte) (int, error)
- func (m *Metadata) MarshalVT() (dAtA []byte, err error)
- func (*Metadata) ProtoMessage()
- func (x *Metadata) ProtoReflect() protoreflect.Message
- func (x *Metadata) Reset()
- func (m *Metadata) SizeVT() (n int)
- func (x *Metadata) String() string
- func (m *Metadata) UnmarshalVT(dAtA []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Code_name = map[int32]string{ 0: "FATAL", 1: "LOCKED", } Code_value = map[string]int32{ "FATAL": 0, "LOCKED": 1, } )
Enum value maps for Code.
View Source
var ( ContainerDriver_name = map[int32]string{ 0: "CONTAINERD", 1: "CRI", } ContainerDriver_value = map[string]int32{ "CONTAINERD": 0, "CRI": 1, } )
Enum value maps for ContainerDriver.
View Source
var ( ErrInvalidLength = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflow = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroup = fmt.Errorf("proto: unexpected end of group") )
View Source
var ( // Indicates the Talos version when this deprecated enum will be removed from API. // // optional string remove_deprecated_enum = 93117; E_RemoveDeprecatedEnum = &file_common_common_proto_extTypes[2] )
Extension fields to descriptorpb.EnumOptions.
View Source
var ( // Indicates the Talos version when this deprecated enum value will be removed from API. // // optional string remove_deprecated_enum_value = 93117; E_RemoveDeprecatedEnumValue = &file_common_common_proto_extTypes[3] )
Extension fields to descriptorpb.EnumValueOptions.
View Source
var ( // Indicates the Talos version when this deprecated filed will be removed from API. // // optional string remove_deprecated_field = 93117; E_RemoveDeprecatedField = &file_common_common_proto_extTypes[1] )
Extension fields to descriptorpb.FieldOptions.
View Source
var ( // Indicates the Talos version when this deprecated message will be removed from API. // // optional string remove_deprecated_message = 93117; E_RemoveDeprecatedMessage = &file_common_common_proto_extTypes[0] )
Extension fields to descriptorpb.MessageOptions.
View Source
var ( // Indicates the Talos version when this deprecated method will be removed from API. // // optional string remove_deprecated_method = 93117; E_RemoveDeprecatedMethod = &file_common_common_proto_extTypes[4] )
Extension fields to descriptorpb.MethodOptions.
View Source
var ( // Indicates the Talos version when this deprecated service will be removed from API. // // optional string remove_deprecated_service = 93117; E_RemoveDeprecatedService = &file_common_common_proto_extTypes[5] )
Extension fields to descriptorpb.ServiceOptions.
View Source
var File_common_common_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Code ¶
type Code int32
func (Code) Descriptor ¶
func (Code) Descriptor() protoreflect.EnumDescriptor
func (Code) EnumDescriptor
deprecated
func (Code) Number ¶
func (x Code) Number() protoreflect.EnumNumber
func (Code) Type ¶
func (Code) Type() protoreflect.EnumType
type ContainerDriver ¶
type ContainerDriver int32
const ( ContainerDriver_CONTAINERD ContainerDriver = 0 ContainerDriver_CRI ContainerDriver = 1 )
func (ContainerDriver) Descriptor ¶
func (ContainerDriver) Descriptor() protoreflect.EnumDescriptor
func (ContainerDriver) Enum ¶
func (x ContainerDriver) Enum() *ContainerDriver
func (ContainerDriver) EnumDescriptor
deprecated
func (ContainerDriver) EnumDescriptor() ([]byte, []int)
Deprecated: Use ContainerDriver.Descriptor instead.
func (ContainerDriver) Number ¶
func (x ContainerDriver) Number() protoreflect.EnumNumber
func (ContainerDriver) String ¶
func (x ContainerDriver) String() string
func (ContainerDriver) Type ¶
func (ContainerDriver) Type() protoreflect.EnumType
type Data ¶
type Data struct { Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` Bytes []byte `protobuf:"bytes,2,opt,name=bytes,proto3" json:"bytes,omitempty"` // contains filtered or unexported fields }
func (*Data) Descriptor
deprecated
func (*Data) GetMetadata ¶
func (*Data) MarshalToSizedBufferVT ¶ added in v0.12.0
func (*Data) ProtoMessage ¶
func (*Data) ProtoMessage()
func (*Data) ProtoReflect ¶
func (x *Data) ProtoReflect() protoreflect.Message
func (*Data) UnmarshalVT ¶ added in v0.12.0
type DataResponse ¶
type DataResponse struct { Messages []*Data `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` // contains filtered or unexported fields }
func (*DataResponse) Descriptor
deprecated
func (*DataResponse) Descriptor() ([]byte, []int)
Deprecated: Use DataResponse.ProtoReflect.Descriptor instead.
func (*DataResponse) GetMessages ¶
func (x *DataResponse) GetMessages() []*Data
func (*DataResponse) MarshalToSizedBufferVT ¶ added in v0.12.0
func (m *DataResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*DataResponse) MarshalToVT ¶ added in v0.12.0
func (m *DataResponse) MarshalToVT(dAtA []byte) (int, error)
func (*DataResponse) MarshalVT ¶ added in v0.12.0
func (m *DataResponse) MarshalVT() (dAtA []byte, err error)
func (*DataResponse) ProtoMessage ¶
func (*DataResponse) ProtoMessage()
func (*DataResponse) ProtoReflect ¶
func (x *DataResponse) ProtoReflect() protoreflect.Message
func (*DataResponse) Reset ¶
func (x *DataResponse) Reset()
func (*DataResponse) SizeVT ¶ added in v0.12.0
func (m *DataResponse) SizeVT() (n int)
func (*DataResponse) String ¶
func (x *DataResponse) String() string
func (*DataResponse) UnmarshalVT ¶ added in v0.12.0
func (m *DataResponse) UnmarshalVT(dAtA []byte) error
type Empty ¶
type Empty struct { Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` // contains filtered or unexported fields }
func (*Empty) Descriptor
deprecated
func (*Empty) GetMetadata ¶
func (*Empty) MarshalToSizedBufferVT ¶ added in v0.12.0
func (*Empty) ProtoMessage ¶
func (*Empty) ProtoMessage()
func (*Empty) ProtoReflect ¶
func (x *Empty) ProtoReflect() protoreflect.Message
func (*Empty) UnmarshalVT ¶ added in v0.12.0
type EmptyResponse ¶
type EmptyResponse struct { Messages []*Empty `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` // contains filtered or unexported fields }
func (*EmptyResponse) Descriptor
deprecated
func (*EmptyResponse) Descriptor() ([]byte, []int)
Deprecated: Use EmptyResponse.ProtoReflect.Descriptor instead.
func (*EmptyResponse) GetMessages ¶
func (x *EmptyResponse) GetMessages() []*Empty
func (*EmptyResponse) MarshalToSizedBufferVT ¶ added in v0.12.0
func (m *EmptyResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*EmptyResponse) MarshalToVT ¶ added in v0.12.0
func (m *EmptyResponse) MarshalToVT(dAtA []byte) (int, error)
func (*EmptyResponse) MarshalVT ¶ added in v0.12.0
func (m *EmptyResponse) MarshalVT() (dAtA []byte, err error)
func (*EmptyResponse) ProtoMessage ¶
func (*EmptyResponse) ProtoMessage()
func (*EmptyResponse) ProtoReflect ¶
func (x *EmptyResponse) ProtoReflect() protoreflect.Message
func (*EmptyResponse) Reset ¶
func (x *EmptyResponse) Reset()
func (*EmptyResponse) SizeVT ¶ added in v0.12.0
func (m *EmptyResponse) SizeVT() (n int)
func (*EmptyResponse) String ¶
func (x *EmptyResponse) String() string
func (*EmptyResponse) UnmarshalVT ¶ added in v0.12.0
func (m *EmptyResponse) UnmarshalVT(dAtA []byte) error
type Error ¶
type Error struct { Code Code `protobuf:"varint,1,opt,name=code,proto3,enum=common.Code" json:"code,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` Details []*anypb.Any `protobuf:"bytes,3,rep,name=details,proto3" json:"details,omitempty"` // contains filtered or unexported fields }
func (*Error) Descriptor
deprecated
func (*Error) GetDetails ¶
func (*Error) GetMessage ¶
func (*Error) MarshalToSizedBufferVT ¶ added in v0.12.0
func (*Error) ProtoMessage ¶
func (*Error) ProtoMessage()
func (*Error) ProtoReflect ¶
func (x *Error) ProtoReflect() protoreflect.Message
func (*Error) UnmarshalVT ¶ added in v0.12.0
type Metadata ¶
type Metadata struct { // hostname of the server response comes from (injected by proxy) Hostname string `protobuf:"bytes,1,opt,name=hostname,proto3" json:"hostname,omitempty"` // error is set if request failed to the upstream (rest of response is // undefined) Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` // error as gRPC Status Status *status.Status `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"` // contains filtered or unexported fields }
Common metadata message nested in all reply message types
func (*Metadata) Descriptor
deprecated
func (*Metadata) GetHostname ¶
func (*Metadata) MarshalToSizedBufferVT ¶ added in v0.12.0
func (*Metadata) MarshalToVT ¶ added in v0.12.0
func (*Metadata) ProtoMessage ¶
func (*Metadata) ProtoMessage()
func (*Metadata) ProtoReflect ¶
func (x *Metadata) ProtoReflect() protoreflect.Message
func (*Metadata) UnmarshalVT ¶ added in v0.12.0
Click to show internal directories.
Click to hide internal directories.