common

package
v1.2.9 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Code_name = map[int32]string{
		0: "FATAL",
		1: "LOCKED",
		2: "CANCELED",
	}
	Code_value = map[string]int32{
		"FATAL":    0,
		"LOCKED":   1,
		"CANCELED": 2,
	}
)

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
const (
	Code_FATAL    Code = 0
	Code_LOCKED   Code = 1
	Code_CANCELED Code = 2
)

func (Code) Descriptor

func (Code) Descriptor() protoreflect.EnumDescriptor

func (Code) Enum

func (x Code) Enum() *Code

func (Code) EnumDescriptor deprecated

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

Deprecated: Use Code.Descriptor instead.

func (Code) Number

func (x Code) Number() protoreflect.EnumNumber

func (Code) String

func (x Code) String() string

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) Enum

func (x ContainerDriver) Enum() *ContainerDriver

func (ContainerDriver) EnumDescriptor deprecated

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

Deprecated: Use ContainerDriver.Descriptor instead.

func (ContainerDriver) Number

func (ContainerDriver) String

func (x ContainerDriver) String() string

func (ContainerDriver) Type

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) Descriptor() ([]byte, []int)

Deprecated: Use Data.ProtoReflect.Descriptor instead.

func (*Data) GetBytes

func (x *Data) GetBytes() []byte

func (*Data) GetMetadata

func (x *Data) GetMetadata() *Metadata

func (*Data) MarshalToSizedBufferVT added in v0.12.0

func (m *Data) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Data) MarshalToVT added in v0.12.0

func (m *Data) MarshalToVT(dAtA []byte) (int, error)

func (*Data) MarshalVT added in v0.12.0

func (m *Data) MarshalVT() (dAtA []byte, err error)

func (*Data) ProtoMessage

func (*Data) ProtoMessage()

func (*Data) ProtoReflect

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

func (*Data) Reset

func (x *Data) Reset()

func (*Data) SizeVT added in v0.12.0

func (m *Data) SizeVT() (n int)

func (*Data) String

func (x *Data) String() string

func (*Data) UnmarshalVT added in v0.12.0

func (m *Data) UnmarshalVT(dAtA []byte) error

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) Descriptor() ([]byte, []int)

Deprecated: Use Empty.ProtoReflect.Descriptor instead.

func (*Empty) GetMetadata

func (x *Empty) GetMetadata() *Metadata

func (*Empty) MarshalToSizedBufferVT added in v0.12.0

func (m *Empty) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Empty) MarshalToVT added in v0.12.0

func (m *Empty) MarshalToVT(dAtA []byte) (int, error)

func (*Empty) MarshalVT added in v0.12.0

func (m *Empty) MarshalVT() (dAtA []byte, err error)

func (*Empty) ProtoMessage

func (*Empty) ProtoMessage()

func (*Empty) ProtoReflect

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

func (*Empty) Reset

func (x *Empty) Reset()

func (*Empty) SizeVT added in v0.12.0

func (m *Empty) SizeVT() (n int)

func (*Empty) String

func (x *Empty) String() string

func (*Empty) UnmarshalVT added in v0.12.0

func (m *Empty) UnmarshalVT(dAtA []byte) error

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) Descriptor() ([]byte, []int)

Deprecated: Use Error.ProtoReflect.Descriptor instead.

func (*Error) GetCode

func (x *Error) GetCode() Code

func (*Error) GetDetails

func (x *Error) GetDetails() []*anypb.Any

func (*Error) GetMessage

func (x *Error) GetMessage() string

func (*Error) MarshalToSizedBufferVT added in v0.12.0

func (m *Error) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Error) MarshalToVT added in v0.12.0

func (m *Error) MarshalToVT(dAtA []byte) (int, error)

func (*Error) MarshalVT added in v0.12.0

func (m *Error) MarshalVT() (dAtA []byte, err error)

func (*Error) ProtoMessage

func (*Error) ProtoMessage()

func (*Error) ProtoReflect

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

func (*Error) Reset

func (x *Error) Reset()

func (*Error) SizeVT added in v0.12.0

func (m *Error) SizeVT() (n int)

func (*Error) String

func (x *Error) String() string

func (*Error) UnmarshalVT added in v0.12.0

func (m *Error) UnmarshalVT(dAtA []byte) error

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) Descriptor() ([]byte, []int)

Deprecated: Use Metadata.ProtoReflect.Descriptor instead.

func (*Metadata) GetError

func (x *Metadata) GetError() string

func (*Metadata) GetHostname

func (x *Metadata) GetHostname() string

func (*Metadata) GetStatus

func (x *Metadata) GetStatus() *status.Status

func (*Metadata) MarshalToSizedBufferVT added in v0.12.0

func (m *Metadata) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Metadata) MarshalToVT added in v0.12.0

func (m *Metadata) MarshalToVT(dAtA []byte) (int, error)

func (*Metadata) MarshalVT added in v0.12.0

func (m *Metadata) MarshalVT() (dAtA []byte, err error)

func (*Metadata) ProtoMessage

func (*Metadata) ProtoMessage()

