proto

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterDashboardServer

func RegisterDashboardServer(s *grpc.Server, srv DashboardServer)

Types

type CancelPortForwardRequest

type CancelPortForwardRequest struct {
	PortForwardID        string   `protobuf:"bytes,1,opt,name=portForwardID,proto3" json:"portForwardID,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CancelPortForwardRequest) Descriptor

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

func (*CancelPortForwardRequest) GetPortForwardID

func (m *CancelPortForwardRequest) GetPortForwardID() string

func (*CancelPortForwardRequest) ProtoMessage

func (*CancelPortForwardRequest) ProtoMessage()

func (*CancelPortForwardRequest) Reset

func (m *CancelPortForwardRequest) Reset()

func (*CancelPortForwardRequest) String

func (m *CancelPortForwardRequest) String() string

func (*CancelPortForwardRequest) XXX_DiscardUnknown

func (m *CancelPortForwardRequest) XXX_DiscardUnknown()

func (*CancelPortForwardRequest) XXX_Marshal

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

func (*CancelPortForwardRequest) XXX_Merge

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

func (*CancelPortForwardRequest) XXX_Size

func (m *CancelPortForwardRequest) XXX_Size() int

func (*CancelPortForwardRequest) XXX_Unmarshal

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

type DashboardClient

type DashboardClient interface {
	List(ctx context.Context, in *KeyRequest, opts ...grpc.CallOption) (*ListResponse, error)
	Get(ctx context.Context, in *KeyRequest, opts ...grpc.CallOption) (*GetResponse, error)
	Update(ctx context.Context, in *UpdateRequest, opts ...grpc.CallOption) (*UpdateResponse, error)
	PortForward(ctx context.Context, in *PortForwardRequest, opts ...grpc.CallOption) (*PortForwardResponse, error)
	CancelPortForward(ctx context.Context, in *CancelPortForwardRequest, opts ...grpc.CallOption) (*Empty, error)
	ForceFrontendUpdate(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Empty, error)
}

DashboardClient is the client API for Dashboard service.

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

func NewDashboardClient

func NewDashboardClient(cc *grpc.ClientConn) DashboardClient

type DashboardServer

type DashboardServer interface {
	List(context.Context, *KeyRequest) (*ListResponse, error)
	Get(context.Context, *KeyRequest) (*GetResponse, error)
	Update(context.Context, *UpdateRequest) (*UpdateResponse, error)
	PortForward(context.Context, *PortForwardRequest) (*PortForwardResponse, error)
	CancelPortForward(context.Context, *CancelPortForwardRequest) (*Empty, error)
	ForceFrontendUpdate(context.Context, *Empty) (*Empty, error)
}

DashboardServer is the server API for Dashboard service.

type Empty

type Empty struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Empty) Descriptor

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

func (*Empty) ProtoMessage

func (*Empty) ProtoMessage()

func (*Empty) Reset

func (m *Empty) Reset()

func (*Empty) String

func (m *Empty) String() string

func (*Empty) XXX_DiscardUnknown

func (m *Empty) XXX_DiscardUnknown()

func (*Empty) XXX_Marshal

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

func (*Empty) XXX_Merge

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

func (*Empty) XXX_Size

func (m *Empty) XXX_Size() int

func (*Empty) XXX_Unmarshal

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

type GetResponse

type GetResponse struct {
	Object               []byte   `protobuf:"bytes,1,opt,name=object,proto3" json:"object,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetResponse) Descriptor

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

func (*GetResponse) GetObject

func (m *GetResponse) GetObject() []byte

func (*GetResponse) ProtoMessage

func (*GetResponse) ProtoMessage()

func (*GetResponse) Reset

func (m *GetResponse) Reset()

func (*GetResponse) String

func (m *GetResponse) String() string

func (*GetResponse) XXX_DiscardUnknown

func (m *GetResponse) XXX_DiscardUnknown()

func (*GetResponse) XXX_Marshal

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

func (*GetResponse) XXX_Merge

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

func (*GetResponse) XXX_Size

func (m *GetResponse) XXX_Size() int

func (*GetResponse) XXX_Unmarshal

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

type KeyRequest

type KeyRequest struct {
	Namespace            string               `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	ApiVersion           string               `protobuf:"bytes,2,opt,name=apiVersion,proto3" json:"apiVersion,omitempty"`
	Kind                 string               `protobuf:"bytes,3,opt,name=kind,proto3" json:"kind,omitempty"`
	Name                 string               `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	LabelSelector        *wrappers.BytesValue `protobuf:"bytes,5,opt,name=labelSelector,proto3" json:"labelSelector,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*KeyRequest) Descriptor

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

func (*KeyRequest) GetApiVersion

func (m *KeyRequest) GetApiVersion() string

func (*KeyRequest) GetKind

func (m *KeyRequest) GetKind() string

func (*KeyRequest) GetLabelSelector

func (m *KeyRequest) GetLabelSelector() *wrappers.BytesValue

func (*KeyRequest) GetName

func (m *KeyRequest) GetName() string

func (*KeyRequest) GetNamespace

func (m *KeyRequest) GetNamespace() string

func (*KeyRequest) ProtoMessage

func (*KeyRequest) ProtoMessage()

func (*KeyRequest) Reset

func (m *KeyRequest) Reset()

func (*KeyRequest) String

func (m *KeyRequest) String() string

func (*KeyRequest) XXX_DiscardUnknown

func (m *KeyRequest) XXX_DiscardUnknown()

func (*KeyRequest) XXX_Marshal

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

func (*KeyRequest) XXX_Merge

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

func (*KeyRequest) XXX_Size

func (m *KeyRequest) XXX_Size() int

func (*KeyRequest) XXX_Unmarshal

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

type ListResponse

type ListResponse struct {
	Objects              [][]byte `protobuf:"bytes,1,rep,name=objects,proto3" json:"objects,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListResponse) Descriptor

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

func (*ListResponse) GetObjects

func (m *ListResponse) GetObjects() [][]byte

func (*ListResponse) ProtoMessage

func (*ListResponse) ProtoMessage()

func (*ListResponse) Reset

func (m *ListResponse) Reset()

func (*ListResponse) String

func (m *ListResponse) String() string

func (*ListResponse) XXX_DiscardUnknown

func (m *ListResponse) XXX_DiscardUnknown()

func (*ListResponse) XXX_Marshal

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

func (*ListResponse) XXX_Merge

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

func (*ListResponse) XXX_Size

func (m *ListResponse) XXX_Size() int

func (*ListResponse) XXX_Unmarshal

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

type PortForwardRequest

type PortForwardRequest struct {
	Namespace            string   `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	PodName              string   `protobuf:"bytes,2,opt,name=podName,proto3" json:"podName,omitempty"`
	ContainerName        string   `protobuf:"bytes,3,opt,name=containerName,proto3" json:"containerName,omitempty"`
	PortNumber           uint32   `protobuf:"varint,4,opt,name=portNumber,proto3" json:"portNumber,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PortForwardRequest) Descriptor

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

func (*PortForwardRequest) GetContainerName

func (m *PortForwardRequest) GetContainerName() string

func (*PortForwardRequest) GetNamespace

func (m *PortForwardRequest) GetNamespace() string

func (*PortForwardRequest) GetPodName

func (m *PortForwardRequest) GetPodName() string

func (*PortForwardRequest) GetPortNumber

func (m *PortForwardRequest) GetPortNumber() uint32

func (*PortForwardRequest) ProtoMessage

func (*PortForwardRequest) ProtoMessage()

func (*PortForwardRequest) Reset

func (m *PortForwardRequest) Reset()

func (*PortForwardRequest) String

func (m *PortForwardRequest) String() string

func (*PortForwardRequest) XXX_DiscardUnknown

func (m *PortForwardRequest) XXX_DiscardUnknown()

func (*PortForwardRequest) XXX_Marshal

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

func (*PortForwardRequest) XXX_Merge

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

func (*PortForwardRequest) XXX_Size

func (m *PortForwardRequest) XXX_Size() int

func (*PortForwardRequest) XXX_Unmarshal

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

type PortForwardResponse

type PortForwardResponse struct {
	PortForwardID        string   `protobuf:"bytes,1,opt,name=portForwardID,proto3" json:"portForwardID,omitempty"`
	PortNumber           uint32   `protobuf:"varint,2,opt,name=portNumber,proto3" json:"portNumber,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PortForwardResponse) Descriptor

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

func (*PortForwardResponse) GetPortForwardID

func (m *PortForwardResponse) GetPortForwardID() string

func (*PortForwardResponse) GetPortNumber

func (m *PortForwardResponse) GetPortNumber() uint32

func (*PortForwardResponse) ProtoMessage

func (*PortForwardResponse) ProtoMessage()

func (*PortForwardResponse) Reset

func (m *PortForwardResponse) Reset()

func (*PortForwardResponse) String

func (m *PortForwardResponse) String() string

func (*PortForwardResponse) XXX_DiscardUnknown

func (m *PortForwardResponse) XXX_DiscardUnknown()

func (*PortForwardResponse) XXX_Marshal

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

func (*PortForwardResponse) XXX_Merge

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

func (*PortForwardResponse) XXX_Size

func (m *PortForwardResponse) XXX_Size() int

func (*PortForwardResponse) XXX_Unmarshal

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

type UnimplementedDashboardServer

type UnimplementedDashboardServer struct {
}

UnimplementedDashboardServer can be embedded to have forward compatible implementations.

func (*UnimplementedDashboardServer) CancelPortForward

func (*UnimplementedDashboardServer) ForceFrontendUpdate

func (*UnimplementedDashboardServer) ForceFrontendUpdate(ctx context.Context, req *Empty) (*Empty, error)

func (*UnimplementedDashboardServer) Get

func (*UnimplementedDashboardServer) List

func (*UnimplementedDashboardServer) PortForward

func (*UnimplementedDashboardServer) Update

type UpdateRequest

type UpdateRequest struct {
	Object               []byte   `protobuf:"bytes,1,opt,name=object,proto3" json:"object,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UpdateRequest) Descriptor

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

func (*UpdateRequest) GetObject

func (m *UpdateRequest) GetObject() []byte

func (*UpdateRequest) ProtoMessage

func (*UpdateRequest) ProtoMessage()

func (*UpdateRequest) Reset

func (m *UpdateRequest) Reset()

func (*UpdateRequest) String

func (m *UpdateRequest) String() string

func (*UpdateRequest) XXX_DiscardUnknown

func (m *UpdateRequest) XXX_DiscardUnknown()

func (*UpdateRequest) XXX_Marshal

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

func (*UpdateRequest) XXX_Merge

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

func (*UpdateRequest) XXX_Size

func (m *UpdateRequest) XXX_Size() int

func (*UpdateRequest) XXX_Unmarshal

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

type UpdateResponse

type UpdateResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UpdateResponse) Descriptor

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

func (*UpdateResponse) ProtoMessage

func (*UpdateResponse) ProtoMessage()

func (*UpdateResponse) Reset

func (m *UpdateResponse) Reset()

func (*UpdateResponse) String

func (m *UpdateResponse) String() string

func (*UpdateResponse) XXX_DiscardUnknown

func (m *UpdateResponse) XXX_DiscardUnknown()

func (*UpdateResponse) XXX_Marshal

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

func (*UpdateResponse) XXX_Merge

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

func (*UpdateResponse) XXX_Size

func (m *UpdateResponse) XXX_Size() int

func (*UpdateResponse) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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