abbotgopb

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2021 License: Apache-2.0 Imports: 15 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthContainer        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowContainer          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupContainer = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthDriverBridge        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowDriverBridge          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupDriverBridge = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthDriverUnknown        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowDriverUnknown          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupDriverUnknown = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthDriverWireguard        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowDriverWireguard          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupDriverWireguard = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthHost        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowHost          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupHost = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthMeta        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowMeta          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupMeta = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthProto        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowProto          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupProto = fmt.Errorf("proto: unexpected end of group")
)
View Source
var RequestType_name = map[int32]string{
	0:  "_INVALID_REQUEST",
	11: "REQ_ENSURE_CTR_NETWORK_CONFIG",
	12: "REQ_QUERY_CTR_NETWORK_CONFIG",
	21: "REQ_ENSURE_CTR_NETWORK",
	22: "REQ_RESTORE_CTR_NETWORK",
	23: "REQ_DELETE_CTR_NETWORK",
	24: "REQ_QUERY_CTR_NETWORK",
	31: "REQ_ENSURE_HOST_NETWORK_CONFIG",
	32: "REQ_QUERY_HOST_NETWORK_CONFIG",
}
View Source
var RequestType_value = map[string]int32{
	"_INVALID_REQUEST":               0,
	"REQ_ENSURE_CTR_NETWORK_CONFIG":  11,
	"REQ_QUERY_CTR_NETWORK_CONFIG":   12,
	"REQ_ENSURE_CTR_NETWORK":         21,
	"REQ_RESTORE_CTR_NETWORK":        22,
	"REQ_DELETE_CTR_NETWORK":         23,
	"REQ_QUERY_CTR_NETWORK":          24,
	"REQ_ENSURE_HOST_NETWORK_CONFIG": 31,
	"REQ_QUERY_HOST_NETWORK_CONFIG":  32,
}
View Source
var ResponseType_name = map[int32]string{
	0:  "_INVALID_RESPONSE",
	1:  "RESP_DONE",
	11: "RESP_CTR_NETWORK_CONFIG",
	21: "RESP_CTR_NETWORK_STATUS",
	22: "RESP_CTR_NETWORK_STATUS_LIST",
	31: "RESP_HOST_NETWORK_CONFIG",
}
View Source
var ResponseType_value = map[string]int32{
	"_INVALID_RESPONSE":            0,
	"RESP_DONE":                    1,
	"RESP_CTR_NETWORK_CONFIG":      11,
	"RESP_CTR_NETWORK_STATUS":      21,
	"RESP_CTR_NETWORK_STATUS_LIST": 22,
	"RESP_HOST_NETWORK_CONFIG":     31,
}

Functions

func RegisterNetworkManagerServer

func RegisterNetworkManagerServer(s *grpc.Server, srv NetworkManagerServer)

Types

type CNICapArgs

type CNICapArgs struct {
	// Types that are valid to be assigned to Option:
	//	*CNICapArgs_PortMapArg
	//	*CNICapArgs_BandwidthArg
	//	*CNICapArgs_IpRangeArg
	//	*CNICapArgs_DnsConfigArg
	//	*CNICapArgs_IpAddressesArg
	//	*CNICapArgs_MacAddressArg
	//	*CNICapArgs_InfinibandGuidArg
	//	*CNICapArgs_DeviceIdArg
	Option isCNICapArgs_Option `protobuf_oneof:"option"`
}

CNI capabilities args https://github.com/containernetworking/cni/blob/master/CONVENTIONS.md#well-known-capabilities

func (*CNICapArgs) Descriptor

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

func (*CNICapArgs) Equal

func (this *CNICapArgs) Equal(that interface{}) bool

func (*CNICapArgs) GetBandwidthArg

func (m *CNICapArgs) GetBandwidthArg() *CNICapArgs_Bandwidth

func (*CNICapArgs) GetDeviceIdArg

func (m *CNICapArgs) GetDeviceIdArg() *CNICapArgs_DeviceID

func (*CNICapArgs) GetDnsConfigArg

func (m *CNICapArgs) GetDnsConfigArg() *CNICapArgs_DNSConfig

func (*CNICapArgs) GetInfinibandGuidArg

func (m *CNICapArgs) GetInfinibandGuidArg() *CNICapArgs_InfinibandGUID

func (*CNICapArgs) GetIpAddressesArg

func (m *CNICapArgs) GetIpAddressesArg() *CNICapArgs_IPAddresses

func (*CNICapArgs) GetIpRangeArg

func (m *CNICapArgs) GetIpRangeArg() *CNICapArgs_IPRange

func (*CNICapArgs) GetMacAddressArg

func (m *CNICapArgs) GetMacAddressArg() *CNICapArgs_MacAddress

func (*CNICapArgs) GetOption

func (m *CNICapArgs) GetOption() isCNICapArgs_Option

func (*CNICapArgs) GetPortMapArg

func (m *CNICapArgs) GetPortMapArg() *CNICapArgs_PortMap

func (*CNICapArgs) GoString

func (this *CNICapArgs) GoString() string

func (*CNICapArgs) Marshal

func (m *CNICapArgs) Marshal() (dAtA []byte, err error)

func (*CNICapArgs) MarshalTo

func (m *CNICapArgs) MarshalTo(dAtA []byte) (int, error)

func (*CNICapArgs) MarshalToSizedBuffer

func (m *CNICapArgs) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CNICapArgs) ProtoMessage

func (*CNICapArgs) ProtoMessage()

func (*CNICapArgs) Reset

func (m *CNICapArgs) Reset()

func (*CNICapArgs) Size

func (m *CNICapArgs) Size() (n int)

func (*CNICapArgs) String

func (this *CNICapArgs) String() string

func (*CNICapArgs) Unmarshal

func (m *CNICapArgs) Unmarshal(dAtA []byte) error

func (*CNICapArgs) XXX_DiscardUnknown

func (m *CNICapArgs) XXX_DiscardUnknown()

func (*CNICapArgs) XXX_Marshal

func (m *CNICapArgs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CNICapArgs) XXX_Merge

func (m *CNICapArgs) XXX_Merge(src proto.Message)

func (*CNICapArgs) XXX_OneofWrappers

func (*CNICapArgs) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*CNICapArgs) XXX_Size

func (m *CNICapArgs) XXX_Size() int

func (*CNICapArgs) XXX_Unmarshal

func (m *CNICapArgs) XXX_Unmarshal(b []byte) error

type CNICapArgs_Bandwidth

type CNICapArgs_Bandwidth struct {
	IngressRate  int32 `protobuf:"varint,1,opt,name=ingress_rate,json=ingressRate,proto3" json:"ingressRate,omitempty"`
	IngressBurst int32 `protobuf:"varint,2,opt,name=ingress_burst,json=ingressBurst,proto3" json:"ingressBurst,omitempty"`
	EgressRate   int32 `protobuf:"varint,3,opt,name=egress_rate,json=egressRate,proto3" json:"egressRate,omitempty"`
	EgressBurst  int32 `protobuf:"varint,4,opt,name=egress_burst,json=egressBurst,proto3" json:"egressBurst,omitempty"`
}

func (*CNICapArgs_Bandwidth) Descriptor

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

func (*CNICapArgs_Bandwidth) Equal

func (this *CNICapArgs_Bandwidth) Equal(that interface{}) bool

func (*CNICapArgs_Bandwidth) GetEgressBurst

func (m *CNICapArgs_Bandwidth) GetEgressBurst() int32

func (*CNICapArgs_Bandwidth) GetEgressRate

func (m *CNICapArgs_Bandwidth) GetEgressRate() int32

func (*CNICapArgs_Bandwidth) GetIngressBurst

func (m *CNICapArgs_Bandwidth) GetIngressBurst() int32

func (*CNICapArgs_Bandwidth) GetIngressRate

func (m *CNICapArgs_Bandwidth) GetIngressRate() int32

func (*CNICapArgs_Bandwidth) GoString

func (this *CNICapArgs_Bandwidth) GoString() string

func (*CNICapArgs_Bandwidth) Marshal

func (m *CNICapArgs_Bandwidth) Marshal() (dAtA []byte, err error)

func (*CNICapArgs_Bandwidth) MarshalTo

func (m *CNICapArgs_Bandwidth) MarshalTo(dAtA []byte) (int, error)

func (*CNICapArgs_Bandwidth) MarshalToSizedBuffer

func (m *CNICapArgs_Bandwidth) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CNICapArgs_Bandwidth) ProtoMessage

func (*CNICapArgs_Bandwidth) ProtoMessage()

func (*CNICapArgs_Bandwidth) Reset

func (m *CNICapArgs_Bandwidth) Reset()

func (*CNICapArgs_Bandwidth) Size

func (m *CNICapArgs_Bandwidth) Size() (n int)

func (*CNICapArgs_Bandwidth) String

func (this *CNICapArgs_Bandwidth) String() string

func (*CNICapArgs_Bandwidth) Unmarshal

func (m *CNICapArgs_Bandwidth) Unmarshal(dAtA []byte) error

func (*CNICapArgs_Bandwidth) XXX_DiscardUnknown

func (m *CNICapArgs_Bandwidth) XXX_DiscardUnknown()

func (*CNICapArgs_Bandwidth) XXX_Marshal

func (m *CNICapArgs_Bandwidth) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CNICapArgs_Bandwidth) XXX_Merge

func (m *CNICapArgs_Bandwidth) XXX_Merge(src proto.Message)

func (*CNICapArgs_Bandwidth) XXX_Size

func (m *CNICapArgs_Bandwidth) XXX_Size() int

func (*CNICapArgs_Bandwidth) XXX_Unmarshal

func (m *CNICapArgs_Bandwidth) XXX_Unmarshal(b []byte) error

type CNICapArgs_BandwidthArg

type CNICapArgs_BandwidthArg struct {
	BandwidthArg *CNICapArgs_Bandwidth `protobuf:"bytes,2,opt,name=bandwidth_arg,json=bandwidthArg,proto3,oneof" json:"bandwidth_arg,omitempty"`
}

func (*CNICapArgs_BandwidthArg) Equal

func (this *CNICapArgs_BandwidthArg) Equal(that interface{}) bool

func (*CNICapArgs_BandwidthArg) GoString

func (this *CNICapArgs_BandwidthArg) GoString() string

func (*CNICapArgs_BandwidthArg) MarshalTo

func (m *CNICapArgs_BandwidthArg) MarshalTo(dAtA []byte) (int, error)

func (*CNICapArgs_BandwidthArg) MarshalToSizedBuffer

func (m *CNICapArgs_BandwidthArg) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CNICapArgs_BandwidthArg) Size

func (m *CNICapArgs_BandwidthArg) Size() (n int)

func (*CNICapArgs_BandwidthArg) String

func (this *CNICapArgs_BandwidthArg) String() string

type CNICapArgs_DNSConfig

type CNICapArgs_DNSConfig struct {
	Servers  []string `protobuf:"bytes,1,rep,name=servers,proto3" json:"servers,omitempty"`
	Searches []string `protobuf:"bytes,2,rep,name=searches,proto3" json:"searches,omitempty"`
	Options  []string `protobuf:"bytes,3,rep,name=options,proto3" json:"options,omitempty"`
}

func (*CNICapArgs_DNSConfig) Descriptor

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

func (*CNICapArgs_DNSConfig) Equal

func (this *CNICapArgs_DNSConfig) Equal(that interface{}) bool

func (*CNICapArgs_DNSConfig) GetOptions

func (m *CNICapArgs_DNSConfig) GetOptions() []string

func (*CNICapArgs_DNSConfig) GetSearches

func (m *CNICapArgs_DNSConfig) GetSearches() []string

func (*CNICapArgs_DNSConfig) GetServers

func (m *CNICapArgs_DNSConfig) GetServers() []string

func (*CNICapArgs_DNSConfig) GoString

func (this *CNICapArgs_DNSConfig) GoString() string

func (*CNICapArgs_DNSConfig) Marshal

func (m *CNICapArgs_DNSConfig) Marshal() (dAtA []byte, err error)

func (*CNICapArgs_DNSConfig) MarshalTo

func (m *CNICapArgs_DNSConfig) MarshalTo(dAtA []byte) (int, error)

func (*CNICapArgs_DNSConfig) MarshalToSizedBuffer

func (m *CNICapArgs_DNSConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CNICapArgs_DNSConfig) ProtoMessage

func (*CNICapArgs_DNSConfig) ProtoMessage()