func (*Metadata) ProtoReflect

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

func (*Metadata) Reset

func (x *Metadata) Reset()

func (*Metadata) SizeVT added in v0.12.0

func (m *Metadata) SizeVT() (n int)

func (*Metadata) String

func (x *Metadata) String() string

func (*Metadata) UnmarshalVT added in v0.12.0

func (m *Metadata) UnmarshalVT(dAtA []byte) error

type NetIP added in v1.2.0

type NetIP struct {
	Ip []byte `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"`
	// contains filtered or unexported fields
}

func (*NetIP) Descriptor deprecated added in v1.2.0

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

Deprecated: Use NetIP.ProtoReflect.Descriptor instead.

func (*NetIP) GetIp added in v1.2.0

func (x *NetIP) GetIp() []byte

func (*NetIP) MarshalToSizedBufferVT added in v1.2.0

func (m *NetIP) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*NetIP) MarshalToVT added in v1.2.0

func (m *NetIP) MarshalToVT(dAtA []byte) (int, error)

func (*NetIP) MarshalVT added in v1.2.0

func (m *NetIP) MarshalVT() (dAtA []byte, err error)

func (*NetIP) ProtoMessage added in v1.2.0

func (*NetIP) ProtoMessage()

func (*NetIP) ProtoReflect added in v1.2.0

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

func (*NetIP) Reset added in v1.2.0

func (x *NetIP) Reset()

func (*NetIP) SizeVT added in v1.2.0

func (m *NetIP) SizeVT() (n int)

func (*NetIP) String added in v1.2.0

func (x *NetIP) String() string

func (*NetIP) UnmarshalVT added in v1.2.0

func (m *NetIP) UnmarshalVT(dAtA []byte) error

type NetIPPort added in v1.2.0

type NetIPPort struct {
	Ip   []byte `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"`
	Port int32  `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`
	// contains filtered or unexported fields
}

func (*NetIPPort) Descriptor deprecated added in v1.2.0

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

Deprecated: Use NetIPPort.ProtoReflect.Descriptor instead.

func (*NetIPPort) GetIp added in v1.2.0

func (x *NetIPPort) GetIp() []byte

func (*NetIPPort) GetPort added in v1.2.0

func (x *NetIPPort) GetPort() int32

func (*NetIPPort) MarshalToSizedBufferVT added in v1.2.0

func (m *NetIPPort) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*NetIPPort) MarshalToVT added in v1.2.0

func (m *NetIPPort) MarshalToVT(dAtA []byte) (int, error)

func (*NetIPPort) MarshalVT added in v1.2.0

func (m *NetIPPort) MarshalVT() (dAtA []byte, err error)

func (*NetIPPort) ProtoMessage added in v1.2.0

func (*NetIPPort) ProtoMessage()

func (*NetIPPort) ProtoReflect added in v1.2.0

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

func (*NetIPPort) Reset added in v1.2.0

func (x *NetIPPort) Reset()

func (*NetIPPort) SizeVT added in v1.2.0

func (m *NetIPPort) SizeVT() (n int)

func (*NetIPPort) String added in v1.2.0

func (x *NetIPPort) String() string

func (*NetIPPort) UnmarshalVT added in v1.2.0

func (m *NetIPPort) UnmarshalVT(dAtA []byte) error

type NetIPPrefix added in v1.2.0

type NetIPPrefix struct {
	Ip           []byte `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"`
	PrefixLength int32  `protobuf:"varint,2,opt,name=prefix_length,json=prefixLength,proto3" json:"prefix_length,omitempty"`
	// contains filtered or unexported fields
}

func (*NetIPPrefix) Descriptor deprecated added in v1.2.0

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

Deprecated: Use NetIPPrefix.ProtoReflect.Descriptor instead.

func (*NetIPPrefix) GetIp added in v1.2.0

func (x *NetIPPrefix) GetIp() []byte

func (*NetIPPrefix) GetPrefixLength added in v1.2.0

func (x *NetIPPrefix) GetPrefixLength() int32

func (*NetIPPrefix) MarshalToSizedBufferVT added in v1.2.0

func (m *NetIPPrefix) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*NetIPPrefix) MarshalToVT added in v1.2.0

func (m *NetIPPrefix) MarshalToVT(dAtA []byte) (int, error)

func (*NetIPPrefix) MarshalVT added in v1.2.0

func (m *NetIPPrefix) MarshalVT() (dAtA []byte, err error)

func (*NetIPPrefix) ProtoMessage added in v1.2.0

func (*NetIPPrefix) ProtoMessage()

func (*NetIPPrefix) ProtoReflect added in v1.2.0

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

func (*NetIPPrefix) Reset added in v1.2.0

func (x *NetIPPrefix) Reset()

func (*NetIPPrefix) SizeVT added in v1.2.0

func (m *NetIPPrefix) SizeVT() (n int)

func (*NetIPPrefix) String added in v1.2.0

func (x *NetIPPrefix) String() string

func (*NetIPPrefix) UnmarshalVT added in v1.2.0

func (m *NetIPPrefix) UnmarshalVT(dAtA []byte) error

