application

package module
v0.0.16 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ApplicationService_PingAppService_FullMethodName    = "/ApplicationService/PingAppService"
	ApplicationService_GetPreferences_FullMethodName    = "/ApplicationService/GetPreferences"
	ApplicationService_SetPreferences_FullMethodName    = "/ApplicationService/SetPreferences"
	ApplicationService_ListNodes_FullMethodName         = "/ApplicationService/ListNodes"
	ApplicationService_CreateApplication_FullMethodName = "/ApplicationService/CreateApplication"
	ApplicationService_ListApplications_FullMethodName  = "/ApplicationService/ListApplications"
	ApplicationService_DeleteApplication_FullMethodName = "/ApplicationService/DeleteApplication"
	ApplicationService_GetApplication_FullMethodName    = "/ApplicationService/GetApplication"
)

Variables

View Source
var (
	ViewType_name = map[int32]string{
		0: "LIST",
		1: "GRID",
	}
	ViewType_value = map[string]int32{
		"LIST": 0,
		"GRID": 1,
	}
)

Enum value maps for ViewType.

View Source
var ApplicationService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "ApplicationService",
	HandlerType: (*ApplicationServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "PingAppService",
			Handler:    _ApplicationService_PingAppService_Handler,
		},
		{
			MethodName: "GetPreferences",
			Handler:    _ApplicationService_GetPreferences_Handler,
		},
		{
			MethodName: "SetPreferences",
			Handler:    _ApplicationService_SetPreferences_Handler,
		},
		{
			MethodName: "ListNodes",
			Handler:    _ApplicationService_ListNodes_Handler,
		},
		{
			MethodName: "CreateApplication",
			Handler:    _ApplicationService_CreateApplication_Handler,
		},
		{
			MethodName: "ListApplications",
			Handler:    _ApplicationService_ListApplications_Handler,
		},
		{
			MethodName: "DeleteApplication",
			Handler:    _ApplicationService_DeleteApplication_Handler,
		},
		{
			MethodName: "GetApplication",
			Handler:    _ApplicationService_GetApplication_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "application/service.proto",
}

ApplicationService_ServiceDesc is the grpc.ServiceDesc for ApplicationService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_application_service_proto protoreflect.FileDescriptor

Functions

func RegisterApplicationServiceServer

func RegisterApplicationServiceServer(s grpc.ServiceRegistrar, srv ApplicationServiceServer)

Types

type Application added in v0.0.9

type Application struct {
	Id          string       `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name        string       `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	AppType     string       `protobuf:"bytes,3,opt,name=app_type,json=appType,proto3" json:"app_type,omitempty"`
	Tag         string       `protobuf:"bytes,4,opt,name=tag,proto3" json:"tag,omitempty"`
	Subtitle    string       `protobuf:"bytes,5,opt,name=subtitle,proto3" json:"subtitle,omitempty"`
	Category    string       `protobuf:"bytes,6,opt,name=category,proto3" json:"category,omitempty"`
	Description string       `protobuf:"bytes,7,opt,name=description,proto3" json:"description,omitempty"`
	NodeID      string       `protobuf:"bytes,8,opt,name=nodeID,proto3" json:"nodeID,omitempty"`
	Roles       []*GrantRole `protobuf:"bytes,9,rep,name=roles,proto3" json:"roles,omitempty"`
	// contains filtered or unexported fields
}

func (*Application) Descriptor deprecated added in v0.0.9

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

Deprecated: Use Application.ProtoReflect.Descriptor instead.

func (*Application) GetAppType added in v0.0.12

func (x *Application) GetAppType() string

func (*Application) GetCategory added in v0.0.9

func (x *Application) GetCategory() string

func (*Application) GetDescription added in v0.0.9

func (x *Application) GetDescription() string

func (*Application) GetId added in v0.0.13

func (x *Application) GetId() string

func (*Application) GetName added in v0.0.9

func (x *Application) GetName() string