func (*CNICapArgs_DNSConfig) Reset

func (m *CNICapArgs_DNSConfig) Reset()

func (*CNICapArgs_DNSConfig) Size

func (m *CNICapArgs_DNSConfig) Size() (n int)

func (*CNICapArgs_DNSConfig) String

func (this *CNICapArgs_DNSConfig) String() string

func (*CNICapArgs_DNSConfig) Unmarshal

func (m *CNICapArgs_DNSConfig) Unmarshal(dAtA []byte) error

func (*CNICapArgs_DNSConfig) XXX_DiscardUnknown

func (m *CNICapArgs_DNSConfig) XXX_DiscardUnknown()

func (*CNICapArgs_DNSConfig) XXX_Marshal

func (m *CNICapArgs_DNSConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CNICapArgs_DNSConfig) XXX_Merge

func (m *CNICapArgs_DNSConfig) XXX_Merge(src proto.Message)

func (*CNICapArgs_DNSConfig) XXX_Size

func (m *CNICapArgs_DNSConfig) XXX_Size() int

func (*CNICapArgs_DNSConfig) XXX_Unmarshal

func (m *CNICapArgs_DNSConfig) XXX_Unmarshal(b []byte) error

type CNICapArgs_DeviceID

type CNICapArgs_DeviceID struct {
	DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"deviceID,omitempty"`
}

func (*CNICapArgs_DeviceID) Descriptor

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

func (*CNICapArgs_DeviceID) Equal

func (this *CNICapArgs_DeviceID) Equal(that interface{}) bool

func (*CNICapArgs_DeviceID) GetDeviceId

func (m *CNICapArgs_DeviceID) GetDeviceId() string

func (*CNICapArgs_DeviceID) GoString

func (this *CNICapArgs_DeviceID) GoString() string

func (*CNICapArgs_DeviceID) Marshal

func (m *CNICapArgs_DeviceID) Marshal() (dAtA []byte, err error)

func (*CNICapArgs_DeviceID) MarshalTo

func (m *CNICapArgs_DeviceID) MarshalTo(dAtA []byte) (int, error)

func (*CNICapArgs_DeviceID) MarshalToSizedBuffer

func (m *CNICapArgs_DeviceID) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CNICapArgs_DeviceID) ProtoMessage

func (*CNICapArgs_DeviceID) ProtoMessage()

func (*CNICapArgs_DeviceID) Reset

func (m *CNICapArgs_DeviceID) Reset()

func (*CNICapArgs_DeviceID) Size

func (m *CNICapArgs_DeviceID) Size() (n int)

func (*CNICapArgs_DeviceID) String

func (this *CNICapArgs_DeviceID) String() string

func (*CNICapArgs_DeviceID) Unmarshal

func (m *CNICapArgs_DeviceID) Unmarshal(dAtA []byte) error

func (*CNICapArgs_DeviceID) XXX_DiscardUnknown

func (m *CNICapArgs_DeviceID) XXX_DiscardUnknown()

func (*CNICapArgs_DeviceID) XXX_Marshal

func (m *CNICapArgs_DeviceID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CNICapArgs_DeviceID) XXX_Merge

func (m *CNICapArgs_DeviceID) XXX_Merge(src proto.Message)

func (*CNICapArgs_DeviceID) XXX_Size

func (m *CNICapArgs_DeviceID) XXX_Size() int

func (*CNICapArgs_DeviceID) XXX_Unmarshal

func (m *CNICapArgs_DeviceID) XXX_Unmarshal(b []byte) error

type CNICapArgs_DeviceIdArg

type CNICapArgs_DeviceIdArg struct {
	DeviceIdArg *CNICapArgs_DeviceID `protobuf:"bytes,8,opt,name=device_id_arg,json=deviceIdArg,proto3,oneof" json:"device_id_arg,omitempty"`
}

func (*CNICapArgs_DeviceIdArg) Equal

func (this *CNICapArgs_DeviceIdArg) Equal(that interface{}) bool

func (*CNICapArgs_DeviceIdArg) GoString

func (this *CNICapArgs_DeviceIdArg) GoString() string

func (*CNICapArgs_DeviceIdArg) MarshalTo

func (m *CNICapArgs_DeviceIdArg) MarshalTo(dAtA []byte) (int, error)

func (*CNICapArgs_DeviceIdArg) MarshalToSizedBuffer

func (m *CNICapArgs_DeviceIdArg) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CNICapArgs_DeviceIdArg) Size

func (m *CNICapArgs_DeviceIdArg) Size() (n int)

func (*CNICapArgs_DeviceIdArg) String

func (this *CNICapArgs_DeviceIdArg) String() string

type CNICapArgs_DnsConfigArg

type CNICapArgs_DnsConfigArg struct {
	DnsConfigArg *CNICapArgs_DNSConfig `protobuf:"bytes,4,opt,name=dns_config_arg,json=dnsConfigArg,proto3,oneof" json:"dns_config_arg,omitempty"`
}

func (*CNICapArgs_DnsConfigArg) Equal

func (this *CNICapArgs_DnsConfigArg) Equal(that interface{}) bool

func (*CNICapArgs_DnsConfigArg) GoString

func (this *CNICapArgs_DnsConfigArg) GoString() string

func (*CNICapArgs_DnsConfigArg) MarshalTo

func (m *CNICapArgs_DnsConfigArg) MarshalTo(dAtA []byte) (int, error)

func (*CNICapArgs_DnsConfigArg) MarshalToSizedBuffer

func (m *CNICapArgs_DnsConfigArg) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CNICapArgs_DnsConfigArg) Size

func (m *CNICapArgs_DnsConfigArg) Size() (n int)

func (*CNICapArgs_DnsConfigArg) String

func (this *CNICapArgs_DnsConfigArg) String() string

type CNICapArgs_IPAddresses

type CNICapArgs_IPAddresses struct {
	Ips []string `protobuf:"bytes,1,rep,name=ips,proto3" json:"ips,omitempty"`
}

func (*CNICapArgs_IPAddresses) Descriptor

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

func (*CNICapArgs_IPAddresses) Equal

func (this *CNICapArgs_IPAddresses) Equal(that interface{}) bool

func (*CNICapArgs_IPAddresses) GetIps

func (m *CNICapArgs_IPAddresses) GetIps() []string

func (*CNICapArgs_IPAddresses) GoString

func (this *CNICapArgs_IPAddresses) GoString() string

func (*CNICapArgs_IPAddresses) Marshal

func (m *CNICapArgs_IPAddresses) Marshal() (dAtA []byte, err error)

func (*CNICapArgs_IPAddresses) MarshalTo

func (m *CNICapArgs_IPAddresses) MarshalTo(dAtA []byte) (int, error)

func (*CNICapArgs_IPAddresses) MarshalToSizedBuffer

func (m *CNICapArgs_IPAddresses) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CNICapArgs_IPAddresses) ProtoMessage

func (*CNICapArgs_IPAddresses) ProtoMessage()

func (*CNICapArgs_IPAddresses) Reset

func (m *CNICapArgs_IPAddresses) Reset()

func (*CNICapArgs_IPAddresses) Size

func (m *CNICapArgs_IPAddresses) Size() (n int)

func (*CNICapArgs_IPAddresses) String

func (this *CNICapArgs_IPAddresses) String() string

func (*CNICapArgs_IPAddresses) Unmarshal

func (m *CNICapArgs_IPAddresses) Unmarshal(dAtA []byte) error

func (*CNICapArgs_IPAddresses) XXX_DiscardUnknown

func (m *CNICapArgs_IPAddresses) XXX_DiscardUnknown()

func (*CNICapArgs_IPAddresses) XXX_Marshal

func (m *CNICapArgs_IPAddresses) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CNICapArgs_IPAddresses) XXX_Merge

func (m *CNICapArgs_IPAddresses) XXX_Merge(src proto.Message)

func (*CNICapArgs_IPAddresses) XXX_Size

func (m *CNICapArgs_IPAddresses) XXX_Size() int

func (*CNICapArgs_IPAddresses) XXX_Unmarshal

func (m *CNICapArgs_IPAddresses) XXX_Unmarshal(b []byte) error

type CNICapArgs_IPRange

type CNICapArgs_IPRange struct {
	Subnet     string `protobuf:"bytes,1,opt,name=subnet,proto3" json:"subnet"`
	RangeStart string `protobuf:"bytes,2,opt,name=range_start,json=rangeStart,proto3" json:"rangeStart,omitempty"`
	RangeEnd   string `protobuf:"bytes,3,opt,name=range_end,json=rangeEnd,proto3" json:"rangeEnd,omitempty"`
	Gateway    string `protobuf:"bytes,4,opt,name=gateway,proto3" json:"gateway,omitempty"`
}

func (*CNICapArgs_IPRange) Descriptor

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

func (*CNICapArgs_IPRange) Equal

func (this *CNICapArgs_IPRange) Equal(that interface{}) bool

func (*CNICapArgs_IPRange) GetGateway

func (m *CNICapArgs_IPRange) GetGateway() string

func (*CNICapArgs_IPRange) GetRangeEnd

func (m *CNICapArgs_IPRange) GetRangeEnd() string

func (*CNICapArgs_IPRange) GetRangeStart

func (m *CNICapArgs_IPRange) GetRangeStart() string

func (*CNICapArgs_IPRange) GetSubnet

func (m *CNICapArgs_IPRange) GetSubnet() string

func (*CNICapArgs_IPRange) GoString

func (this *CNICapArgs_IPRange) GoString() string

func (*CNICapArgs_IPRange) Marshal

func (m *CNICapArgs_IPRange) Marshal() (dAtA []byte, err error)

func (*CNICapArgs_IPRange) MarshalTo

func (m *CNICapArgs_IPRange) MarshalTo(dAtA []byte) (int, error)

func (*CNICapArgs_IPRange) MarshalToSizedBuffer

func (m *CNICapArgs_IPRange) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CNICapArgs_IPRange) ProtoMessage

func (*CNICapArgs_IPRange) ProtoMessage()

func (*CNICapArgs_IPRange) Reset

func (m *CNICapArgs_IPRange) Reset()

func (*CNICapArgs_IPRange) Size

func (m *CNICapArgs_IPRange) Size() (n int)

func (*CNICapArgs_IPRange) String

func (this *CNICapArgs_IPRange) String() string

func (*CNICapArgs_IPRange) Unmarshal

func (m *CNICapArgs_IPRange) Unmarshal(dAtA []byte) error

func (*CNICapArgs_IPRange) XXX_DiscardUnknown

func (m *CNICapArgs_IPRange) XXX_DiscardUnknown()

func (*CNICapArgs_IPRange) XXX_Marshal

func (m *CNICapArgs_IPRange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CNICapArgs_IPRange) XXX_Merge

func (m *CNICapArgs_IPRange) XXX_Merge(src proto.Message)

func (*CNICapArgs_IPRange) XXX_Size

func (m *CNICapArgs_IPRange) XXX_Size() int

func (*CNICapArgs_IPRange) XXX_Unmarshal

func (m *CNICapArgs_IPRange) XXX_Unmarshal(b []byte) error

type CNICapArgs_InfinibandGUID

type CNICapArgs_InfinibandGUID struct {
	InfinibandGuid string `protobuf:"bytes,1,opt,name=infiniband_guid,json=infinibandGuid,proto3" json:"infinibandGUID,omitempty"`
}

func (*CNICapArgs_InfinibandGUID) Descriptor

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

func (*CNICapArgs_InfinibandGUID) Equal

func (this *CNICapArgs_InfinibandGUID) Equal(that interface{}) bool

func (*CNICapArgs_InfinibandGUID) GetInfinibandGuid

func (m *CNICapArgs_InfinibandGUID) GetInfinibandGuid() string

func (*CNICapArgs_InfinibandGUID) GoString

func (this *CNICapArgs_InfinibandGUID) GoString() string

func (*CNICapArgs_InfinibandGUID) Marshal

func (m *CNICapArgs_InfinibandGUID) Marshal() (dAtA []byte, err error)

func (*CNICapArgs_InfinibandGUID) MarshalTo

func (m *CNICapArgs_InfinibandGUID) MarshalTo(dAtA []byte) (int, error)

func (*CNICapArgs_InfinibandGUID) MarshalToSizedBuffer

func (m *CNICapArgs_InfinibandGUID) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CNICapArgs_InfinibandGUID) ProtoMessage

func (*CNICapArgs_InfinibandGUID) ProtoMessage()

func (*CNICapArgs_InfinibandGUID) Reset

func (m *CNICapArgs_InfinibandGUID) Reset()

func (*CNICapArgs_InfinibandGUID) Size

func (m *CNICapArgs_InfinibandGUID) Size() (n int)

func (*CNICapArgs_InfinibandGUID) String

func (this *CNICapArgs_InfinibandGUID) String() string

func (*CNICapArgs_InfinibandGUID) Unmarshal

func (m *CNICapArgs_InfinibandGUID) Unmarshal(dAtA []byte) error

func (*CNICapArgs_InfinibandGUID) XXX_DiscardUnknown

func (m *CNICapArgs_InfinibandGUID) XXX_DiscardUnknown()

func (*CNICapArgs_InfinibandGUID) XXX_Marshal

func (m *CNICapArgs_InfinibandGUID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CNICapArgs_InfinibandGUID) XXX_Merge

func (m *CNICapArgs_InfinibandGUID) XXX_Merge(src proto.Message)

func (*CNICapArgs_InfinibandGUID) XXX_Size

func (m *CNICapArgs_InfinibandGUID) XXX_Size() int

func (*CNICapArgs_InfinibandGUID) XXX_Unmarshal

func (m *CNICapArgs_InfinibandGUID) XXX_Unmarshal(b []byte) error

type CNICapArgs_InfinibandGuidArg

type CNICapArgs_InfinibandGuidArg struct {
	InfinibandGuidArg *CNICapArgs_InfinibandGUID `protobuf:"bytes,7,opt,name=infiniband_guid_arg,json=infinibandGuidArg,proto3,oneof" json:"infiniband_guid_arg,omitempty"`
}

func (*CNICapArgs_InfinibandGuidArg) Equal

func (this *CNICapArgs_InfinibandGuidArg) Equal(that interface{}) bool

func (*CNICapArgs_InfinibandGuidArg) GoString

func (this *CNICapArgs_InfinibandGuidArg) GoString() string

func (*CNICapArgs_InfinibandGuidArg) MarshalTo

func (m *CNICapArgs_InfinibandGuidArg) MarshalTo(dAtA []byte) (int, error)

func (*CNICapArgs_InfinibandGuidArg) MarshalToSizedBuffer

func (m *CNICapArgs_InfinibandGuidArg) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CNICapArgs_InfinibandGuidArg) Size

func (m *CNICapArgs_InfinibandGuidArg) Size() (n int)

func (*CNICapArgs_InfinibandGuidArg) String

func (this *CNICapArgs_InfinibandGuidArg) String() string

type CNICapArgs_IpAddressesArg

type CNICapArgs_IpAddressesArg struct {
	IpAddressesArg *CNICapArgs_IPAddresses `protobuf:"bytes,5,opt,name=ip_addresses_arg,json=ipAddressesArg,proto3,oneof" json:"ip_addresses_arg,omitempty"`
}

func (*CNICapArgs_IpAddressesArg) Equal

func (this *CNICapArgs_IpAddressesArg) Equal(that interface{}) bool

func (*CNICapArgs_IpAddressesArg) GoString

func (this *CNICapArgs_IpAddressesArg) GoString() string

func (*CNICapArgs_IpAddressesArg) MarshalTo

func (m *CNICapArgs_IpAddressesArg) MarshalTo(dAtA []byte) (int, error)

func (*CNICapArgs_IpAddressesArg) MarshalToSizedBuffer

func (m *CNICapArgs_IpAddressesArg) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CNICapArgs_IpAddressesArg) Size

func (m *CNICapArgs_IpAddressesArg) Size() (n int)

func (*CNICapArgs_IpAddressesArg) String

func (this *CNICapArgs_IpAddressesArg) String() string

type CNICapArgs_IpRangeArg

type CNICapArgs_IpRangeArg struct {
	IpRangeArg *CNICapArgs_IPRange `protobuf:"bytes,3,opt,name=ip_range_arg,json=ipRangeArg,proto3,oneof" json:"ip_range_arg,omitempty"`
}

func (*CNICapArgs_IpRangeArg) Equal

func (this *CNICapArgs_IpRangeArg) Equal(that interface{}) bool

func (*CNICapArgs_IpRangeArg) GoString

func (this *CNICapArgs_IpRangeArg) GoString() string

func (*CNICapArgs_IpRangeArg) MarshalTo

func (m *CNICapArgs_IpRangeArg) MarshalTo(dAtA []byte) (int, error)

func (*CNICapArgs_IpRangeArg) MarshalToSizedBuffer

func (m *CNICapArgs_IpRangeArg) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CNICapArgs_IpRangeArg) Size

func (m *CNICapArgs_IpRangeArg) Size() (n int)

func (*CNICapArgs_IpRangeArg) String

func (this *CNICapArgs_IpRangeArg) String() string

type CNICapArgs_MacAddress

type CNICapArgs_MacAddress struct {
	Mac string `protobuf:"bytes,1,opt,name=mac,proto3" json:"mac,omitempty"`
}

func (*CNICapArgs_MacAddress) Descriptor

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

func (*CNICapArgs_MacAddress) Equal

func (this *CNICapArgs_MacAddress) Equal(that interface{}) bool

func (*CNICapArgs_MacAddress) GetMac

func (m *CNICapArgs_MacAddress) GetMac() string

func (*CNICapArgs_MacAddress) GoString

func (this *CNICapArgs_MacAddress) GoString() string

func (*CNICapArgs_MacAddress) Marshal

func (m *CNICapArgs_MacAddress) Marshal() (dAtA []byte, err error)

func (*CNICapArgs_MacAddress) MarshalTo

func (m *CNICapArgs_MacAddress) MarshalTo(dAtA []byte) (int, error)

func (*CNICapArgs_MacAddress) MarshalToSizedBuffer

func (m *CNICapArgs_MacAddress) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CNICapArgs_MacAddress) ProtoMessage

func (*CNICapArgs_MacAddress) ProtoMessage()

func (*CNICapArgs_MacAddress) Reset

func (m *CNICapArgs_MacAddress) Reset()

func (*CNICapArgs_MacAddress) Size

func (m *CNICapArgs_MacAddress) Size() (n int)

func (*CNICapArgs_MacAddress) String

func (this *CNICapArgs_MacAddress) String() string

func (*CNICapArgs_MacAddress) Unmarshal

func (m *CNICapArgs_MacAddress) Unmarshal(dAtA []byte) error

func (*CNICapArgs_MacAddress) XXX_DiscardUnknown

func (m *CNICapArgs_MacAddress) XXX_DiscardUnknown()

func (*CNICapArgs_MacAddress) XXX_Marshal

func (m *CNICapArgs_MacAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CNICapArgs_MacAddress) XXX_Merge

func (m *CNICapArgs_MacAddress) XXX_Merge(src proto.Message)

func (*CNICapArgs_MacAddress) XXX_Size

func (m *CNICapArgs_MacAddress) XXX_Size() int

func (*CNICapArgs_MacAddress) XXX_Unmarshal

func (m *CNICapArgs_MacAddress) XXX_Unmarshal(b []byte) error

type CNICapArgs_MacAddressArg

type CNICapArgs_MacAddressArg struct {
	MacAddressArg *CNICapArgs_MacAddress `protobuf:"bytes,6,opt,name=mac_address_arg,json=macAddressArg,proto3,oneof" json:"mac_address_arg,omitempty"`
}

func (*CNICapArgs_MacAddressArg) Equal

func (this *CNICapArgs_MacAddressArg) Equal(that interface{}) bool

func (*CNICapArgs_MacAddressArg) GoString

func (this *CNICapArgs_MacAddressArg) GoString() string

func (*CNICapArgs_MacAddressArg) MarshalTo

func (m *CNICapArgs_MacAddressArg) MarshalTo(dAtA []byte) (int, error)

func (*CNICapArgs_MacAddressArg) MarshalToSizedBuffer

func (m *CNICapArgs_MacAddressArg) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CNICapArgs_MacAddressArg) Size

func (m *CNICapArgs_MacAddressArg) Size() (n int)

func (*CNICapArgs_MacAddressArg) String

func (this *CNICapArgs_MacAddressArg) String() string

type CNICapArgs_PortMap

type CNICapArgs_PortMap struct {
	ContainerPort int32  `protobuf:"varint,1,opt,name=container_port,json=containerPort,proto3" json:"containerPort"`
	HostPort      int32  `protobuf:"varint,2,opt,name=host_port,json=hostPort,proto3" json:"hostPort"`
	Protocol      string `protobuf:"bytes,3,opt,name=protocol,proto3" json:"protocol"`
	HostIp        string `protobuf:"bytes,4,opt,name=host_ip,json=hostIp,proto3" json:"hostIP"`
}

func (*CNICapArgs_PortMap) Descriptor

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

func (*CNICapArgs_PortMap) Equal

func (this *CNICapArgs_PortMap) Equal(that interface{}) bool

func (*CNICapArgs_PortMap) GetContainerPort

func (m *CNICapArgs_PortMap) GetContainerPort() int32

func (*CNICapArgs_PortMap) GetHostIp

func (m *CNICapArgs_PortMap) GetHostIp() string

func (*CNICapArgs_PortMap) GetHostPort

func (m *CNICapArgs_PortMap) GetHostPort() int32

func (*CNICapArgs_PortMap) GetProtocol

func (m *CNICapArgs_PortMap) GetProtocol() string

func (*CNICapArgs_PortMap) GoString

func (this *CNICapArgs_PortMap) GoString() string

func (*CNICapArgs_PortMap) Marshal

func (m *CNICapArgs_PortMap) Marshal() (dAtA []byte, err error)

func (*CNICapArgs_PortMap) MarshalTo

func (m *CNICapArgs_PortMap) MarshalTo(dAtA []byte) (int, error)

func (*CNICapArgs_PortMap) MarshalToSizedBuffer

func (m *CNICapArgs_PortMap) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CNICapArgs_PortMap) ProtoMessage

func (*CNICapArgs_PortMap) ProtoMessage()

func (*CNICapArgs_PortMap) Reset

func (m *CNICapArgs_PortMap) Reset()

func (*CNICapArgs_PortMap) Size

func (m *CNICapArgs_PortMap) Size() (n int)

func (*CNICapArgs_PortMap) String

func (this *CNICapArgs_PortMap) String() string

func (*CNICapArgs_PortMap) Unmarshal

func (m *CNICapArgs_PortMap) Unmarshal(dAtA []byte) error

func (*CNICapArgs_PortMap) XXX_DiscardUnknown

func (m *CNICapArgs_PortMap) XXX_DiscardUnknown()

func (*CNICapArgs_PortMap) XXX_Marshal

func (m *CNICapArgs_PortMap) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CNICapArgs_PortMap) XXX_Merge

func (m *CNICapArgs_PortMap) XXX_Merge(src proto.Message)

func (*CNICapArgs_PortMap) XXX_Size

func (m *CNICapArgs_PortMap) XXX_Size() int

func (*CNICapArgs_PortMap) XXX_Unmarshal

func (m *CNICapArgs_PortMap) XXX_Unmarshal(b []byte) error

type CNICapArgs_PortMapArg

type CNICapArgs_PortMapArg struct {
	PortMapArg *CNICapArgs_PortMap `protobuf:"bytes,1,opt,name=port_map_arg,json=portMapArg,proto3,oneof" json:"port_map_arg,omitempty"`
}

func (*CNICapArgs_PortMapArg) Equal

func (this *CNICapArgs_PortMapArg) Equal(that interface{}) bool

func (*CNICapArgs_PortMapArg) GoString

func (this *CNICapArgs_PortMapArg) GoString() string

func (*CNICapArgs_PortMapArg) MarshalTo

func (m *CNICapArgs_PortMapArg) MarshalTo(dAtA []byte) (int, error)

func (*CNICapArgs_PortMapArg) MarshalToSizedBuffer

func (m *CNICapArgs_PortMapArg) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CNICapArgs_PortMapArg) Size

func (m *CNICapArgs_PortMapArg) Size() (n int)

func (*CNICapArgs_PortMapArg) String

func (this *CNICapArgs_PortMapArg) String() string

type ContainerNetworkConfigEnsureRequest

type ContainerNetworkConfigEnsureRequest struct {
	Ipv4Subnet string `protobuf:"bytes,1,opt,name=ipv4_subnet,json=ipv4Subnet,proto3" json:"ipv4_subnet,omitempty"`
	Ipv6Subnet string `protobuf:"bytes,2,opt,name=ipv6_subnet,json=ipv6Subnet,proto3" json:"ipv6_subnet,omitempty"`
}

Update CNI config by rendering the config template predefined in abbot's config this Request containes all variables supported in the config template

func NewContainerNetworkConfigEnsureRequest

func NewContainerNetworkConfigEnsureRequest(
	ipv4Subnet, ipv6Subnet string,
) *ContainerNetworkConfigEnsureRequest

func (*ContainerNetworkConfigEnsureRequest) Descriptor

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

func (*ContainerNetworkConfigEnsureRequest) Equal

func (this *ContainerNetworkConfigEnsureRequest) Equal(that interface{}) bool

func (*ContainerNetworkConfigEnsureRequest) GetIpv4Subnet

func (m *ContainerNetworkConfigEnsureRequest) GetIpv4Subnet() string

func (*ContainerNetworkConfigEnsureRequest) GetIpv6Subnet

func (m *ContainerNetworkConfigEnsureRequest) GetIpv6Subnet() string

func (*ContainerNetworkConfigEnsureRequest) GoString

func (*ContainerNetworkConfigEnsureRequest) Marshal

func (m *ContainerNetworkConfigEnsureRequest) Marshal() (dAtA []byte, err error)

func (*ContainerNetworkConfigEnsureRequest) MarshalTo

func (m *ContainerNetworkConfigEnsureRequest) MarshalTo(dAtA []byte) (int, error)

func (*ContainerNetworkConfigEnsureRequest) MarshalToSizedBuffer

func (m *ContainerNetworkConfigEnsureRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ContainerNetworkConfigEnsureRequest) ProtoMessage

func (*ContainerNetworkConfigEnsureRequest) ProtoMessage()

func (*ContainerNetworkConfigEnsureRequest) Reset

func (*ContainerNetworkConfigEnsureRequest) Size

func (*ContainerNetworkConfigEnsureRequest) String

func (*ContainerNetworkConfigEnsureRequest) Unmarshal

func (m *ContainerNetworkConfigEnsureRequest) Unmarshal(dAtA []byte) error

func (*ContainerNetworkConfigEnsureRequest) XXX_DiscardUnknown

func (m *ContainerNetworkConfigEnsureRequest) XXX_DiscardUnknown()

func (*ContainerNetworkConfigEnsureRequest) XXX_Marshal

func (m *ContainerNetworkConfigEnsureRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ContainerNetworkConfigEnsureRequest) XXX_Merge

func (*ContainerNetworkConfigEnsureRequest) XXX_Size

func (*ContainerNetworkConfigEnsureRequest) XXX_Unmarshal

func (m *ContainerNetworkConfigEnsureRequest) XXX_Unmarshal(b []byte) error

type ContainerNetworkConfigQueryRequest

type ContainerNetworkConfigQueryRequest struct {
}

func NewContainerNetworkConfigQueryRequest

func NewContainerNetworkConfigQueryRequest() *ContainerNetworkConfigQueryRequest

func (*ContainerNetworkConfigQueryRequest) Descriptor

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

func (*ContainerNetworkConfigQueryRequest) Equal

func (this *ContainerNetworkConfigQueryRequest) Equal(that interface{}) bool

func (*ContainerNetworkConfigQueryRequest) GoString

func (this *ContainerNetworkConfigQueryRequest) GoString() string

func (*ContainerNetworkConfigQueryRequest) Marshal

func (m *ContainerNetworkConfigQueryRequest) Marshal() (dAtA []byte, err error)

func (*ContainerNetworkConfigQueryRequest) MarshalTo

func (m *ContainerNetworkConfigQueryRequest) MarshalTo(dAtA []byte) (int, error)

func (*ContainerNetworkConfigQueryRequest) MarshalToSizedBuffer

func (m *ContainerNetworkConfigQueryRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ContainerNetworkConfigQueryRequest) ProtoMessage

func (*ContainerNetworkConfigQueryRequest) ProtoMessage()

func (*ContainerNetworkConfigQueryRequest) Reset

func (*ContainerNetworkConfigQueryRequest) Size

func (*ContainerNetworkConfigQueryRequest) String

func (*ContainerNetworkConfigQueryRequest) Unmarshal

func (m *ContainerNetworkConfigQueryRequest) Unmarshal(dAtA []byte) error

func (*ContainerNetworkConfigQueryRequest) XXX_DiscardUnknown

func (m *ContainerNetworkConfigQueryRequest) XXX_DiscardUnknown()

func (*ContainerNetworkConfigQueryRequest) XXX_Marshal

func (m *ContainerNetworkConfigQueryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ContainerNetworkConfigQueryRequest) XXX_Merge

func (*ContainerNetworkConfigQueryRequest) XXX_Size

func (*ContainerNetworkConfigQueryRequest) XXX_Unmarshal

func (m *ContainerNetworkConfigQueryRequest) XXX_Unmarshal(b []byte) error

type ContainerNetworkConfigResponse

type ContainerNetworkConfigResponse struct {
	Ipv4Subnet string `protobuf:"bytes,1,opt,name=ipv4_subnet,json=ipv4Subnet,proto3" json:"ipv4_subnet,omitempty"`
	Ipv6Subnet string `protobuf:"bytes,2,opt,name=ipv6_subnet,json=ipv6Subnet,proto3" json:"ipv6_subnet,omitempty"`
}

func NewContainerNetworkConfigResponse

func NewContainerNetworkConfigResponse(
	ipv4Subnet, ipv6Subnet string,
) *ContainerNetworkConfigResponse

func (*ContainerNetworkConfigResponse) Descriptor

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

func (*ContainerNetworkConfigResponse) Equal

func (this *ContainerNetworkConfigResponse) Equal(that interface{}) bool

func (*ContainerNetworkConfigResponse) GetIpv4Subnet

func (m *ContainerNetworkConfigResponse) GetIpv4Subnet() string

func (*ContainerNetworkConfigResponse) GetIpv6Subnet

func (m *ContainerNetworkConfigResponse) GetIpv6Subnet() string

func (*ContainerNetworkConfigResponse) GoString

func (this *ContainerNetworkConfigResponse) GoString() string

func (*ContainerNetworkConfigResponse) Marshal

func (m *ContainerNetworkConfigResponse) Marshal() (dAtA []byte, err error)

func (*ContainerNetworkConfigResponse) MarshalTo

func (m *ContainerNetworkConfigResponse) MarshalTo(dAtA []byte) (int, error)

func (*ContainerNetworkConfigResponse) MarshalToSizedBuffer

func (m *ContainerNetworkConfigResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ContainerNetworkConfigResponse) ProtoMessage

func (*ContainerNetworkConfigResponse) ProtoMessage()

func (*ContainerNetworkConfigResponse) Reset

func (m *ContainerNetworkConfigResponse) Reset()

func (*ContainerNetworkConfigResponse) Size

func (m *ContainerNetworkConfigResponse) Size() (n int)

func (*ContainerNetworkConfigResponse) String

func (this *ContainerNetworkConfigResponse) String() string

func (*ContainerNetworkConfigResponse) Unmarshal

func (m *ContainerNetworkConfigResponse) Unmarshal(dAtA []byte) error

func (*ContainerNetworkConfigResponse) XXX_DiscardUnknown

func (m *ContainerNetworkConfigResponse) XXX_DiscardUnknown()

func (*ContainerNetworkConfigResponse) XXX_Marshal

func (m *ContainerNetworkConfigResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ContainerNetworkConfigResponse) XXX_Merge

func (m *ContainerNetworkConfigResponse) XXX_Merge(src proto.Message)

func (*ContainerNetworkConfigResponse) XXX_Size

func (m *ContainerNetworkConfigResponse) XXX_Size() int

func (*ContainerNetworkConfigResponse) XXX_Unmarshal

func (m *ContainerNetworkConfigResponse) XXX_Unmarshal(b []byte) error

type ContainerNetworkDeleteRequest

type ContainerNetworkDeleteRequest struct {
	// (required) container id
	ContainerId string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
	// (required) pid will be used to form the netns path (/proc/<pid>/ns/net)
	Pid uint32 `protobuf:"varint,2,opt,name=pid,proto3" json:"pid,omitempty"`
}

func NewContainerNetworkDeleteRequest

func NewContainerNetworkDeleteRequest(
	containerID string, pid uint32,
) *ContainerNetworkDeleteRequest

func (*ContainerNetworkDeleteRequest) Descriptor

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

func (*ContainerNetworkDeleteRequest) Equal

func (this *ContainerNetworkDeleteRequest) Equal(that interface{}) bool

func (*ContainerNetworkDeleteRequest) GetContainerId

func (m *ContainerNetworkDeleteRequest) GetContainerId() string

func (*ContainerNetworkDeleteRequest) GetPid

func (*ContainerNetworkDeleteRequest) GoString

func (this *ContainerNetworkDeleteRequest) GoString() string

func (*ContainerNetworkDeleteRequest) Marshal

func (m *ContainerNetworkDeleteRequest) Marshal() (dAtA []byte, err error)

func (*ContainerNetworkDeleteRequest) MarshalTo

func (m *ContainerNetworkDeleteRequest) MarshalTo(dAtA []byte) (int, error)

func (*ContainerNetworkDeleteRequest) MarshalToSizedBuffer

func (m *ContainerNetworkDeleteRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ContainerNetworkDeleteRequest) ProtoMessage

func (*ContainerNetworkDeleteRequest) ProtoMessage()

func (*ContainerNetworkDeleteRequest) Reset

func (m *ContainerNetworkDeleteRequest) Reset()

func (*ContainerNetworkDeleteRequest) Size

func (m *ContainerNetworkDeleteRequest) Size() (n int)

func (*ContainerNetworkDeleteRequest) String

func (this *ContainerNetworkDeleteRequest) String() string

func (*ContainerNetworkDeleteRequest) Unmarshal

func (m *ContainerNetworkDeleteRequest) Unmarshal(dAtA []byte) error

func (*ContainerNetworkDeleteRequest) XXX_DiscardUnknown

func (m *ContainerNetworkDeleteRequest) XXX_DiscardUnknown()

func (*ContainerNetworkDeleteRequest) XXX_Marshal

func (m *ContainerNetworkDeleteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ContainerNetworkDeleteRequest) XXX_Merge

func (m *ContainerNetworkDeleteRequest) XXX_Merge(src proto.Message)

func (*ContainerNetworkDeleteRequest) XXX_Size

func (m *ContainerNetworkDeleteRequest) XXX_Size() int

func (*ContainerNetworkDeleteRequest) XXX_Unmarshal

func (m *ContainerNetworkDeleteRequest) XXX_Unmarshal(b []byte) error

type ContainerNetworkEnsureRequest

type ContainerNetworkEnsureRequest struct {
	// (required) container id
	ContainerId string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
	// (required) pid will be used to form the netns path (/proc/<pid>/ns/net)
	Pid uint32 `protobuf:"varint,2,opt,name=pid,proto3" json:"pid,omitempty"`
	// (optional) capabilities args
	CapArgs []*CNICapArgs `protobuf:"bytes,3,rep,name=cap_args,json=capArgs,proto3" json:"cap_args,omitempty"`
	// (optional) cni_args
	// https://github.com/containernetworking/cni/blob/master/CONVENTIONS.md#cni_args
	CniArgs map[string]string `` /* 170-byte string literal not displayed */
}

func NewContainerNetworkEnsureRequest

func NewContainerNetworkEnsureRequest(
	containerID string,
	pid uint32,
	capArgs []*CNICapArgs,
	cniArgs map[string]string,
) *ContainerNetworkEnsureRequest

func (*ContainerNetworkEnsureRequest) Descriptor

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

func (*ContainerNetworkEnsureRequest) Equal

func (this *ContainerNetworkEnsureRequest) Equal(that interface{}) bool

func (*ContainerNetworkEnsureRequest) GetCapArgs

func (m *ContainerNetworkEnsureRequest) GetCapArgs() []*CNICapArgs

func (*ContainerNetworkEnsureRequest) GetCniArgs

func (m *ContainerNetworkEnsureRequest) GetCniArgs() map[string]string

func (*ContainerNetworkEnsureRequest) GetContainerId

func (m *ContainerNetworkEnsureRequest) GetContainerId() string

func (*ContainerNetworkEnsureRequest) GetPid

func (*ContainerNetworkEnsureRequest) GoString

func (this *ContainerNetworkEnsureRequest) GoString() string

func (*ContainerNetworkEnsureRequest) Marshal

func (m *ContainerNetworkEnsureRequest) Marshal() (dAtA []byte, err error)

func (*ContainerNetworkEnsureRequest) MarshalTo

func (m *ContainerNetworkEnsureRequest) MarshalTo(dAtA []byte) (int, error)

func (*ContainerNetworkEnsureRequest) MarshalToSizedBuffer

func (m *ContainerNetworkEnsureRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ContainerNetworkEnsureRequest) ProtoMessage

func (*ContainerNetworkEnsureRequest) ProtoMessage()

func (*ContainerNetworkEnsureRequest) Reset

func (m *ContainerNetworkEnsureRequest) Reset()

func (*ContainerNetworkEnsureRequest) Size

func (m *ContainerNetworkEnsureRequest) Size() (n int)

func (*ContainerNetworkEnsureRequest) String

func (this *ContainerNetworkEnsureRequest) String() string

func (*ContainerNetworkEnsureRequest) Unmarshal

func (m *ContainerNetworkEnsureRequest) Unmarshal(dAtA []byte) error

func (*ContainerNetworkEnsureRequest) XXX_DiscardUnknown

func (m *ContainerNetworkEnsureRequest) XXX_DiscardUnknown()

func (*ContainerNetworkEnsureRequest) XXX_Marshal

func (m *ContainerNetworkEnsureRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ContainerNetworkEnsureRequest) XXX_Merge

func (m *ContainerNetworkEnsureRequest) XXX_Merge(src proto.Message)

func (*ContainerNetworkEnsureRequest) XXX_Size

func (m *ContainerNetworkEnsureRequest) XXX_Size() int

func (*ContainerNetworkEnsureRequest) XXX_Unmarshal

func (m *ContainerNetworkEnsureRequest) XXX_Unmarshal(b []byte) error

type ContainerNetworkQueryRequest

type ContainerNetworkQueryRequest struct {
	// (optional) conainer id of the infra container
	ContainerId string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
	// (optional) pid of the infra container
	Pid uint32 `protobuf:"varint,2,opt,name=pid,proto3" json:"pid,omitempty"`
}

func NewContainerNetworkQueryRequest

func NewContainerNetworkQueryRequest(containerID string, pid uint32) *ContainerNetworkQueryRequest

func (*ContainerNetworkQueryRequest) Descriptor

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

func (*ContainerNetworkQueryRequest) Equal

func (this *ContainerNetworkQueryRequest) Equal(that interface{}) bool

func (*ContainerNetworkQueryRequest) GetContainerId

func (m *ContainerNetworkQueryRequest) GetContainerId() string

func (*ContainerNetworkQueryRequest) GetPid

func (*ContainerNetworkQueryRequest) GoString

func (this *ContainerNetworkQueryRequest) GoString() string

func (*ContainerNetworkQueryRequest) Marshal

func (m *ContainerNetworkQueryRequest) Marshal() (dAtA []byte, err error)

func (*ContainerNetworkQueryRequest) MarshalTo

func (m *ContainerNetworkQueryRequest) MarshalTo(dAtA []byte) (int, error)

func (*ContainerNetworkQueryRequest) MarshalToSizedBuffer

func (m *ContainerNetworkQueryRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ContainerNetworkQueryRequest) ProtoMessage

func (*ContainerNetworkQueryRequest) ProtoMessage()

func (*ContainerNetworkQueryRequest) Reset

func (m *ContainerNetworkQueryRequest) Reset()

func (*ContainerNetworkQueryRequest) Size

func (m *ContainerNetworkQueryRequest) Size() (n int)

func (*ContainerNetworkQueryRequest) String

func (this *ContainerNetworkQueryRequest) String() string

func (*ContainerNetworkQueryRequest) Unmarshal

func (m *ContainerNetworkQueryRequest) Unmarshal(dAtA []byte) error

func (*ContainerNetworkQueryRequest) XXX_DiscardUnknown

func (m *ContainerNetworkQueryRequest) XXX_DiscardUnknown()

func (*ContainerNetworkQueryRequest) XXX_Marshal

func (m *ContainerNetworkQueryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ContainerNetworkQueryRequest) XXX_Merge

func (m *ContainerNetworkQueryRequest) XXX_Merge(src proto.Message)

func (*ContainerNetworkQueryRequest) XXX_Size

func (m *ContainerNetworkQueryRequest) XXX_Size() int

func (*ContainerNetworkQueryRequest) XXX_Unmarshal

func (m *ContainerNetworkQueryRequest) XXX_Unmarshal(b []byte) error

type ContainerNetworkRestoreRequest

type ContainerNetworkRestoreRequest struct {
	// (required) container id
	ContainerId string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
	// (required) pid to generate netns path
	Pid uint32 `protobuf:"varint,2,opt,name=pid,proto3" json:"pid,omitempty"`
}

Restore container network with previous container config

func NewContainerNetworkRestoreRequest

func NewContainerNetworkRestoreRequest(
	containerID string, pid uint32,
) *ContainerNetworkRestoreRequest

func (*ContainerNetworkRestoreRequest) Descriptor

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

func (*ContainerNetworkRestoreRequest) Equal

func (this *ContainerNetworkRestoreRequest) Equal(that interface{}) bool

func (*ContainerNetworkRestoreRequest) GetContainerId

func (m *ContainerNetworkRestoreRequest) GetContainerId() string

func (*ContainerNetworkRestoreRequest) GetPid

func (*ContainerNetworkRestoreRequest) GoString

func (this *ContainerNetworkRestoreRequest) GoString() string

func (*ContainerNetworkRestoreRequest) Marshal

func (m *ContainerNetworkRestoreRequest) Marshal() (dAtA []byte, err error)

func (*ContainerNetworkRestoreRequest) MarshalTo

func (m *ContainerNetworkRestoreRequest) MarshalTo(dAtA []byte) (int, error)

func (*ContainerNetworkRestoreRequest) MarshalToSizedBuffer

func (m *ContainerNetworkRestoreRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ContainerNetworkRestoreRequest) ProtoMessage

func (*ContainerNetworkRestoreRequest) ProtoMessage()

func (*ContainerNetworkRestoreRequest) Reset

func (m *ContainerNetworkRestoreRequest) Reset()

func (*ContainerNetworkRestoreRequest) Size

func (m *ContainerNetworkRestoreRequest) Size() (n int)

func (*ContainerNetworkRestoreRequest) String

func (this *ContainerNetworkRestoreRequest) String() string

func (*ContainerNetworkRestoreRequest) Unmarshal

func (m *ContainerNetworkRestoreRequest) Unmarshal(dAtA []byte) error

func (*ContainerNetworkRestoreRequest) XXX_DiscardUnknown

func (m *ContainerNetworkRestoreRequest) XXX_DiscardUnknown()

func (*ContainerNetworkRestoreRequest) XXX_Marshal

func (m *ContainerNetworkRestoreRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ContainerNetworkRestoreRequest) XXX_Merge

func (m *ContainerNetworkRestoreRequest) XXX_Merge(src proto.Message)

func (*ContainerNetworkRestoreRequest) XXX_Size

func (m *ContainerNetworkRestoreRequest) XXX_Size() int

func (*ContainerNetworkRestoreRequest) XXX_Unmarshal

func (m *ContainerNetworkRestoreRequest) XXX_Unmarshal(b []byte) error

type ContainerNetworkStatusListResponse

type ContainerNetworkStatusListResponse struct {
	// key: container id
	ContainerNetworks map[string]*ContainerNetworkStatusResponse `` /* 200-byte string literal not displayed */
}

func (*ContainerNetworkStatusListResponse) Descriptor

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

func (*ContainerNetworkStatusListResponse) Equal

func (this *ContainerNetworkStatusListResponse) Equal(that interface{}) bool

func (*ContainerNetworkStatusListResponse) GetContainerNetworks

func (*ContainerNetworkStatusListResponse) GoString

func (this *ContainerNetworkStatusListResponse) GoString() string

func (*ContainerNetworkStatusListResponse) Marshal

func (m *ContainerNetworkStatusListResponse) Marshal() (dAtA []byte, err error)

func (*ContainerNetworkStatusListResponse) MarshalTo

func (m *ContainerNetworkStatusListResponse) MarshalTo(dAtA []byte) (int, error)

func (*ContainerNetworkStatusListResponse) MarshalToSizedBuffer

func (m *ContainerNetworkStatusListResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ContainerNetworkStatusListResponse) ProtoMessage

func (*ContainerNetworkStatusListResponse) ProtoMessage()

func (*ContainerNetworkStatusListResponse) Reset

func (*ContainerNetworkStatusListResponse) Size

func (*ContainerNetworkStatusListResponse) String

func (*ContainerNetworkStatusListResponse) Unmarshal

func (m *ContainerNetworkStatusListResponse) Unmarshal(dAtA []byte) error

func (*ContainerNetworkStatusListResponse) XXX_DiscardUnknown

func (m *ContainerNetworkStatusListResponse) XXX_DiscardUnknown()

func (*ContainerNetworkStatusListResponse) XXX_Marshal

func (m *ContainerNetworkStatusListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ContainerNetworkStatusListResponse) XXX_Merge

func (*ContainerNetworkStatusListResponse) XXX_Size

func (*ContainerNetworkStatusListResponse) XXX_Unmarshal

func (m *ContainerNetworkStatusListResponse) XXX_Unmarshal(b []byte) error

type ContainerNetworkStatusResponse

type ContainerNetworkStatusResponse struct {
	Pid        uint32              `protobuf:"varint,1,opt,name=pid,proto3" json:"pid,omitempty"`
	Interfaces []*NetworkInterface `protobuf:"bytes,2,rep,name=interfaces,proto3" json:"interfaces,omitempty"`
}

func NewContainerNetworkStatusResponse

func NewContainerNetworkStatusResponse(
	pid uint32,
	interfaces []*NetworkInterface,
) *ContainerNetworkStatusResponse

func (*ContainerNetworkStatusResponse) Descriptor

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

func (*ContainerNetworkStatusResponse) Equal

func (this *ContainerNetworkStatusResponse) Equal(that interface{}) bool

func (*ContainerNetworkStatusResponse) GetInterfaces

func (m *ContainerNetworkStatusResponse) GetInterfaces() []*NetworkInterface

func (*ContainerNetworkStatusResponse) GetPid

func (*ContainerNetworkStatusResponse) GoString

func (this *ContainerNetworkStatusResponse) GoString() string

func (*ContainerNetworkStatusResponse) Marshal

func (m *ContainerNetworkStatusResponse) Marshal() (dAtA []byte, err error)

func (*ContainerNetworkStatusResponse) MarshalTo

func (m *ContainerNetworkStatusResponse) MarshalTo(dAtA []byte) (int, error)

func (*ContainerNetworkStatusResponse) MarshalToSizedBuffer

func (m *ContainerNetworkStatusResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ContainerNetworkStatusResponse) ProtoMessage

func (*ContainerNetworkStatusResponse) ProtoMessage()

func (*ContainerNetworkStatusResponse) Reset

func (m *ContainerNetworkStatusResponse) Reset()

func (*ContainerNetworkStatusResponse) Size

func (m *ContainerNetworkStatusResponse) Size() (n int)

func (*ContainerNetworkStatusResponse) String

func (this *ContainerNetworkStatusResponse) String() string

func (*ContainerNetworkStatusResponse) Unmarshal

func (m *ContainerNetworkStatusResponse) Unmarshal(dAtA []byte) error

func (*ContainerNetworkStatusResponse) XXX_DiscardUnknown

func (m *ContainerNetworkStatusResponse) XXX_DiscardUnknown()

func (*ContainerNetworkStatusResponse) XXX_Marshal

func (m *ContainerNetworkStatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ContainerNetworkStatusResponse) XXX_Merge

func (m *ContainerNetworkStatusResponse) XXX_Merge(src proto.Message)

func (*ContainerNetworkStatusResponse) XXX_Size

func (m *ContainerNetworkStatusResponse) XXX_Size() int

func (*ContainerNetworkStatusResponse) XXX_Unmarshal

func (m *ContainerNetworkStatusResponse) XXX_Unmarshal(b []byte) error

type DriverBridge

type DriverBridge struct {
	Alias      string `protobuf:"bytes,1,opt,name=alias,proto3" json:"alias,omitempty"`
	TxQueueLen int32  `protobuf:"varint,2,opt,name=tx_queue_len,json=txQueueLen,proto3" json:"tx_queue_len,omitempty"`
	Promisc    bool   `protobuf:"varint,3,opt,name=promisc,proto3" json:"promisc,omitempty"`
	// bridge options
	Hairpin      bool `protobuf:"varint,11,opt,name=hairpin,proto3" json:"hairpin,omitempty"`
	Guard        bool `protobuf:"varint,12,opt,name=guard,proto3" json:"guard,omitempty"`
	FastLeave    bool `protobuf:"varint,13,opt,name=fastLeave,proto3" json:"fastLeave,omitempty"`
	RootBlock    bool `protobuf:"varint,14,opt,name=root_block,json=rootBlock,proto3" json:"root_block,omitempty"`
	Learning     bool `protobuf:"varint,15,opt,name=learning,proto3" json:"learning,omitempty"`
	Flood        bool `protobuf:"varint,16,opt,name=flood,proto3" json:"flood,omitempty"`
	ProxyArp     bool `protobuf:"varint,17,opt,name=proxy_arp,json=proxyArp,proto3" json:"proxy_arp,omitempty"`
	ProxyArpWifi bool `protobuf:"varint,18,opt,name=proxy_arp_wifi,json=proxyArpWifi,proto3" json:"proxy_arp_wifi,omitempty"`
}

func (*DriverBridge) Descriptor

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

func (*DriverBridge) Equal

func (this *DriverBridge) Equal(that interface{}) bool

func (*DriverBridge) GetAlias

func (m *DriverBridge) GetAlias() string

func (*DriverBridge) GetFastLeave

func (m *DriverBridge) GetFastLeave() bool

func (*DriverBridge) GetFlood

func (m *DriverBridge) GetFlood() bool

func (*DriverBridge) GetGuard

func (m *DriverBridge) GetGuard() bool

func (*DriverBridge) GetHairpin

func (m *DriverBridge) GetHairpin() bool

func (*DriverBridge) GetLearning

func (m *DriverBridge) GetLearning() bool

func (*DriverBridge) GetPromisc

func (m *DriverBridge) GetPromisc() bool

func (*DriverBridge) GetProxyArp

func (m *DriverBridge) GetProxyArp() bool

func (*DriverBridge) GetProxyArpWifi

func (m *DriverBridge) GetProxyArpWifi() bool

func (*DriverBridge) GetRootBlock

func (m *DriverBridge) GetRootBlock() bool

func (*DriverBridge) GetTxQueueLen

func (m *DriverBridge) GetTxQueueLen() int32

func (*DriverBridge) GoString

func (this *DriverBridge) GoString() string

func (*DriverBridge) Marshal

func (m *DriverBridge) Marshal() (dAtA []byte, err error)

func (*DriverBridge) MarshalTo

func (m *DriverBridge) MarshalTo(dAtA []byte) (int, error)

func (*DriverBridge) MarshalToSizedBuffer

func (m *DriverBridge) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DriverBridge) ProtoMessage

func (*DriverBridge) ProtoMessage()

func (*DriverBridge) Reset

func (m *DriverBridge) Reset()

func (*DriverBridge) Size

func (m *DriverBridge) Size() (n int)

func (*DriverBridge) String

func (this *DriverBridge) String() string

func (*DriverBridge) Unmarshal

func (m *DriverBridge) Unmarshal(dAtA []byte) error

func (*DriverBridge) XXX_DiscardUnknown

func (m *DriverBridge) XXX_DiscardUnknown()

func (*DriverBridge) XXX_Marshal

func (m *DriverBridge) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DriverBridge) XXX_Merge

func (m *DriverBridge) XXX_Merge(src proto.Message)

func (*DriverBridge) XXX_Size

func (m *DriverBridge) XXX_Size() int

func (*DriverBridge) XXX_Unmarshal

func (m *DriverBridge) XXX_Unmarshal(b []byte) error

type DriverUnknown

type DriverUnknown struct {
}

func (*DriverUnknown) Descriptor

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

func (*DriverUnknown) Equal

func (this *DriverUnknown) Equal(that interface{}) bool

func (*DriverUnknown) GoString

func (this *DriverUnknown) GoString() string

func (*DriverUnknown) Marshal

func (m *DriverUnknown) Marshal() (dAtA []byte, err error)

func (*DriverUnknown) MarshalTo

func (m *DriverUnknown) MarshalTo(dAtA []byte) (int, error)

func (*DriverUnknown) MarshalToSizedBuffer

func (m *DriverUnknown) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DriverUnknown) ProtoMessage

func (*DriverUnknown) ProtoMessage()

func (*DriverUnknown) Reset

func (m *DriverUnknown) Reset()

func (*DriverUnknown) Size

func (m *DriverUnknown) Size() (n int)

func (*DriverUnknown) String

func (this *DriverUnknown) String() string

func (*DriverUnknown) Unmarshal

func (m *DriverUnknown) Unmarshal(dAtA []byte) error

func (*DriverUnknown) XXX_DiscardUnknown

func (m *DriverUnknown) XXX_DiscardUnknown()

func (*DriverUnknown) XXX_Marshal

func (m *DriverUnknown) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DriverUnknown) XXX_Merge

func (m *DriverUnknown) XXX_Merge(src proto.Message)

func (*DriverUnknown) XXX_Size

func (m *DriverUnknown) XXX_Size() int

func (*DriverUnknown) XXX_Unmarshal

func (m *DriverUnknown) XXX_Unmarshal(b []byte) error

type DriverWireguard

type DriverWireguard struct {
	// LogLevel for wireguard output
	LogLevel string `protobuf:"bytes,1,opt,name=log_level,json=logLevel,proto3" json:"log_level,omitempty"`
	// PrivateKey specifies a private key configuration
	PrivateKey string `protobuf:"bytes,2,opt,name=private_key,json=privateKey,proto3" json:"private_key,omitempty"`
	// ListenPort specifies a device's listening port, if >= 0.
	ListenPort int32                    `protobuf:"varint,3,opt,name=listen_port,json=listenPort,proto3" json:"listen_port,omitempty"`
	Routing    *DriverWireguard_Routing `protobuf:"bytes,4,opt,name=routing,proto3" json:"routing,omitempty"`
	// Peers specifies a list of peer configurations to apply to a device.
	Peers []*DriverWireguard_Peer `protobuf:"bytes,5,rep,name=peers,proto3" json:"peers,omitempty"`
}

func (*DriverWireguard) Descriptor

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

func (*DriverWireguard) Equal

func (this *DriverWireguard) Equal(that interface{}) bool

func (*DriverWireguard) GetListenPort

func (m *DriverWireguard) GetListenPort() int32

func (*DriverWireguard) GetLogLevel

func (m *DriverWireguard) GetLogLevel() string

func (*DriverWireguard) GetPeers

func (m *DriverWireguard) GetPeers() []*DriverWireguard_Peer

func (*DriverWireguard) GetPrivateKey

func (m *DriverWireguard) GetPrivateKey() string

func (*DriverWireguard) GetRouting

func (m *DriverWireguard) GetRouting() *DriverWireguard_Routing

func (*DriverWireguard) GoString

func (this *DriverWireguard) GoString() string

func (*DriverWireguard) Marshal

func (m *DriverWireguard) Marshal() (dAtA []byte, err error)

func (*DriverWireguard) MarshalTo

func (m *DriverWireguard) MarshalTo(dAtA []byte) (int, error)

func (*DriverWireguard) MarshalToSizedBuffer

func (m *DriverWireguard) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DriverWireguard) ProtoMessage

func (*DriverWireguard) ProtoMessage()

func (*DriverWireguard) Reset

func (m *DriverWireguard) Reset()

func (*DriverWireguard) Size

func (m *DriverWireguard) Size() (n int)

func (*DriverWireguard) String

func (this *DriverWireguard) String() string

func (*DriverWireguard) Unmarshal

func (m *DriverWireguard) Unmarshal(dAtA []byte) error

func (*DriverWireguard) XXX_DiscardUnknown

func (m *DriverWireguard) XXX_DiscardUnknown()

func (*DriverWireguard) XXX_Marshal

func (m *DriverWireguard) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DriverWireguard) XXX_Merge

func (m *DriverWireguard) XXX_Merge(src proto.Message)

func (*DriverWireguard) XXX_Size

func (m *DriverWireguard) XXX_Size() int

func (*DriverWireguard) XXX_Unmarshal

func (m *DriverWireguard) XXX_Unmarshal(b []byte) error

type DriverWireguard_Peer

type DriverWireguard_Peer struct {
	PublicKey    string `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
	PreSharedKey string `protobuf:"bytes,2,opt,name=pre_shared_key,json=preSharedKey,proto3" json:"pre_shared_key,omitempty"`
	Endpoint     string `protobuf:"bytes,3,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
	// duration in seconds
	PersistentKeepaliveInterval int32    `` /* 145-byte string literal not displayed */
	AllowedIps                  []string `protobuf:"bytes,5,rep,name=allowed_ips,json=allowedIps,proto3" json:"allowed_ips,omitempty"`
}

func (*DriverWireguard_Peer) Descriptor

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

func (*DriverWireguard_Peer) Equal

func (this *DriverWireguard_Peer) Equal(that interface{}) bool

func (*DriverWireguard_Peer) GetAllowedIps

func (m *DriverWireguard_Peer) GetAllowedIps() []string

func (*DriverWireguard_Peer) GetEndpoint

func (m *DriverWireguard_Peer) GetEndpoint() string

func (*DriverWireguard_Peer) GetPersistentKeepaliveInterval

func (m *DriverWireguard_Peer) GetPersistentKeepaliveInterval() int32

func (*DriverWireguard_Peer) GetPreSharedKey

func (m *DriverWireguard_Peer) GetPreSharedKey() string

func (*DriverWireguard_Peer) GetPublicKey

func (m *DriverWireguard_Peer) GetPublicKey() string

func (*DriverWireguard_Peer) GoString

func (this *DriverWireguard_Peer) GoString() string

func (*DriverWireguard_Peer) Marshal

func (m *DriverWireguard_Peer) Marshal() (dAtA []byte, err error)

func (*DriverWireguard_Peer) MarshalTo

func (m *DriverWireguard_Peer) MarshalTo(dAtA []byte) (int, error)

func (*DriverWireguard_Peer) MarshalToSizedBuffer

func (m *DriverWireguard_Peer) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DriverWireguard_Peer) ProtoMessage

func (*DriverWireguard_Peer) ProtoMessage()

func (*DriverWireguard_Peer) Reset

func (m *DriverWireguard_Peer) Reset()

func (*DriverWireguard_Peer) Size

func (m *DriverWireguard_Peer) Size() (n int)

func (*DriverWireguard_Peer) String

func (this *DriverWireguard_Peer) String() string

func (*DriverWireguard_Peer) Unmarshal

func (m *DriverWireguard_Peer) Unmarshal(dAtA []byte) error

func (*DriverWireguard_Peer) XXX_DiscardUnknown

func (m *DriverWireguard_Peer) XXX_DiscardUnknown()

func (*DriverWireguard_Peer) XXX_Marshal

func (m *DriverWireguard_Peer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DriverWireguard_Peer) XXX_Merge

func (m *DriverWireguard_Peer) XXX_Merge(src proto.Message)

func (*DriverWireguard_Peer) XXX_Size

func (m *DriverWireguard_Peer) XXX_Size() int

func (*DriverWireguard_Peer) XXX_Unmarshal

func (m *DriverWireguard_Peer) XXX_Unmarshal(b []byte) error

type DriverWireguard_Routing

type DriverWireguard_Routing struct {
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// Table to add routes, if not set (0), will use default route table
	Table int32 `protobuf:"varint,2,opt,name=table,proto3" json:"table,omitempty"`
	// FirewallMark specifies a device's firewall mark
	FirewallMark int32 `protobuf:"varint,3,opt,name=firewall_mark,json=firewallMark,proto3" json:"firewall_mark,omitempty"`
}

func (*DriverWireguard_Routing) Descriptor

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

func (*DriverWireguard_Routing) Equal

func (this *DriverWireguard_Routing) Equal(that interface{}) bool

func (*DriverWireguard_Routing) GetEnabled

func (m *DriverWireguard_Routing) GetEnabled() bool

func (*DriverWireguard_Routing) GetFirewallMark

func (m *DriverWireguard_Routing) GetFirewallMark() int32

func (*DriverWireguard_Routing) GetTable

func (m *DriverWireguard_Routing) GetTable() int32

func (*DriverWireguard_Routing) GoString

func (this *DriverWireguard_Routing) GoString() string

func (*DriverWireguard_Routing) Marshal

func (m *DriverWireguard_Routing) Marshal() (dAtA []byte, err error)

func (*DriverWireguard_Routing) MarshalTo

func (m *DriverWireguard_Routing) MarshalTo(dAtA []byte) (int, error)

func (*DriverWireguard_Routing) MarshalToSizedBuffer

func (m *DriverWireguard_Routing) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DriverWireguard_Routing) ProtoMessage

func (*DriverWireguard_Routing) ProtoMessage()

func (*DriverWireguard_Routing) Reset

func (m *DriverWireguard_Routing) Reset()

func (*DriverWireguard_Routing) Size

func (m *DriverWireguard_Routing) Size() (n int)

func (*DriverWireguard_Routing) String

func (this *DriverWireguard_Routing) String() string

func (*DriverWireguard_Routing) Unmarshal

func (m *DriverWireguard_Routing) Unmarshal(dAtA []byte) error

func (*DriverWireguard_Routing) XXX_DiscardUnknown

func (m *DriverWireguard_Routing) XXX_DiscardUnknown()

func (*DriverWireguard_Routing) XXX_Marshal

func (m *DriverWireguard_Routing) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DriverWireguard_Routing) XXX_Merge

func (m *DriverWireguard_Routing) XXX_Merge(src proto.Message)

func (*DriverWireguard_Routing) XXX_Size

func (m *DriverWireguard_Routing) XXX_Size() int

func (*DriverWireguard_Routing) XXX_Unmarshal

func (m *DriverWireguard_Routing) XXX_Unmarshal(b []byte) error

type HostNetworkConfigEnsureRequest

type HostNetworkConfigEnsureRequest struct {
	Provider string                  `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"`
	Expected []*HostNetworkInterface `protobuf:"bytes,2,rep,name=expected,proto3" json:"expected,omitempty"`
}