type PEMEncodedCertificateAndKey added in v1.2.0

type PEMEncodedCertificateAndKey struct {
	Crt []byte `protobuf:"bytes,1,opt,name=crt,proto3" json:"crt,omitempty"`
	Key []byte `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

func (*PEMEncodedCertificateAndKey) Descriptor deprecated added in v1.2.0

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

Deprecated: Use PEMEncodedCertificateAndKey.ProtoReflect.Descriptor instead.

func (*PEMEncodedCertificateAndKey) GetCrt added in v1.2.0

func (x *PEMEncodedCertificateAndKey) GetCrt() []byte

func (*PEMEncodedCertificateAndKey) GetKey added in v1.2.0

func (x *PEMEncodedCertificateAndKey) GetKey() []byte

func (*PEMEncodedCertificateAndKey) MarshalToSizedBufferVT added in v1.2.0

func (m *PEMEncodedCertificateAndKey) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*PEMEncodedCertificateAndKey) MarshalToVT added in v1.2.0

func (m *PEMEncodedCertificateAndKey) MarshalToVT(dAtA []byte) (int, error)

func (*PEMEncodedCertificateAndKey) MarshalVT added in v1.2.0

func (m *PEMEncodedCertificateAndKey) MarshalVT() (dAtA []byte, err error)

func (*PEMEncodedCertificateAndKey) ProtoMessage added in v1.2.0

func (*PEMEncodedCertificateAndKey) ProtoMessage()

func (*PEMEncodedCertificateAndKey) ProtoReflect added in v1.2.0

func (*PEMEncodedCertificateAndKey) Reset added in v1.2.0

func (x *PEMEncodedCertificateAndKey) Reset()

func (*PEMEncodedCertificateAndKey) SizeVT added in v1.2.0

func (m *PEMEncodedCertificateAndKey) SizeVT() (n int)

func (*PEMEncodedCertificateAndKey) String added in v1.2.0

func (x *PEMEncodedCertificateAndKey) String() string

func (*PEMEncodedCertificateAndKey) UnmarshalVT added in v1.2.0

func (m *PEMEncodedCertificateAndKey) UnmarshalVT(dAtA []byte) error

type PEMEncodedKey added in v1.2.0

type PEMEncodedKey struct {
	Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

func (*PEMEncodedKey) Descriptor deprecated added in v1.2.0

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

Deprecated: Use PEMEncodedKey.ProtoReflect.Descriptor instead.

func (*PEMEncodedKey) GetKey added in v1.2.0

func (x *PEMEncodedKey) GetKey() []byte

func (*PEMEncodedKey) MarshalToSizedBufferVT added in v1.2.0

func (m *PEMEncodedKey) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*PEMEncodedKey) MarshalToVT added in v1.2.0

func (m *PEMEncodedKey) MarshalToVT(dAtA []byte) (int, error)

func (*PEMEncodedKey) MarshalVT added in v1.2.0

func (m *PEMEncodedKey) MarshalVT() (dAtA []byte, err error)

func (*PEMEncodedKey) ProtoMessage added in v1.2.0

func (*PEMEncodedKey) ProtoMessage()

func (*PEMEncodedKey) ProtoReflect added in v1.2.0

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

func (*PEMEncodedKey) Reset added in v1.2.0

func (x *PEMEncodedKey) Reset()

func (*PEMEncodedKey) SizeVT added in v1.2.0

func (m *PEMEncodedKey) SizeVT() (n int)

func (*PEMEncodedKey) String added in v1.2.0

func (x *PEMEncodedKey) String() string

func (*PEMEncodedKey) UnmarshalVT added in v1.2.0

func (m *PEMEncodedKey) UnmarshalVT(dAtA []byte) error

type URL added in v1.2.0

type URL struct {
	FullPath string `protobuf:"bytes,1,opt,name=full_path,json=fullPath,proto3" json:"full_path,omitempty"`
	// contains filtered or unexported fields
}

func (*URL) Descriptor deprecated added in v1.2.0

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

Deprecated: Use URL.ProtoReflect.Descriptor instead.

func (*URL) GetFullPath added in v1.2.0

func (x *URL) GetFullPath() string

func (*URL) MarshalToSizedBufferVT added in v1.2.0

func (m *URL) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*URL) MarshalToVT added in v1.2.0

func (m *URL) MarshalToVT(dAtA []byte) (int, error)

func (*URL) MarshalVT added in v1.2.0

func (m *URL) MarshalVT() (dAtA []byte, err error)

func (*URL) ProtoMessage added in v1.2.0

func (*URL) ProtoMessage()

func (*URL) ProtoReflect added in v1.2.0

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

func (*URL) Reset added in v1.2.0

func (x *URL) Reset()

func (*URL) SizeVT added in v1.2.0

func (m *URL) SizeVT() (n int)

func (*URL) String added in v1.2.0

func (x *URL) String() string

func (*URL) UnmarshalVT added in v1.2.0

func (m *URL) UnmarshalVT(dAtA []byte) error

Jump to

Keyboard shortcuts

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