proto

package
v0.16.1 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_dashboard_api_proto protoreflect.FileDescriptor

Functions

func RegisterDashboardServer

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

Types

type AlertRequest added in v0.16.0

type AlertRequest struct {
	Type       string               `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Message    string               `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	Expiration *timestamp.Timestamp `protobuf:"bytes,3,opt,name=expiration,proto3" json:"expiration,omitempty"`
	ClientID   string               `protobuf:"bytes,4,opt,name=clientID,proto3" json:"clientID,omitempty"`
	// contains filtered or unexported fields
}

func (*AlertRequest) Descriptor deprecated added in v0.16.0

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

Deprecated: Use AlertRequest.ProtoReflect.Descriptor instead.

func (*AlertRequest) GetClientID added in v0.16.0

func (x *AlertRequest) GetClientID() string

func (*AlertRequest) GetExpiration added in v0.16.0

func (x *AlertRequest) GetExpiration() *timestamp.Timestamp

func (*AlertRequest) GetMessage added in v0.16.0

func (x *AlertRequest) GetMessage() string

func (*AlertRequest) GetType added in v0.16.0

func (x *AlertRequest) GetType() string

func (*AlertRequest) ProtoMessage added in v0.16.0

func (*AlertRequest) ProtoMessage()

func (*AlertRequest) ProtoReflect added in v0.16.0

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

func (*AlertRequest) Reset added in v0.16.0

func (x *AlertRequest) Reset()

func (*AlertRequest) String added in v0.16.0

func (x *AlertRequest) String() string

type CancelPortForwardRequest

type CancelPortForwardRequest struct {
	PortForwardID string `protobuf:"bytes,1,opt,name=portForwardID,proto3" json:"portForwardID,omitempty"`
	// contains filtered or unexported fields
}

func (*CancelPortForwardRequest) Descriptor deprecated

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

Deprecated: Use CancelPortForwardRequest.ProtoReflect.Descriptor instead.

func (*CancelPortForwardRequest) GetPortForwardID

func (x *CancelPortForwardRequest) GetPortForwardID() string

func (*CancelPortForwardRequest) ProtoMessage

func (*CancelPortForwardRequest) ProtoMessage()

func (*CancelPortForwardRequest) ProtoReflect added in v0.16.0

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

func (*CancelPortForwardRequest) Reset

func (x *CancelPortForwardRequest) Reset()

func (*CancelPortForwardRequest) String

func (x *CancelPortForwardRequest) String() string

type CreateRequest added in v0.12.0

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

func (*CreateRequest) Descriptor deprecated added in v0.12.0

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

Deprecated: Use CreateRequest.ProtoReflect.Descriptor instead.

func (*CreateRequest) GetObject added in v0.12.0

func (x *CreateRequest) GetObject() []byte

func (*CreateRequest) ProtoMessage added in v0.12.0

func (*CreateRequest) ProtoMessage()

func (*CreateRequest) ProtoReflect added in v0.16.0

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

func (*CreateRequest) Reset added in v0.12.0

func (x *CreateRequest) Reset()

func (*CreateRequest) String added in v0.12.0

func (x *CreateRequest) String() string

type CreateResponse added in v0.12.0

type CreateResponse struct {
	// contains filtered or unexported fields
}

func (*CreateResponse) Descriptor deprecated added in v0.12.0

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

Deprecated: Use CreateResponse.ProtoReflect.Descriptor instead.

func (*CreateResponse) ProtoMessage added in v0.12.0

func (*CreateResponse) ProtoMessage()

func (*CreateResponse) ProtoReflect added in v0.16.0

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

func (*CreateResponse) Reset added in v0.12.0

func (x *CreateResponse) Reset()

func (*CreateResponse) String added in v0.12.0

func (x *CreateResponse) String() string

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)
	Create(ctx context.Context, in *CreateRequest, opts ...grpc.CallOption) (*CreateResponse, error)
	PortForward(ctx context.Context, in *PortForwardRequest, opts ...grpc.CallOption) (*PortForwardResponse, error)
	CancelPortForward(ctx context.Context, in *CancelPortForwardRequest, opts ...grpc.CallOption) (*Empty, error)
	ListNamespaces(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*NamespacesResponse, error)
	ForceFrontendUpdate(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Empty, error)
	SendAlert(ctx context.Context, in *AlertRequest, 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.ClientConnInterface) DashboardClient

type DashboardServer

DashboardServer is the server API for Dashboard service.

type Empty

type Empty struct {
	// contains filtered or unexported fields
}

func (*Empty) Descriptor deprecated

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

Deprecated: Use Empty.ProtoReflect.Descriptor instead.

func (*Empty) ProtoMessage

func (*Empty) ProtoMessage()

func (*Empty) ProtoReflect added in v0.16.0

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

func (*Empty) Reset

func (x *Empty) Reset()

func (*Empty) String

func (x *Empty) String() string

type GetResponse

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

func (*GetResponse) Descriptor deprecated

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

Deprecated: Use GetResponse.ProtoReflect.Descriptor instead.

func (*GetResponse) GetObject

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

func (*GetResponse) ProtoMessage

func (*GetResponse) ProtoMessage()

func (*GetResponse) ProtoReflect added in v0.16.0

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

func (*GetResponse) Reset

func (x *GetResponse) Reset()

func (*GetResponse) String

func (x *GetResponse) String() string

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"`
	// contains filtered or unexported fields
}

func (*KeyRequest) Descriptor deprecated

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

Deprecated: Use KeyRequest.ProtoReflect.Descriptor instead.

func (*KeyRequest) GetApiVersion

func (x *KeyRequest) GetApiVersion() string

func (*KeyRequest) GetKind

func (x *KeyRequest) GetKind() string