Ensure host network interfaces

persist and apply host network config for single provider source, which means all expected interfaces in one request MUST share the same provider, this restriction is to protect ohter managed interfaces from being updated unexpectedly.

existing interfaces with same provider but not listed in the expected will be delete, so request SHOULD include all interfaces from the provider source.

this request is transactional, if any failure occurred to any one of the expected interfaces, abbot MUST rollback to previous state and return an error indicating which interface failed

func NewHostNetworkConfigEnsureRequest

func NewHostNetworkConfigEnsureRequest(
	interfaces ...*HostNetworkInterface,
) *HostNetworkConfigEnsureRequest

func (*HostNetworkConfigEnsureRequest) Descriptor

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

func (*HostNetworkConfigEnsureRequest) Equal

func (this *HostNetworkConfigEnsureRequest) Equal(that interface{}) bool

func (*HostNetworkConfigEnsureRequest) GetExpected

func (*HostNetworkConfigEnsureRequest) GetProvider added in v0.1.1

func (m *HostNetworkConfigEnsureRequest) GetProvider() string

func (*HostNetworkConfigEnsureRequest) GoString

func (this *HostNetworkConfigEnsureRequest) GoString() string

func (*HostNetworkConfigEnsureRequest) Marshal

func (m *HostNetworkConfigEnsureRequest) Marshal() (dAtA []byte, err error)