func (*Application) GetNodeID added in v0.0.11

func (x *Application) GetNodeID() string

func (*Application) GetRoles added in v0.0.9

func (x *Application) GetRoles() []*GrantRole

func (*Application) GetSubtitle added in v0.0.9

func (x *Application) GetSubtitle() string

func (*Application) GetTag added in v0.0.9

func (x *Application) GetTag() string

func (*Application) ProtoMessage added in v0.0.9

func (*Application) ProtoMessage()

func (*Application) ProtoReflect added in v0.0.9

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

func (*Application) Reset added in v0.0.9

func (x *Application) Reset()

func (*Application) String added in v0.0.9

func (x *Application) String() string

type ApplicationServiceClient

type ApplicationServiceClient interface {
	PingAppService(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*PingAppResponse, error)
	GetPreferences(ctx context.Context, in *GetPreferencesRequest, opts ...grpc.CallOption) (*GetPreferencesResponse, error)
	SetPreferences(ctx context.Context, in *SetPreferencesRequest, opts ...grpc.CallOption) (*SetPreferencesResponse, error)
	ListNodes(ctx context.Context, in *ListNodesRequest, opts ...grpc.CallOption) (*ListNodesResponse, error)
	CreateApplication(ctx context.Context, in *CreateApplicationRequest, opts ...grpc.CallOption) (*CreateApplicationResponse, error)
	ListApplications(ctx context.Context, in *ListApplicationsRequest, opts ...grpc.CallOption) (*ListApplicationsResponse, error)
	DeleteApplication(ctx context.Context, in *DeleteApplicationRequest, opts ...grpc.CallOption) (*DeleteApplicationResponse, error)
	GetApplication(ctx context.Context, in *GetApplicationRequest, opts ...grpc.CallOption) (*GetApplicationResponse, error)
}

ApplicationServiceClient is the client API for ApplicationService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type ApplicationServiceServer

ApplicationServiceServer is the server API for ApplicationService service. All implementations must embed UnimplementedApplicationServiceServer for forward compatibility

type CreateApplicationRequest added in v0.0.11