func (*KeyRequest) GetLabelSelector

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

func (*KeyRequest) GetName

func (x *KeyRequest) GetName() string

func (*KeyRequest) GetNamespace

func (x *KeyRequest) GetNamespace() string

func (*KeyRequest) ProtoMessage

func (*KeyRequest) ProtoMessage()

func (*KeyRequest) ProtoReflect added in v0.16.0

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

func (*KeyRequest) Reset

func (x *KeyRequest) Reset()

func (*KeyRequest) String

func (x *KeyRequest) String() string

type ListResponse

type ListResponse struct {
	Objects [][]byte `protobuf:"bytes,1,rep,name=objects,proto3" json:"objects,omitempty"`
	// contains filtered or unexported fields
}

func (*ListResponse) Descriptor deprecated

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

Deprecated: Use ListResponse.ProtoReflect.Descriptor instead.

func (*ListResponse) GetObjects

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

func (*ListResponse) ProtoMessage

func (*ListResponse) ProtoMessage()

func (*ListResponse) ProtoReflect added in v0.16.0

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

func (*ListResponse) Reset

func (x *ListResponse) Reset()

func (*ListResponse) String

func (x *ListResponse) String() string

type NamespacesResponse added in v0.11.0

type NamespacesResponse struct {
	Namespaces []string `protobuf:"bytes,1,rep,name=namespaces,proto3" json:"namespaces,omitempty"`
	// contains filtered or unexported fields
}

func (*NamespacesResponse) Descriptor deprecated added in v0.11.0

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

Deprecated: Use NamespacesResponse.ProtoReflect.Descriptor instead.

func (*NamespacesResponse) GetNamespaces added in v0.11.0

func (x *NamespacesResponse) GetNamespaces() []string

func (*NamespacesResponse) ProtoMessage added in v0.11.0

func (*NamespacesResponse) ProtoMessage()

func (*NamespacesResponse) ProtoReflect added in v0.16.0

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

func (*NamespacesResponse) Reset added in v0.11.0

func (x *NamespacesResponse) Reset()

func (*NamespacesResponse) String added in v0.11.0

func (x *NamespacesResponse) String() string

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"`
	// contains filtered or unexported fields
}

func (*PortForwardRequest) Descriptor deprecated

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

Deprecated: Use PortForwardRequest.ProtoReflect.Descriptor instead.

func (*PortForwardRequest) GetContainerName

func (x *PortForwardRequest) GetContainerName() string

func (*PortForwardRequest) GetNamespace

func (x *PortForwardRequest) GetNamespace() string

func (*PortForwardRequest) GetPodName

func (x *PortForwardRequest) GetPodName() string

func (*PortForwardRequest) GetPortNumber

func (x *PortForwardRequest) GetPortNumber() uint32

func (*PortForwardRequest) ProtoMessage

func (*PortForwardRequest) ProtoMessage()

func (*PortForwardRequest) ProtoReflect added in v0.16.0

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

func (*PortForwardRequest) Reset

func (x *PortForwardRequest) Reset()

func (*PortForwardRequest) String

func (x *PortForwardRequest) String() string

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"`
	// contains filtered or unexported fields
}

func (*PortForwardResponse) Descriptor deprecated

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

Deprecated: Use PortForwardResponse.ProtoReflect.Descriptor instead.

func (*PortForwardResponse) GetPortForwardID

func (x *PortForwardResponse) GetPortForwardID() string

func (*PortForwardResponse) GetPortNumber

func (x *PortForwardResponse) GetPortNumber() uint32

func (*PortForwardResponse) ProtoMessage

func (*PortForwardResponse) ProtoMessage()

func (*PortForwardResponse) ProtoReflect added in v0.16.0

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

func (*PortForwardResponse) Reset

func (x *PortForwardResponse) Reset()

func (*PortForwardResponse) String

func (x *PortForwardResponse) String() string

type UnimplementedDashboardServer

type UnimplementedDashboardServer struct {
}

UnimplementedDashboardServer can be embedded to have forward compatible implementations.

func (*UnimplementedDashboardServer) CancelPortForward

func (*UnimplementedDashboardServer) Create added in v0.12.0

func (*UnimplementedDashboardServer) ForceFrontendUpdate

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

func (*UnimplementedDashboardServer) Get

func (*UnimplementedDashboardServer) List

func (*UnimplementedDashboardServer) ListNamespaces added in v0.12.0

func (*UnimplementedDashboardServer) PortForward

func (*UnimplementedDashboardServer) SendAlert added in v0.16.0

func (*UnimplementedDashboardServer) Update

type UpdateRequest

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

func (*UpdateRequest) Descriptor deprecated

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

Deprecated: Use UpdateRequest.ProtoReflect.Descriptor instead.

func (*UpdateRequest) GetObject

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

func (*UpdateRequest) ProtoMessage

func (*UpdateRequest) ProtoMessage()

func (*UpdateRequest) ProtoReflect added in v0.16.0

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

func (*UpdateRequest) Reset

func (x *UpdateRequest) Reset()

func (*UpdateRequest) String

func (x *UpdateRequest) String() string

type UpdateResponse

type UpdateResponse struct {
	// contains filtered or unexported fields
}

func (*UpdateResponse) Descriptor deprecated

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

Deprecated: Use UpdateResponse.ProtoReflect.Descriptor instead.

func (*UpdateResponse) ProtoMessage

func (*UpdateResponse) ProtoMessage()

func (*UpdateResponse) ProtoReflect added in v0.16.0

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

func (*UpdateResponse) Reset

func (x *UpdateResponse) Reset()

func (*UpdateResponse) String

func (x *UpdateResponse) String() string

Jump to

Keyboard shortcuts

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