func (*HostNetworkConfigEnsureRequest) MarshalTo

func (m *HostNetworkConfigEnsureRequest) MarshalTo(dAtA []byte) (int, error)

func (*HostNetworkConfigEnsureRequest) MarshalToSizedBuffer

func (m *HostNetworkConfigEnsureRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*HostNetworkConfigEnsureRequest) ProtoMessage

func (*HostNetworkConfigEnsureRequest) ProtoMessage()

func (*HostNetworkConfigEnsureRequest) Reset

func (m *HostNetworkConfigEnsureRequest) Reset()

func (*HostNetworkConfigEnsureRequest) Size

func (m *HostNetworkConfigEnsureRequest) Size() (n int)

func (*HostNetworkConfigEnsureRequest) String

func (this *HostNetworkConfigEnsureRequest) String() string

func (*HostNetworkConfigEnsureRequest) Unmarshal

func (m *HostNetworkConfigEnsureRequest) Unmarshal(dAtA []byte) error

func (*HostNetworkConfigEnsureRequest) XXX_DiscardUnknown

func (m *HostNetworkConfigEnsureRequest) XXX_DiscardUnknown()

func (*HostNetworkConfigEnsureRequest) XXX_Marshal

func (m *HostNetworkConfigEnsureRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HostNetworkConfigEnsureRequest) XXX_Merge