type CreateApplicationRequest struct {
	Application *Application `protobuf:"bytes,1,opt,name=application,proto3" json:"application,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateApplicationRequest) Descriptor deprecated added in v0.0.11

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

Deprecated: Use CreateApplicationRequest.ProtoReflect.Descriptor instead.

func (*CreateApplicationRequest) GetApplication added in v0.0.11

func (x *CreateApplicationRequest) GetApplication() *Application

func (*CreateApplicationRequest) ProtoMessage added in v0.0.11

func (*CreateApplicationRequest) ProtoMessage()

func (*CreateApplicationRequest) ProtoReflect added in v0.0.11

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

func (*CreateApplicationRequest) Reset added in v0.0.11

func (x *CreateApplicationRequest) Reset()

func (*CreateApplicationRequest) String added in v0.0.11

func (x *CreateApplicationRequest) String() string

type CreateApplicationResponse added in v0.0.11

type CreateApplicationResponse struct {
	Application *Application `protobuf:"bytes,1,opt,name=application,proto3" json:"application,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateApplicationResponse) Descriptor deprecated added in v0.0.11

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

Deprecated: Use CreateApplicationResponse.ProtoReflect.Descriptor instead.

func (*CreateApplicationResponse) GetApplication added in v0.0.11

func (x *CreateApplicationResponse) GetApplication() *Application

func (*CreateApplicationResponse) ProtoMessage added in v0.0.11

func (*CreateApplicationResponse) ProtoMessage()

func (*CreateApplicationResponse) ProtoReflect added in v0.0.11

func (*CreateApplicationResponse) Reset added in v0.0.11

func (x *CreateApplicationResponse) Reset()

func (*CreateApplicationResponse) String added in v0.0.11

func (x *CreateApplicationResponse) String() string

type DeleteApplicationRequest added in v0.0.14

type DeleteApplicationRequest struct {
	Id               string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Deletekey        string `protobuf:"bytes,2,opt,name=deletekey,proto3" json:"deletekey,omitempty"`
	ConfirmDeletekey string `protobuf:"bytes,3,opt,name=confirm_deletekey,json=confirmDeletekey,proto3" json:"confirm_deletekey,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteApplicationRequest) Descriptor deprecated added in v0.0.14

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

Deprecated: Use DeleteApplicationRequest.ProtoReflect.Descriptor instead.

func (*DeleteApplicationRequest) GetConfirmDeletekey added in v0.0.14

func (x *DeleteApplicationRequest) GetConfirmDeletekey() string

func (*DeleteApplicationRequest) GetDeletekey added in v0.0.14

func (x *DeleteApplicationRequest) GetDeletekey() string

func (*DeleteApplicationRequest) GetId added in v0.0.14

func (x *DeleteApplicationRequest) GetId() string

func (*DeleteApplicationRequest) ProtoMessage added in v0.0.14

func (*DeleteApplicationRequest) ProtoMessage()

func (*DeleteApplicationRequest) ProtoReflect added in v0.0.14

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

func (*DeleteApplicationRequest) Reset added in v0.0.14

func (x *DeleteApplicationRequest) Reset()

func (*DeleteApplicationRequest) String added in v0.0.14

func (x *DeleteApplicationRequest) String() string

type DeleteApplicationResponse added in v0.0.14

type DeleteApplicationResponse struct {
	Deleted bool `protobuf:"varint,1,opt,name=deleted,proto3" json:"deleted,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteApplicationResponse) Descriptor deprecated added in v0.0.14

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

Deprecated: Use DeleteApplicationResponse.ProtoReflect.Descriptor instead.

func (*DeleteApplicationResponse) GetDeleted added in v0.0.14

func (x *DeleteApplicationResponse) GetDeleted() bool

func (*DeleteApplicationResponse) ProtoMessage added in v0.0.14

func (*DeleteApplicationResponse) ProtoMessage()

func (*DeleteApplicationResponse) ProtoReflect added in v0.0.14

func (*DeleteApplicationResponse) Reset added in v0.0.14

func (x *DeleteApplicationResponse) Reset()

func (*DeleteApplicationResponse) String added in v0.0.14

func (x *DeleteApplicationResponse) String() string

type GetApplicationRequest added in v0.0.16

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

func (*GetApplicationRequest) Descriptor deprecated added in v0.0.16

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

Deprecated: Use GetApplicationRequest.ProtoReflect.Descriptor instead.

func (*GetApplicationRequest) GetId added in v0.0.16

func (x *GetApplicationRequest) GetId() string

func (*GetApplicationRequest) ProtoMessage added in v0.0.16

func (*GetApplicationRequest) ProtoMessage()

func (*GetApplicationRequest) ProtoReflect added in v0.0.16

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

func (*GetApplicationRequest) Reset added in v0.0.16

func (x *GetApplicationRequest) Reset()

func (*GetApplicationRequest) String added in v0.0.16

func (x *GetApplicationRequest) String() string

type GetApplicationResponse added in v0.0.16

type GetApplicationResponse struct {
	Application *Application `protobuf:"bytes,1,opt,name=application,proto3" json:"application,omitempty"`
	// contains filtered or unexported fields
}

func (*GetApplicationResponse) Descriptor deprecated added in v0.0.16

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

Deprecated: Use GetApplicationResponse.ProtoReflect.Descriptor instead.

func (*GetApplicationResponse) GetApplication added in v0.0.16

func (x *GetApplicationResponse) GetApplication() *Application

func (*GetApplicationResponse) ProtoMessage added in v0.0.16

func (*GetApplicationResponse) ProtoMessage()

func (*GetApplicationResponse) ProtoReflect added in v0.0.16

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

func (*GetApplicationResponse) Reset added in v0.0.16

func (x *GetApplicationResponse) Reset()

func (*GetApplicationResponse) String added in v0.0.16

func (x *GetApplicationResponse) String() string

type GetPreferencesRequest added in v0.0.3

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

func (*GetPreferencesRequest) Descriptor deprecated added in v0.0.3

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

Deprecated: Use GetPreferencesRequest.ProtoReflect.Descriptor instead.

func (*GetPreferencesRequest) GetUsername added in v0.0.3

func (x *GetPreferencesRequest) GetUsername() string

func (*GetPreferencesRequest) ProtoMessage added in v0.0.3

func (*GetPreferencesRequest) ProtoMessage()

func (*GetPreferencesRequest) ProtoReflect added in v0.0.3

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

func (*GetPreferencesRequest) Reset added in v0.0.3

func (x *GetPreferencesRequest) Reset()

func (*GetPreferencesRequest) String added in v0.0.3

func (x *GetPreferencesRequest) String() string

type GetPreferencesResponse added in v0.0.3

type GetPreferencesResponse struct {
	Preferences *Preferences `protobuf:"bytes,1,opt,name=preferences,proto3" json:"preferences,omitempty"`
	// contains filtered or unexported fields
}

func (*GetPreferencesResponse) Descriptor deprecated added in v0.0.3

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

Deprecated: Use GetPreferencesResponse.ProtoReflect.Descriptor instead.

func (*GetPreferencesResponse) GetPreferences added in v0.0.3

func (x *GetPreferencesResponse) GetPreferences() *Preferences

func (*GetPreferencesResponse) ProtoMessage added in v0.0.3

func (*GetPreferencesResponse) ProtoMessage()

func (*GetPreferencesResponse) ProtoReflect added in v0.0.3

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

func (*GetPreferencesResponse) Reset added in v0.0.3

func (x *GetPreferencesResponse) Reset()

func (*GetPreferencesResponse) String added in v0.0.3

func (x *GetPreferencesResponse) String() string

type GrantRole added in v0.0.9

type GrantRole struct {
	Id            string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	ApplicationId string `protobuf:"bytes,2,opt,name=application_id,json=applicationId,proto3" json:"application_id,omitempty"`
	Role          string `protobuf:"bytes,3,opt,name=role,proto3" json:"role,omitempty"`
	Enabled       bool   `protobuf:"varint,4,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// contains filtered or unexported fields
}

func (*GrantRole) Descriptor deprecated added in v0.0.9

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

Deprecated: Use GrantRole.ProtoReflect.Descriptor instead.

func (*GrantRole) GetApplicationId added in v0.0.9

func (x *GrantRole) GetApplicationId() string

func (*GrantRole) GetEnabled added in v0.0.9

func (x *GrantRole) GetEnabled() bool

func (*GrantRole) GetId added in v0.0.9

func (x *GrantRole) GetId() string

func (*GrantRole) GetRole added in v0.0.9

func (x *GrantRole) GetRole() string

func (*GrantRole) ProtoMessage added in v0.0.9

func (*GrantRole) ProtoMessage()

func (*GrantRole) ProtoReflect added in v0.0.9

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

func (*GrantRole) Reset added in v0.0.9

func (x *GrantRole) Reset()

func (*GrantRole) String added in v0.0.9

func (x *GrantRole) String() string

type ListApplicationsRequest added in v0.0.9

type ListApplicationsRequest struct {
	Limit  int32 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"`
	Offset int32 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"`
	// contains filtered or unexported fields
}

func (*ListApplicationsRequest) Descriptor deprecated added in v0.0.9

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

Deprecated: Use ListApplicationsRequest.ProtoReflect.Descriptor instead.

func (*ListApplicationsRequest) GetLimit added in v0.0.9

func (x *ListApplicationsRequest) GetLimit() int32

func (*ListApplicationsRequest) GetOffset added in v0.0.9

func (x *ListApplicationsRequest) GetOffset() int32

func (*ListApplicationsRequest) ProtoMessage added in v0.0.9

func (*ListApplicationsRequest) ProtoMessage()

func (*ListApplicationsRequest) ProtoReflect added in v0.0.9

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

func (*ListApplicationsRequest) Reset added in v0.0.9

func (x *ListApplicationsRequest) Reset()

func (*ListApplicationsRequest) String added in v0.0.9

func (x *ListApplicationsRequest) String() string

type ListApplicationsResponse added in v0.0.9

type ListApplicationsResponse struct {
	Applications []*Application `protobuf:"bytes,1,rep,name=applications,proto3" json:"applications,omitempty"`
	// contains filtered or unexported fields
}

func (*ListApplicationsResponse) Descriptor deprecated added in v0.0.9

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

Deprecated: Use ListApplicationsResponse.ProtoReflect.Descriptor instead.

func (*ListApplicationsResponse) GetApplications added in v0.0.9

func (x *ListApplicationsResponse) GetApplications() []*Application

func (*ListApplicationsResponse) ProtoMessage added in v0.0.9

func (*ListApplicationsResponse) ProtoMessage()

func (*ListApplicationsResponse) ProtoReflect added in v0.0.9

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

func (*ListApplicationsResponse) Reset added in v0.0.9

func (x *ListApplicationsResponse) Reset()

func (*ListApplicationsResponse) String added in v0.0.9

func (x *ListApplicationsResponse) String() string

type ListNodesRequest added in v0.0.3

type ListNodesRequest struct {
	Limit  int32 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"`
	Offset int32 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"`
	// contains filtered or unexported fields
}

func (*ListNodesRequest) Descriptor deprecated added in v0.0.3

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

Deprecated: Use ListNodesRequest.ProtoReflect.Descriptor instead.

func (*ListNodesRequest) GetLimit added in v0.0.3

func (x *ListNodesRequest) GetLimit() int32

func (*ListNodesRequest) GetOffset added in v0.0.3

func (x *ListNodesRequest) GetOffset() int32

func (*ListNodesRequest) ProtoMessage added in v0.0.3

func (*ListNodesRequest) ProtoMessage()

func (*ListNodesRequest) ProtoReflect added in v0.0.3

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

func (*ListNodesRequest) Reset added in v0.0.3

func (x *ListNodesRequest) Reset()

func (*ListNodesRequest) String added in v0.0.3

func (x *ListNodesRequest) String() string

type ListNodesResponse added in v0.0.8

type ListNodesResponse struct {
	Nodes []*Node `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"`
	// contains filtered or unexported fields
}

func (*ListNodesResponse) Descriptor deprecated added in v0.0.8

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

Deprecated: Use ListNodesResponse.ProtoReflect.Descriptor instead.

func (*ListNodesResponse) GetNodes added in v0.0.8

func (x *ListNodesResponse) GetNodes() []*Node

func (*ListNodesResponse) ProtoMessage added in v0.0.8

func (*ListNodesResponse) ProtoMessage()

func (*ListNodesResponse) ProtoReflect added in v0.0.8

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

func (*ListNodesResponse) Reset added in v0.0.8

func (x *ListNodesResponse) Reset()

func (*ListNodesResponse) String added in v0.0.8

func (x *ListNodesResponse) String() string

type Node added in v0.0.3

type Node struct {
	Id        string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name      string                 `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Host      string                 `protobuf:"bytes,3,opt,name=host,proto3" json:"host,omitempty"`
	Port      int32                  `protobuf:"varint,4,opt,name=port,proto3" json:"port,omitempty"`
	Username  string                 `protobuf:"bytes,5,opt,name=username,proto3" json:"username,omitempty"`
	Password  string                 `protobuf:"bytes,6,opt,name=password,proto3" json:"password,omitempty"`
	Ssl       bool                   `protobuf:"varint,7,opt,name=ssl,proto3" json:"ssl,omitempty"`
	SslCert   string                 `protobuf:"bytes,8,opt,name=ssl_cert,json=sslCert,proto3" json:"ssl_cert,omitempty"`
	SslKey    string                 `protobuf:"bytes,9,opt,name=ssl_key,json=sslKey,proto3" json:"ssl_key,omitempty"`
	SslCa     string                 `protobuf:"bytes,10,opt,name=ssl_ca,json=sslCa,proto3" json:"ssl_ca,omitempty"`
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	DeletedAt *timestamppb.Timestamp `protobuf:"bytes,13,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"`
	// contains filtered or unexported fields
}

func (*Node) Descriptor deprecated added in v0.0.3

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

Deprecated: Use Node.ProtoReflect.Descriptor instead.

func (*Node) GetCreatedAt added in v0.0.3

func (x *Node) GetCreatedAt() *timestamppb.Timestamp

func (*Node) GetDeletedAt added in v0.0.3

func (x *Node) GetDeletedAt() *timestamppb.Timestamp

func (*Node) GetHost added in v0.0.3

func (x *Node) GetHost() string

func (*Node) GetId added in v0.0.3

func (x *Node) GetId() string

func (*Node) GetName added in v0.0.3

func (x *Node) GetName() string

func (*Node) GetPassword added in v0.0.3

func (x *Node) GetPassword() string

func (*Node) GetPort added in v0.0.3

func (x *Node) GetPort() int32

func (*Node) GetSsl added in v0.0.3

func (x *Node) GetSsl() bool

func (*Node) GetSslCa added in v0.0.3

func (x *Node) GetSslCa() string

func (*Node) GetSslCert added in v0.0.3

func (x *Node) GetSslCert() string

func (*Node) GetSslKey added in v0.0.3

func (x *Node) GetSslKey() string

func (*Node) GetUpdatedAt added in v0.0.3

func (x *Node) GetUpdatedAt() *timestamppb.Timestamp

func (*Node) GetUsername added in v0.0.3

func (x *Node) GetUsername() string

func (*Node) ProtoMessage added in v0.0.3

func (*Node) ProtoMessage()

func (*Node) ProtoReflect added in v0.0.3

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

func (*Node) Reset added in v0.0.3

func (x *Node) Reset()

func (*Node) String added in v0.0.3

func (x *Node) String() string

type PingAppResponse added in v0.0.6

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

func (*PingAppResponse) Descriptor deprecated added in v0.0.6

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

Deprecated: Use PingAppResponse.ProtoReflect.Descriptor instead.

func (*PingAppResponse) GetMessage added in v0.0.6

func (x *PingAppResponse) GetMessage() string

func (*PingAppResponse) ProtoMessage added in v0.0.6

func (*PingAppResponse) ProtoMessage()

func (*PingAppResponse) ProtoReflect added in v0.0.6

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

func (*PingAppResponse) Reset added in v0.0.6

func (x *PingAppResponse) Reset()

func (*PingAppResponse) String added in v0.0.6

func (x *PingAppResponse) String() string

type Preferences added in v0.0.2

type Preferences struct {
	Username string   `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	View     ViewType `protobuf:"varint,2,opt,name=view,proto3,enum=ViewType" json:"view,omitempty"` // Use the enum as a field type
	// contains filtered or unexported fields
}

Preferences message

func (*Preferences) Descriptor deprecated added in v0.0.2

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

Deprecated: Use Preferences.ProtoReflect.Descriptor instead.

func (*Preferences) GetUsername added in v0.0.2

func (x *Preferences) GetUsername() string

func (*Preferences) GetView added in v0.0.2

func (x *Preferences) GetView() ViewType

func (*Preferences) ProtoMessage added in v0.0.2

func (*Preferences) ProtoMessage()

func (*Preferences) ProtoReflect added in v0.0.2

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

func (*Preferences) Reset added in v0.0.2

func (x *Preferences) Reset()

func (*Preferences) String added in v0.0.2

func (x *Preferences) String() string

type SetPreferencesRequest added in v0.0.3

type SetPreferencesRequest struct {
	Username string   `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	View     ViewType `protobuf:"varint,2,opt,name=view,proto3,enum=ViewType" json:"view,omitempty"` // Use the enum as a field type
	// contains filtered or unexported fields
}

func (*SetPreferencesRequest) Descriptor deprecated added in v0.0.3

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

Deprecated: Use SetPreferencesRequest.ProtoReflect.Descriptor instead.

func (*SetPreferencesRequest) GetUsername added in v0.0.3

func (x *SetPreferencesRequest) GetUsername() string

func (*SetPreferencesRequest) GetView added in v0.0.3

func (x *SetPreferencesRequest) GetView() ViewType

func (*SetPreferencesRequest) ProtoMessage added in v0.0.3

func (*SetPreferencesRequest) ProtoMessage()

func (*SetPreferencesRequest) ProtoReflect added in v0.0.3

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

func (*SetPreferencesRequest) Reset added in v0.0.3

func (x *SetPreferencesRequest) Reset()

func (*SetPreferencesRequest) String added in v0.0.3

func (x *SetPreferencesRequest) String() string

type SetPreferencesResponse added in v0.0.3

type SetPreferencesResponse struct {
	Preferences *Preferences `protobuf:"bytes,1,opt,name=preferences,proto3" json:"preferences,omitempty"`
	// contains filtered or unexported fields
}

func (*SetPreferencesResponse) Descriptor deprecated added in v0.0.3

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

Deprecated: Use SetPreferencesResponse.ProtoReflect.Descriptor instead.

func (*SetPreferencesResponse) GetPreferences added in v0.0.3

func (x *SetPreferencesResponse) GetPreferences() *Preferences

func (*SetPreferencesResponse) ProtoMessage added in v0.0.3

func (*SetPreferencesResponse) ProtoMessage()

func (*SetPreferencesResponse) ProtoReflect added in v0.0.3

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

func (*SetPreferencesResponse) Reset added in v0.0.3

func (x *SetPreferencesResponse) Reset()

func (*SetPreferencesResponse) String added in v0.0.3

func (x *SetPreferencesResponse) String() string

type UnimplementedApplicationServiceServer

type UnimplementedApplicationServiceServer struct {
}

UnimplementedApplicationServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedApplicationServiceServer) CreateApplication added in v0.0.10

func (UnimplementedApplicationServiceServer) DeleteApplication added in v0.0.14

func (UnimplementedApplicationServiceServer) GetApplication added in v0.0.16

func (UnimplementedApplicationServiceServer) GetPreferences added in v0.0.2

func (UnimplementedApplicationServiceServer) ListApplications added in v0.0.9

func (UnimplementedApplicationServiceServer) ListNodes added in v0.0.8

func (UnimplementedApplicationServiceServer) PingAppService added in v0.0.6

func (UnimplementedApplicationServiceServer) SetPreferences added in v0.0.2

type UnsafeApplicationServiceServer

type UnsafeApplicationServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeApplicationServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ApplicationServiceServer will result in compilation errors.

type ViewType added in v0.0.2

type ViewType int32

Define an enum for view types

const (
	ViewType_LIST ViewType = 0
	ViewType_GRID ViewType = 1
)

func (ViewType) Descriptor added in v0.0.2

func (ViewType) Descriptor() protoreflect.EnumDescriptor

func (ViewType) Enum added in v0.0.2

func (x ViewType) Enum() *ViewType

func (ViewType) EnumDescriptor deprecated added in v0.0.2

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

Deprecated: Use ViewType.Descriptor instead.

func (ViewType) Number added in v0.0.2

func (x ViewType) Number() protoreflect.EnumNumber

func (ViewType) String added in v0.0.2

func (x ViewType) String() string

func (ViewType) Type added in v0.0.2

Jump to

Keyboard shortcuts

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