nodeapi

package
v0.0.0-...-d67a62d Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2018 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

The API definition of RPC from midonet-kube-cni to midonet-kube-node

Index

Constants

View Source
const (
	Path = "/var/run/midonet-kube-node/api"
)

Variables

This section is empty.

Functions

func RegisterMidoNetKubeNodeServer

func RegisterMidoNetKubeNodeServer(s *grpc.Server, srv MidoNetKubeNodeServer)

Types

type AddPodAnnotationReply

type AddPodAnnotationReply struct {
	Error                string   `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
	Metav1StatusReason   string   `protobuf:"bytes,2,opt,name=metav1_status_reason,json=metav1StatusReason,proto3" json:"metav1_status_reason,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AddPodAnnotationReply) Descriptor

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

func (*AddPodAnnotationReply) GetError

func (m *AddPodAnnotationReply) GetError() string

func (*AddPodAnnotationReply) GetMetav1StatusReason

func (m *AddPodAnnotationReply) GetMetav1StatusReason() string

func (*AddPodAnnotationReply) ProtoMessage

func (*AddPodAnnotationReply) ProtoMessage()

func (*AddPodAnnotationReply) Reset

func (m *AddPodAnnotationReply) Reset()

func (*AddPodAnnotationReply) String

func (m *AddPodAnnotationReply) String() string

func (*AddPodAnnotationReply) XXX_DiscardUnknown

func (m *AddPodAnnotationReply) XXX_DiscardUnknown()

func (*AddPodAnnotationReply) XXX_Marshal

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

func (*AddPodAnnotationReply) XXX_Merge

func (dst *AddPodAnnotationReply) XXX_Merge(src proto.Message)

func (*AddPodAnnotationReply) XXX_Size

func (m *AddPodAnnotationReply) XXX_Size() int

func (*AddPodAnnotationReply) XXX_Unmarshal

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

type AddPodAnnotationRequest

type AddPodAnnotationRequest struct {
	Namespace            string   `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Name                 string   `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Key                  string   `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"`
	Value                string   `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AddPodAnnotationRequest) Descriptor

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

func (*AddPodAnnotationRequest) GetKey

func (m *AddPodAnnotationRequest) GetKey() string

func (*AddPodAnnotationRequest) GetName

func (m *AddPodAnnotationRequest) GetName() string

func (*AddPodAnnotationRequest) GetNamespace

func (m *AddPodAnnotationRequest) GetNamespace() string

func (*AddPodAnnotationRequest) GetValue

func (m *AddPodAnnotationRequest) GetValue() string

func (*AddPodAnnotationRequest) ProtoMessage

func (*AddPodAnnotationRequest) ProtoMessage()

func (*AddPodAnnotationRequest) Reset

func (m *AddPodAnnotationRequest) Reset()

func (*AddPodAnnotationRequest) String

func (m *AddPodAnnotationRequest) String() string

func (*AddPodAnnotationRequest) XXX_DiscardUnknown

func (m *AddPodAnnotationRequest) XXX_DiscardUnknown()

func (*AddPodAnnotationRequest) XXX_Marshal

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

func (*AddPodAnnotationRequest) XXX_Merge

func (dst *AddPodAnnotationRequest) XXX_Merge(src proto.Message)

func (*AddPodAnnotationRequest) XXX_Size

func (m *AddPodAnnotationRequest) XXX_Size() int

func (*AddPodAnnotationRequest) XXX_Unmarshal

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

type DeletePodAnnotationReply

type DeletePodAnnotationReply struct {
	Error                string   `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
	Metav1StatusReason   string   `protobuf:"bytes,2,opt,name=metav1_status_reason,json=metav1StatusReason,proto3" json:"metav1_status_reason,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DeletePodAnnotationReply) Descriptor

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

func (*DeletePodAnnotationReply) GetError

func (m *DeletePodAnnotationReply) GetError() string

func (*DeletePodAnnotationReply) GetMetav1StatusReason

func (m *DeletePodAnnotationReply) GetMetav1StatusReason() string

func (*DeletePodAnnotationReply) ProtoMessage

func (*DeletePodAnnotationReply) ProtoMessage()

func (*DeletePodAnnotationReply) Reset

func (m *DeletePodAnnotationReply) Reset()

func (*DeletePodAnnotationReply) String

func (m *DeletePodAnnotationReply) String() string

func (*DeletePodAnnotationReply) XXX_DiscardUnknown

func (m *DeletePodAnnotationReply) XXX_DiscardUnknown()

func (*DeletePodAnnotationReply) XXX_Marshal

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

func (*DeletePodAnnotationReply) XXX_Merge

func (dst *DeletePodAnnotationReply) XXX_Merge(src proto.Message)

func (*DeletePodAnnotationReply) XXX_Size

func (m *DeletePodAnnotationReply) XXX_Size() int

func (*DeletePodAnnotationReply) XXX_Unmarshal

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

type DeletePodAnnotationRequest

type DeletePodAnnotationRequest struct {
	Namespace            string   `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Name                 string   `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Key                  string   `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DeletePodAnnotationRequest) Descriptor

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

func (*DeletePodAnnotationRequest) GetKey

func (m *DeletePodAnnotationRequest) GetKey() string

func (*DeletePodAnnotationRequest) GetName

func (m *DeletePodAnnotationRequest) GetName() string

func (*DeletePodAnnotationRequest) GetNamespace

func (m *DeletePodAnnotationRequest) GetNamespace() string

func (*DeletePodAnnotationRequest) ProtoMessage

func (*DeletePodAnnotationRequest) ProtoMessage()

func (*DeletePodAnnotationRequest) Reset

func (m *DeletePodAnnotationRequest) Reset()

func (*DeletePodAnnotationRequest) String

func (m *DeletePodAnnotationRequest) String() string

func (*DeletePodAnnotationRequest) XXX_DiscardUnknown

func (m *DeletePodAnnotationRequest) XXX_DiscardUnknown()

func (*DeletePodAnnotationRequest) XXX_Marshal

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

func (*DeletePodAnnotationRequest) XXX_Merge

func (dst *DeletePodAnnotationRequest) XXX_Merge(src proto.Message)

func (*DeletePodAnnotationRequest) XXX_Size

func (m *DeletePodAnnotationRequest) XXX_Size() int

func (*DeletePodAnnotationRequest) XXX_Unmarshal

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

type MidoNetKubeNodeClient

type MidoNetKubeNodeClient interface {
	AddPodAnnotation(ctx context.Context, in *AddPodAnnotationRequest, opts ...grpc.CallOption) (*AddPodAnnotationReply, error)
	DeletePodAnnotation(ctx context.Context, in *DeletePodAnnotationRequest, opts ...grpc.CallOption) (*DeletePodAnnotationReply, error)
}

MidoNetKubeNodeClient is the client API for MidoNetKubeNode service.

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

func NewMidoNetKubeNodeClient

func NewMidoNetKubeNodeClient(cc *grpc.ClientConn) MidoNetKubeNodeClient

type MidoNetKubeNodeServer

type MidoNetKubeNodeServer interface {
	AddPodAnnotation(context.Context, *AddPodAnnotationRequest) (*AddPodAnnotationReply, error)
	DeletePodAnnotation(context.Context, *DeletePodAnnotationRequest) (*DeletePodAnnotationReply, error)
}

MidoNetKubeNodeServer is the server API for MidoNetKubeNode service.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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