func (m *HostNetworkConfigEnsureRequest) XXX_Merge(src proto.Message)

func (*HostNetworkConfigEnsureRequest) XXX_Size

func (m *HostNetworkConfigEnsureRequest) XXX_Size() int

func (*HostNetworkConfigEnsureRequest) XXX_Unmarshal

func (m *HostNetworkConfigEnsureRequest) XXX_Unmarshal(b []byte) error

type HostNetworkConfigQueryRequest

type HostNetworkConfigQueryRequest struct {
	// filter interfaces from config sources
	//
	// if no provider set, abbot MUST return all known host
	// interfaces, including unmanaged interfaces
	Providers []string `protobuf:"bytes,1,rep,name=providers,proto3" json:"providers,omitempty"`
}

Query host network config

func NewHostNetworkConfigQueryRequest

func NewHostNetworkConfigQueryRequest(
	providers ...string,
) *HostNetworkConfigQueryRequest

func (*HostNetworkConfigQueryRequest) Descriptor

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

func (*HostNetworkConfigQueryRequest) Equal

func (this *HostNetworkConfigQueryRequest) Equal(that interface{}) bool

func (*HostNetworkConfigQueryRequest) GetProviders

func (m *HostNetworkConfigQueryRequest) GetProviders() []string

func (*HostNetworkConfigQueryRequest) GoString

func (this *HostNetworkConfigQueryRequest) GoString() string

func (*HostNetworkConfigQueryRequest) Marshal

func (m *HostNetworkConfigQueryRequest) Marshal() (dAtA []byte, err error)

func (*HostNetworkConfigQueryRequest) MarshalTo

func (m *HostNetworkConfigQueryRequest) MarshalTo(dAtA []byte) (int, error)

func (*HostNetworkConfigQueryRequest) MarshalToSizedBuffer

func (m *HostNetworkConfigQueryRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*HostNetworkConfigQueryRequest) ProtoMessage

func (*HostNetworkConfigQueryRequest) ProtoMessage()

func (*HostNetworkConfigQueryRequest) Reset

func (m *HostNetworkConfigQueryRequest) Reset()

func (*HostNetworkConfigQueryRequest) Size

func (m *HostNetworkConfigQueryRequest) Size() (n int)

func (*HostNetworkConfigQueryRequest) String

func (this *HostNetworkConfigQueryRequest) String() string

func (*HostNetworkConfigQueryRequest) Unmarshal

func (m *HostNetworkConfigQueryRequest) Unmarshal(dAtA []byte) error

func (*HostNetworkConfigQueryRequest) XXX_DiscardUnknown

func (m *HostNetworkConfigQueryRequest) XXX_DiscardUnknown()

func (*HostNetworkConfigQueryRequest) XXX_Marshal

func (m *HostNetworkConfigQueryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HostNetworkConfigQueryRequest) XXX_Merge

func (m *HostNetworkConfigQueryRequest) XXX_Merge(src proto.Message)

func (*HostNetworkConfigQueryRequest) XXX_Size

func (m *HostNetworkConfigQueryRequest) XXX_Size() int

func (*HostNetworkConfigQueryRequest) XXX_Unmarshal

func (m *HostNetworkConfigQueryRequest) XXX_Unmarshal(b []byte) error

type HostNetworkConfigResponse

type HostNetworkConfigResponse struct {
	Actual []*HostNetworkInterface `protobuf:"bytes,1,rep,name=actual,proto3" json:"actual,omitempty"`
}

func NewHostNetworkConfigResponse

func NewHostNetworkConfigResponse(
	interfaces ...*HostNetworkInterface,
) *HostNetworkConfigResponse

func (*HostNetworkConfigResponse) Descriptor

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

func (*HostNetworkConfigResponse) Equal

func (this *HostNetworkConfigResponse) Equal(that interface{}) bool

func (*HostNetworkConfigResponse) GetActual

func (*HostNetworkConfigResponse) GoString

func (this *HostNetworkConfigResponse) GoString() string

func (*HostNetworkConfigResponse) Marshal

func (m *HostNetworkConfigResponse) Marshal() (dAtA []byte, err error)

func (*HostNetworkConfigResponse) MarshalTo

func (m *HostNetworkConfigResponse) MarshalTo(dAtA []byte) (int, error)

func (*HostNetworkConfigResponse) MarshalToSizedBuffer

func (m *HostNetworkConfigResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*HostNetworkConfigResponse) ProtoMessage

func (*HostNetworkConfigResponse) ProtoMessage()

func (*HostNetworkConfigResponse) Reset

func (m *HostNetworkConfigResponse) Reset()

func (*HostNetworkConfigResponse) Size

func (m *HostNetworkConfigResponse) Size() (n int)

func (*HostNetworkConfigResponse) String

func (this *HostNetworkConfigResponse) String() string

func (*HostNetworkConfigResponse) Unmarshal

func (m *HostNetworkConfigResponse) Unmarshal(dAtA []byte) error

func (*HostNetworkConfigResponse) XXX_DiscardUnknown

func (m *HostNetworkConfigResponse) XXX_DiscardUnknown()

func (*HostNetworkConfigResponse) XXX_Marshal

func (m *HostNetworkConfigResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HostNetworkConfigResponse) XXX_Merge

func (m *HostNetworkConfigResponse) XXX_Merge(src proto.Message)

func (*HostNetworkConfigResponse) XXX_Size

func (m *HostNetworkConfigResponse) XXX_Size() int

func (*HostNetworkConfigResponse) XXX_Unmarshal

func (m *HostNetworkConfigResponse) XXX_Unmarshal(b []byte) error

type HostNetworkInterface

type HostNetworkInterface struct {
	Metadata *NetworkInterface `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// provider of this interface, if this interface was configured
	// in configuration, the provider MUST be `static`
	//
	// when you create a network interface dynamically
	// you should provide a unique provider value to
	// make sure this interface is always managed by
	// you
	Provider string `protobuf:"bytes,2,opt,name=provider,proto3" json:"provider,omitempty"`
	// Types that are valid to be assigned to Config:
	//	*HostNetworkInterface_Unknown
	//	*HostNetworkInterface_Bridge
	//	*HostNetworkInterface_Wireguard
	Config isHostNetworkInterface_Config `protobuf_oneof:"config"`
}

func NewHostNetworkInterface

func NewHostNetworkInterface(
	provider string,
	metadata *NetworkInterface,
	config interface{},
) *HostNetworkInterface

func (*HostNetworkInterface) Descriptor

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

func (*HostNetworkInterface) Equal

func (this *HostNetworkInterface) Equal(that interface{}) bool

func (*HostNetworkInterface) GetBridge

func (m *HostNetworkInterface) GetBridge() *DriverBridge

func (*HostNetworkInterface) GetConfig

func (m *HostNetworkInterface) GetConfig() isHostNetworkInterface_Config

func (*HostNetworkInterface) GetMetadata

func (m *HostNetworkInterface) GetMetadata() *NetworkInterface

func (*HostNetworkInterface) GetProvider

func (m *HostNetworkInterface) GetProvider() string

func (*HostNetworkInterface) GetUnknown

func (m *HostNetworkInterface) GetUnknown() *DriverUnknown

func (*HostNetworkInterface) GetWireguard

func (m *HostNetworkInterface) GetWireguard() *DriverWireguard

func (*HostNetworkInterface) GoString

func (this *HostNetworkInterface) GoString() string

func (*HostNetworkInterface) Marshal

func (m *HostNetworkInterface) Marshal() (dAtA []byte, err error)

func (*HostNetworkInterface) MarshalTo

func (m *HostNetworkInterface) MarshalTo(dAtA []byte) (int, error)

func (*HostNetworkInterface) MarshalToSizedBuffer

func (m *HostNetworkInterface) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*HostNetworkInterface) ProtoMessage

func (*HostNetworkInterface) ProtoMessage()

func (*HostNetworkInterface) Reset

func (m *HostNetworkInterface) Reset()

func (*HostNetworkInterface) Size

func (m *HostNetworkInterface) Size() (n int)

func (*HostNetworkInterface) String

func (this *HostNetworkInterface) String() string

func (*HostNetworkInterface) Unmarshal

func (m *HostNetworkInterface) Unmarshal(dAtA []byte) error

func (*HostNetworkInterface) XXX_DiscardUnknown

func (m *HostNetworkInterface) XXX_DiscardUnknown()

func (*HostNetworkInterface) XXX_Marshal

func (m *HostNetworkInterface) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HostNetworkInterface) XXX_Merge

func (m *HostNetworkInterface) XXX_Merge(src proto.Message)

func (*HostNetworkInterface) XXX_OneofWrappers

func (*HostNetworkInterface) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*HostNetworkInterface) XXX_Size

func (m *HostNetworkInterface) XXX_Size() int

func (*HostNetworkInterface) XXX_Unmarshal

func (m *HostNetworkInterface) XXX_Unmarshal(b []byte) error

type HostNetworkInterface_Bridge

type HostNetworkInterface_Bridge struct {
	Bridge *DriverBridge `protobuf:"bytes,11,opt,name=bridge,proto3,oneof" json:"bridge,omitempty"`
}

func (*HostNetworkInterface_Bridge) Equal

func (this *HostNetworkInterface_Bridge) Equal(that interface{}) bool

func (*HostNetworkInterface_Bridge) GoString

func (this *HostNetworkInterface_Bridge) GoString() string

func (*HostNetworkInterface_Bridge) MarshalTo

func (m *HostNetworkInterface_Bridge) MarshalTo(dAtA []byte) (int, error)

func (*HostNetworkInterface_Bridge) MarshalToSizedBuffer

func (m *HostNetworkInterface_Bridge) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*HostNetworkInterface_Bridge) Size

func (m *HostNetworkInterface_Bridge) Size() (n int)

func (*HostNetworkInterface_Bridge) String

func (this *HostNetworkInterface_Bridge) String() string

type HostNetworkInterface_Unknown

type HostNetworkInterface_Unknown struct {
	Unknown *DriverUnknown `protobuf:"bytes,10,opt,name=unknown,proto3,oneof" json:"unknown,omitempty"`
}

func (*HostNetworkInterface_Unknown) Equal

func (this *HostNetworkInterface_Unknown) Equal(that interface{}) bool

func (*HostNetworkInterface_Unknown) GoString

func (this *HostNetworkInterface_Unknown) GoString() string

func (*HostNetworkInterface_Unknown) MarshalTo

func (m *HostNetworkInterface_Unknown) MarshalTo(dAtA []byte) (int, error)

func (*HostNetworkInterface_Unknown) MarshalToSizedBuffer

func (m *HostNetworkInterface_Unknown) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*HostNetworkInterface_Unknown) Size

func (m *HostNetworkInterface_Unknown) Size() (n int)

func (*HostNetworkInterface_Unknown) String

func (this *HostNetworkInterface_Unknown) String() string

type HostNetworkInterface_Wireguard

type HostNetworkInterface_Wireguard struct {
	Wireguard *DriverWireguard `protobuf:"bytes,12,opt,name=wireguard,proto3,oneof" json:"wireguard,omitempty"`
}

func (*HostNetworkInterface_Wireguard) Equal

func (this *HostNetworkInterface_Wireguard) Equal(that interface{}) bool

func (*HostNetworkInterface_Wireguard) GoString

func (this *HostNetworkInterface_Wireguard) GoString() string

func (*HostNetworkInterface_Wireguard) MarshalTo

func (m *HostNetworkInterface_Wireguard) MarshalTo(dAtA []byte) (int, error)

func (*HostNetworkInterface_Wireguard) MarshalToSizedBuffer

func (m *HostNetworkInterface_Wireguard) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*HostNetworkInterface_Wireguard) Size

func (m *HostNetworkInterface_Wireguard) Size() (n int)

func (*HostNetworkInterface_Wireguard) String

func (this *HostNetworkInterface_Wireguard) String() string

type NetworkInterface

type NetworkInterface struct {
	Name            string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Mtu             int32    `protobuf:"varint,2,opt,name=mtu,proto3" json:"mtu,omitempty"`
	HardwareAddress string   `protobuf:"bytes,3,opt,name=hardware_address,json=hardwareAddress,proto3" json:"hardware_address,omitempty"`
	Addresses       []string `protobuf:"bytes,4,rep,name=addresses,proto3" json:"addresses,omitempty"`
	// delete this interface on abbot daemon exit, regardless of whether
	// it is backed by a system driver or userspace driver
	//
	// NOTE: userspace drivers (e.g. tun based wireguard) backed interfaces
	// will always be deleted on abbot exit
	DeleteOnExit bool `protobuf:"varint,5,opt,name=delete_on_exit,json=deleteOnExit,proto3" json:"delete_on_exit,omitempty"`
}

func (*NetworkInterface) Descriptor

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

func (*NetworkInterface) Equal

func (this *NetworkInterface) Equal(that interface{}) bool

func (*NetworkInterface) GetAddresses

func (m *NetworkInterface) GetAddresses() []string

func (*NetworkInterface) GetDeleteOnExit added in v0.1.1

func (m *NetworkInterface) GetDeleteOnExit() bool

func (*NetworkInterface) GetHardwareAddress

func (m *NetworkInterface) GetHardwareAddress() string

func (*NetworkInterface) GetMtu

func (m *NetworkInterface) GetMtu() int32

func (*NetworkInterface) GetName

func (m *NetworkInterface) GetName() string

func (*NetworkInterface) GoString

func (this *NetworkInterface) GoString() string

func (*NetworkInterface) Marshal

func (m *NetworkInterface) Marshal() (dAtA []byte, err error)

func (*NetworkInterface) MarshalTo

func (m *NetworkInterface) MarshalTo(dAtA []byte) (int, error)

func (*NetworkInterface) MarshalToSizedBuffer

func (m *NetworkInterface) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NetworkInterface) ProtoMessage

func (*NetworkInterface) ProtoMessage()

func (*NetworkInterface) Reset

func (m *NetworkInterface) Reset()

func (*NetworkInterface) Size

func (m *NetworkInterface) Size() (n int)

func (*NetworkInterface) String

func (this *NetworkInterface) String() string

func (*NetworkInterface) Unmarshal

func (m *NetworkInterface) Unmarshal(dAtA []byte) error

func (*NetworkInterface) XXX_DiscardUnknown

func (m *NetworkInterface) XXX_DiscardUnknown()

func (*NetworkInterface) XXX_Marshal

func (m *NetworkInterface) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NetworkInterface) XXX_Merge

func (m *NetworkInterface) XXX_Merge(src proto.Message)

func (*NetworkInterface) XXX_Size

func (m *NetworkInterface) XXX_Size() int

func (*NetworkInterface) XXX_Unmarshal

func (m *NetworkInterface) XXX_Unmarshal(b []byte) error

type NetworkManagerClient

type NetworkManagerClient interface {
	Process(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error)
}

NetworkManagerClient is the client API for NetworkManager service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewNetworkManagerClient

func NewNetworkManagerClient(cc *grpc.ClientConn) NetworkManagerClient

type NetworkManagerServer

type NetworkManagerServer interface {
	Process(context.Context, *Request) (*Response, error)
}

NetworkManagerServer is the server API for NetworkManager service.

type Request

type Request struct {
	Kind RequestType `protobuf:"varint,1,opt,name=kind,proto3,enum=abbot.RequestType" json:"kind,omitempty"`
	Body []byte      `protobuf:"bytes,2,opt,name=body,proto3" json:"body,omitempty"`
}

func NewRequest

func NewRequest(req proto.Marshaler) (*Request, error)

func (*Request) Descriptor

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

func (*Request) Equal

func (this *Request) Equal(that interface{}) bool

func (*Request) GetBody

func (m *Request) GetBody() []byte

func (*Request) GetKind

func (m *Request) GetKind() RequestType

func (*Request) GoString

func (this *Request) GoString() string

func (*Request) Marshal

func (m *Request) Marshal() (dAtA []byte, err error)

func (*Request) MarshalTo

func (m *Request) MarshalTo(dAtA []byte) (int, error)

func (*Request) MarshalToSizedBuffer

func (m *Request) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Request) ProtoMessage

func (*Request) ProtoMessage()

func (*Request) Reset

func (m *Request) Reset()

func (*Request) Size

func (m *Request) Size() (n int)

func (*Request) String

func (this *Request) String() string

func (*Request) Unmarshal

func (m *Request) Unmarshal(dAtA []byte) error

func (*Request) XXX_DiscardUnknown

func (m *Request) XXX_DiscardUnknown()

func (*Request) XXX_Marshal

func (m *Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Request) XXX_Merge

func (m *Request) XXX_Merge(src proto.Message)

func (*Request) XXX_Size

func (m *Request) XXX_Size() int

func (*Request) XXX_Unmarshal

func (m *Request) XXX_Unmarshal(b []byte) error

type RequestType

type RequestType int32
const (
	REQ_ENSURE_CTR_NETWORK_CONFIG  RequestType = 11
	REQ_QUERY_CTR_NETWORK_CONFIG   RequestType = 12
	REQ_ENSURE_CTR_NETWORK         RequestType = 21
	REQ_RESTORE_CTR_NETWORK        RequestType = 22
	REQ_DELETE_CTR_NETWORK         RequestType = 23
	REQ_QUERY_CTR_NETWORK          RequestType = 24
	REQ_ENSURE_HOST_NETWORK_CONFIG RequestType = 31
	REQ_QUERY_HOST_NETWORK_CONFIG  RequestType = 32
)

func (RequestType) EnumDescriptor

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

func (RequestType) String

func (x RequestType) String() string

type Response

type Response struct {
	Kind ResponseType `protobuf:"varint,1,opt,name=kind,proto3,enum=abbot.ResponseType" json:"kind,omitempty"`
	Body []byte       `protobuf:"bytes,2,opt,name=body,proto3" json:"body,omitempty"`
}

func NewResponse

func NewResponse(resp proto.Marshaler) (*Response, error)

func (*Response) Descriptor

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

func (*Response) Equal

func (this *Response) Equal(that interface{}) bool

func (*Response) GetBody

func (m *Response) GetBody() []byte

func (*Response) GetKind

func (m *Response) GetKind() ResponseType

func (*Response) GoString

func (this *Response) GoString() string

func (*Response) Marshal

func (m *Response) Marshal() (dAtA []byte, err error)

func (*Response) MarshalTo

func (m *Response) MarshalTo(dAtA []byte) (int, error)

func (*Response) MarshalToSizedBuffer

func (m *Response) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Response) ProtoMessage

func (*Response) ProtoMessage()

func (*Response) Reset

func (m *Response) Reset()

func (*Response) Size

func (m *Response) Size() (n int)

func (*Response) String

func (this *Response) String() string

func (*Response) Unmarshal

func (m *Response) Unmarshal(dAtA []byte) error

func (*Response) XXX_DiscardUnknown

func (m *Response) XXX_DiscardUnknown()

func (*Response) XXX_Marshal

func (m *Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Response) XXX_Merge

func (m *Response) XXX_Merge(src proto.Message)

func (*Response) XXX_Size

func (m *Response) XXX_Size() int

func (*Response) XXX_Unmarshal

func (m *Response) XXX_Unmarshal(b []byte) error

type ResponseType

type ResponseType int32
const (
	RESP_DONE                    ResponseType = 1
	RESP_CTR_NETWORK_CONFIG      ResponseType = 11
	RESP_CTR_NETWORK_STATUS      ResponseType = 21
	RESP_CTR_NETWORK_STATUS_LIST ResponseType = 22
	RESP_HOST_NETWORK_CONFIG     ResponseType = 31
)

func (ResponseType) EnumDescriptor

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

func (ResponseType) String

func (x ResponseType) String() string

type UnimplementedNetworkManagerServer

type UnimplementedNetworkManagerServer struct {
}

UnimplementedNetworkManagerServer can be embedded to have forward compatible implementations.

func (*UnimplementedNetworkManagerServer) Process

Jump to

Keyboard shortcuts

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