freshcloud

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2023 License: MIT Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_freshcloud_proto protoreflect.FileDescriptor
View Source
var Freshcloud_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "freshcloud.Freshcloud",
	HandlerType: (*FreshcloudServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateApp",
			Handler:    _Freshcloud_CreateApp_Handler,
		},
		{
			MethodName: "StopApp",
			Handler:    _Freshcloud_StopApp_Handler,
		},
		{
			MethodName: "DeleteApp",
			Handler:    _Freshcloud_DeleteApp_Handler,
		},
		{
			MethodName: "ListApps",
			Handler:    _Freshcloud_ListApps_Handler,
		},
		{
			MethodName: "DeployApp",
			Handler:    _Freshcloud_DeployApp_Handler,
		},
		{
			MethodName: "GetValueDictionary",
			Handler:    _Freshcloud_GetValueDictionary_Handler,
		},
		{
			MethodName: "ExistsValueDictionary",
			Handler:    _Freshcloud_ExistsValueDictionary_Handler,
		},
		{
			MethodName: "PutValueDictionary",
			Handler:    _Freshcloud_PutValueDictionary_Handler,
		},
		{
			MethodName: "DeleteValueDictionary",
			Handler:    _Freshcloud_DeleteValueDictionary_Handler,
		},
		{
			MethodName: "PopValueDictionary",
			Handler:    _Freshcloud_PopValueDictionary_Handler,
		},
		{
			MethodName: "LengthDictionary",
			Handler:    _Freshcloud_LengthDictionary_Handler,
		},
		{
			MethodName: "ProduceValueQueue",
			Handler:    _Freshcloud_ProduceValueQueue_Handler,
		},
		{
			MethodName: "LoadSecretsFromAPI",
			Handler:    _Freshcloud_LoadSecretsFromAPI_Handler,
		},
		{
			MethodName: "Ping",
			Handler:    _Freshcloud_Ping_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "LogsApp",
			Handler:       _Freshcloud_LogsApp_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "ConsumeValuesQueue",
			Handler:       _Freshcloud_ConsumeValuesQueue_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "freshcloud.proto",
}

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

Functions

func RegisterFreshcloudServer

func RegisterFreshcloudServer(s grpc.ServiceRegistrar, srv FreshcloudServer)

Types

type App

type App 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"`
	Environment string                 `protobuf:"bytes,3,opt,name=environment,proto3" json:"environment,omitempty"`
	Running     bool                   `protobuf:"varint,4,opt,name=running,proto3" json:"running,omitempty"`
	CreatedAt   *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
	// contains filtered or unexported fields
}

func (*App) Descriptor deprecated

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

Deprecated: Use App.ProtoReflect.Descriptor instead.

func (*App) GetCreatedAt

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

func (*App) GetEnvironment

func (x *App) GetEnvironment() string

func (*App) GetId

func (x *App) GetId() string

func (*App) GetName

func (x *App) GetName() string

func (*App) GetRunning

func (x *App) GetRunning() bool

func (*App) ProtoMessage

func (*App) ProtoMessage()

func (*App) ProtoReflect

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

func (*App) Reset

func (x *App) Reset()

func (*App) String

func (x *App) String() string

type BuildInfo

type BuildInfo struct {
	Image     *Image         `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"`
	Registry  *ImageRegistry `protobuf:"bytes,2,opt,name=registry,proto3" json:"registry,omitempty"`
	Resources *Resources     `protobuf:"bytes,3,opt,name=resources,proto3" json:"resources,omitempty"`
	// contains filtered or unexported fields
}

func (*BuildInfo) Descriptor deprecated

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

Deprecated: Use BuildInfo.ProtoReflect.Descriptor instead.

func (*BuildInfo) GetImage

func (x *BuildInfo) GetImage() *Image

func (*BuildInfo) GetRegistry

func (x *BuildInfo) GetRegistry() *ImageRegistry

func (*BuildInfo) GetResources

func (x *BuildInfo) GetResources() *Resources

func (*BuildInfo) ProtoMessage

func (*BuildInfo) ProtoMessage()

func (*BuildInfo) ProtoReflect

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

func (*BuildInfo) Reset

func (x *BuildInfo) Reset()

func (*BuildInfo) String

func (x *BuildInfo) String() string

type ConsumeValuesQueueRequest

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

func (*ConsumeValuesQueueRequest) Descriptor deprecated

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

Deprecated: Use ConsumeValuesQueueRequest.ProtoReflect.Descriptor instead.

func (*ConsumeValuesQueueRequest) GetTopic

func (x *ConsumeValuesQueueRequest) GetTopic() string

func (*ConsumeValuesQueueRequest) ProtoMessage

func (*ConsumeValuesQueueRequest) ProtoMessage()

func (*ConsumeValuesQueueRequest) ProtoReflect

func (*ConsumeValuesQueueRequest) Reset

func (x *ConsumeValuesQueueRequest) Reset()

func (*ConsumeValuesQueueRequest) String

func (x *ConsumeValuesQueueRequest) String() string

type ConsumeValuesQueueResponse

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

func (*ConsumeValuesQueueResponse) Descriptor deprecated

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

Deprecated: Use ConsumeValuesQueueResponse.ProtoReflect.Descriptor instead.

func (*ConsumeValuesQueueResponse) GetMessage

func (x *ConsumeValuesQueueResponse) GetMessage() []byte

func (*ConsumeValuesQueueResponse) ProtoMessage

func (*ConsumeValuesQueueResponse) ProtoMessage()

func (*ConsumeValuesQueueResponse) ProtoReflect

func (*ConsumeValuesQueueResponse) Reset

func (x *ConsumeValuesQueueResponse) Reset()

func (*ConsumeValuesQueueResponse) String

func (x *ConsumeValuesQueueResponse) String() string

type CreateAppRequest

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

func (*CreateAppRequest) Descriptor deprecated

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

Deprecated: Use CreateAppRequest.ProtoReflect.Descriptor instead.

func (*CreateAppRequest) GetName

func (x *CreateAppRequest) GetName() string

func (*CreateAppRequest) ProtoMessage

func (*CreateAppRequest) ProtoMessage()

func (*CreateAppRequest) ProtoReflect

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

func (*CreateAppRequest) Reset

func (x *CreateAppRequest) Reset()

func (*CreateAppRequest) String

func (x *CreateAppRequest) String() string

type CreateAppResponse

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

func (*CreateAppResponse) Descriptor deprecated

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

Deprecated: Use CreateAppResponse.ProtoReflect.Descriptor instead.

func (*CreateAppResponse) GetApp

func (x *CreateAppResponse) GetApp() *App

func (*CreateAppResponse) ProtoMessage

func (*CreateAppResponse) ProtoMessage()

func (*CreateAppResponse) ProtoReflect

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

func (*CreateAppResponse) Reset

func (x *CreateAppResponse) Reset()

func (*CreateAppResponse) String

func (x *CreateAppResponse) String() string

type CronExecuteRequest

type CronExecuteRequest struct {
	JobName      string            `protobuf:"bytes,1,opt,name=jobName,proto3" json:"jobName,omitempty"`
	Config       map[string]string `` /* 153-byte string literal not displayed */
	StatusServer uint32            `protobuf:"varint,3,opt,name=statusServer,proto3" json:"statusServer,omitempty"`
	// contains filtered or unexported fields
}

func (*CronExecuteRequest) Descriptor deprecated

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

Deprecated: Use CronExecuteRequest.ProtoReflect.Descriptor instead.

func (*CronExecuteRequest) GetConfig

func (x *CronExecuteRequest) GetConfig() map[string]string

func (*CronExecuteRequest) GetJobName

func (x *CronExecuteRequest) GetJobName() string

func (*CronExecuteRequest) GetStatusServer

func (x *CronExecuteRequest) GetStatusServer() uint32

func (*CronExecuteRequest) ProtoMessage

func (*CronExecuteRequest) ProtoMessage()

func (*CronExecuteRequest) ProtoReflect

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

func (*CronExecuteRequest) Reset

func (x *CronExecuteRequest) Reset()

func (*CronExecuteRequest) String

func (x *CronExecuteRequest) String() string

type CronExecuteResponse

type CronExecuteResponse struct {
	Output []byte `protobuf:"bytes,1,opt,name=output,proto3" json:"output,omitempty"`
	Error  string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*CronExecuteResponse) Descriptor deprecated

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

Deprecated: Use CronExecuteResponse.ProtoReflect.Descriptor instead.

func (*CronExecuteResponse) GetError

func (x *CronExecuteResponse) GetError() string

func (*CronExecuteResponse) GetOutput

func (x *CronExecuteResponse) GetOutput() []byte

func (*CronExecuteResponse) ProtoMessage

func (*CronExecuteResponse) ProtoMessage()

func (*CronExecuteResponse) ProtoReflect

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

func (*CronExecuteResponse) Reset

func (x *CronExecuteResponse) Reset()

func (*CronExecuteResponse) String

func (x *CronExecuteResponse) String() string

type DeleteAppRequest

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

func (*DeleteAppRequest) Descriptor deprecated

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

Deprecated: Use DeleteAppRequest.ProtoReflect.Descriptor instead.

func (*DeleteAppRequest) GetId

func (x *DeleteAppRequest) GetId() string

func (*DeleteAppRequest) ProtoMessage

func (*DeleteAppRequest) ProtoMessage()

func (*DeleteAppRequest) ProtoReflect

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

func (*DeleteAppRequest) Reset

func (x *DeleteAppRequest) Reset()

func (*DeleteAppRequest) String

func (x *DeleteAppRequest) String() string

type DeleteAppResponse

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

func (*DeleteAppResponse) Descriptor deprecated

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

Deprecated: Use DeleteAppResponse.ProtoReflect.Descriptor instead.

func (*DeleteAppResponse) GetId

func (x *DeleteAppResponse) GetId() string

func (*DeleteAppResponse) GetMsg

func (x *DeleteAppResponse) GetMsg() string

func (*DeleteAppResponse) ProtoMessage

func (*DeleteAppResponse) ProtoMessage()

func (*DeleteAppResponse) ProtoReflect

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

func (*DeleteAppResponse) Reset

func (x *DeleteAppResponse) Reset()

func (*DeleteAppResponse) String

func (x *DeleteAppResponse) String() string

type DeleteValueDictionaryRequest

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

func (*DeleteValueDictionaryRequest) Descriptor deprecated

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

Deprecated: Use DeleteValueDictionaryRequest.ProtoReflect.Descriptor instead.

func (*DeleteValueDictionaryRequest) GetKey

func (*DeleteValueDictionaryRequest) ProtoMessage

func (*DeleteValueDictionaryRequest) ProtoMessage()

func (*DeleteValueDictionaryRequest) ProtoReflect

func (*DeleteValueDictionaryRequest) Reset

func (x *DeleteValueDictionaryRequest) Reset()

func (*DeleteValueDictionaryRequest) String

type DeleteValueDictionaryResponse

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

func (*DeleteValueDictionaryResponse) Descriptor deprecated

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

Deprecated: Use DeleteValueDictionaryResponse.ProtoReflect.Descriptor instead.

func (*DeleteValueDictionaryResponse) GetError

func (x *DeleteValueDictionaryResponse) GetError() string

func (*DeleteValueDictionaryResponse) ProtoMessage

func (*DeleteValueDictionaryResponse) ProtoMessage()

func (*DeleteValueDictionaryResponse) ProtoReflect

func (*DeleteValueDictionaryResponse) Reset

func (x *DeleteValueDictionaryResponse) Reset()

func (*DeleteValueDictionaryResponse) String

type DeployAppRequest

type DeployAppRequest struct {
	BlobKey string     `protobuf:"bytes,1,opt,name=blobKey,proto3" json:"blobKey,omitempty"`
	Id      string     `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	Name    string     `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Build   *BuildInfo `protobuf:"bytes,4,opt,name=build,proto3" json:"build,omitempty"`
	// contains filtered or unexported fields
}

func (*DeployAppRequest) Descriptor deprecated

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

Deprecated: Use DeployAppRequest.ProtoReflect.Descriptor instead.

func (*DeployAppRequest) GetBlobKey

func (x *DeployAppRequest) GetBlobKey() string

func (*DeployAppRequest) GetBuild

func (x *DeployAppRequest) GetBuild() *BuildInfo

func (*DeployAppRequest) GetId

func (x *DeployAppRequest) GetId() string

func (*DeployAppRequest) GetName

func (x *DeployAppRequest) GetName() string

func (*DeployAppRequest) ProtoMessage

func (*DeployAppRequest) ProtoMessage()

func (*DeployAppRequest) ProtoReflect

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

func (*DeployAppRequest) Reset

func (x *DeployAppRequest) Reset()

func (*DeployAppRequest) String

func (x *DeployAppRequest) String() string

type DeployAppResponse

type DeployAppResponse struct {
	Url    string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*DeployAppResponse) Descriptor deprecated

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

Deprecated: Use DeployAppResponse.ProtoReflect.Descriptor instead.

func (*DeployAppResponse) GetStatus

func (x *DeployAppResponse) GetStatus() string

func (*DeployAppResponse) GetUrl

func (x *DeployAppResponse) GetUrl() string

func (*DeployAppResponse) ProtoMessage

func (*DeployAppResponse) ProtoMessage()

func (*DeployAppResponse) ProtoReflect

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

func (*DeployAppResponse) Reset

func (x *DeployAppResponse) Reset()

func (*DeployAppResponse) String

func (x *DeployAppResponse) String() string

type ExistsValueDictionaryRequest

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

func (*ExistsValueDictionaryRequest) Descriptor deprecated

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

Deprecated: Use ExistsValueDictionaryRequest.ProtoReflect.Descriptor instead.

func (*ExistsValueDictionaryRequest) GetKey

func (*ExistsValueDictionaryRequest) ProtoMessage

func (*ExistsValueDictionaryRequest) ProtoMessage()

func (*ExistsValueDictionaryRequest) ProtoReflect

func (*ExistsValueDictionaryRequest) Reset

func (x *ExistsValueDictionaryRequest) Reset()

func (*ExistsValueDictionaryRequest) String

type ExistsValueDictionaryResponse

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

func (*ExistsValueDictionaryResponse) Descriptor deprecated

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

Deprecated: Use ExistsValueDictionaryResponse.ProtoReflect.Descriptor instead.

func (*ExistsValueDictionaryResponse) GetExists

func (x *ExistsValueDictionaryResponse) GetExists() bool

func (*ExistsValueDictionaryResponse) ProtoMessage

func (*ExistsValueDictionaryResponse) ProtoMessage()

func (*ExistsValueDictionaryResponse) ProtoReflect

func (*ExistsValueDictionaryResponse) Reset

func (x *ExistsValueDictionaryResponse) Reset()

func (*ExistsValueDictionaryResponse) String

type FreshcloudClient

type FreshcloudClient interface {
	// Application functions
	CreateApp(ctx context.Context, in *CreateAppRequest, opts ...grpc.CallOption) (*CreateAppResponse, error)
	StopApp(ctx context.Context, in *StopAppRequest, opts ...grpc.CallOption) (*StopAppResponse, error)
	DeleteApp(ctx context.Context, in *DeleteAppRequest, opts ...grpc.CallOption) (*DeleteAppResponse, error)
	LogsApp(ctx context.Context, in *LogsAppRequest, opts ...grpc.CallOption) (Freshcloud_LogsAppClient, error)
	ListApps(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ListAppsResponse, error)
	DeployApp(ctx context.Context, in *DeployAppRequest, opts ...grpc.CallOption) (*DeployAppResponse, error)
	// Dictionary functions
	GetValueDictionary(ctx context.Context, in *GetValueDictionaryRequest, opts ...grpc.CallOption) (*GetValueDictionaryResponse, error)
	ExistsValueDictionary(ctx context.Context, in *ExistsValueDictionaryRequest, opts ...grpc.CallOption) (*ExistsValueDictionaryResponse, error)
	PutValueDictionary(ctx context.Context, in *PutValueDictionaryRequest, opts ...grpc.CallOption) (*PutValueDictionaryResponse, error)
	DeleteValueDictionary(ctx context.Context, in *DeleteValueDictionaryRequest, opts ...grpc.CallOption) (*DeleteValueDictionaryResponse, error)
	PopValueDictionary(ctx context.Context, in *PopValueDictionaryRequest, opts ...grpc.CallOption) (*PopValueDictionaryResponse, error)
	LengthDictionary(ctx context.Context, in *LengthDictionaryRequest, opts ...grpc.CallOption) (*LengthDictionaryResponse, error)
	// Queue functions
	ProduceValueQueue(ctx context.Context, in *ProduceValueQueueRequest, opts ...grpc.CallOption) (*ProduceValueQueueResponse, error)
	ConsumeValuesQueue(ctx context.Context, in *ConsumeValuesQueueRequest, opts ...grpc.CallOption) (Freshcloud_ConsumeValuesQueueClient, error)
	// SecretHandler functions
	LoadSecretsFromAPI(ctx context.Context, in *LoadSecretsFromAPIRequest, opts ...grpc.CallOption) (*LoadSecretsFromAPIResponse, error)
	Ping(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*PingResponse, error)
}

FreshcloudClient is the client API for Freshcloud 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.

func NewFreshcloudClient

func NewFreshcloudClient(cc grpc.ClientConnInterface) FreshcloudClient

type FreshcloudServer

type FreshcloudServer interface {
	// Application functions
	CreateApp(context.Context, *CreateAppRequest) (*CreateAppResponse, error)
	StopApp(context.Context, *StopAppRequest) (*StopAppResponse, error)
	DeleteApp(context.Context, *DeleteAppRequest) (*DeleteAppResponse, error)
	LogsApp(*LogsAppRequest, Freshcloud_LogsAppServer) error
	ListApps(context.Context, *emptypb.Empty) (*ListAppsResponse, error)
	DeployApp(context.Context, *DeployAppRequest) (*DeployAppResponse, error)
	// Dictionary functions
	GetValueDictionary(context.Context, *GetValueDictionaryRequest) (*GetValueDictionaryResponse, error)
	ExistsValueDictionary(context.Context, *ExistsValueDictionaryRequest) (*ExistsValueDictionaryResponse, error)
	PutValueDictionary(context.Context, *PutValueDictionaryRequest) (*PutValueDictionaryResponse, error)
	DeleteValueDictionary(context.Context, *DeleteValueDictionaryRequest) (*DeleteValueDictionaryResponse, error)
	PopValueDictionary(context.Context, *PopValueDictionaryRequest) (*PopValueDictionaryResponse, error)
	LengthDictionary(context.Context, *LengthDictionaryRequest) (*LengthDictionaryResponse, error)
	// Queue functions
	ProduceValueQueue(context.Context, *ProduceValueQueueRequest) (*ProduceValueQueueResponse, error)
	ConsumeValuesQueue(*ConsumeValuesQueueRequest, Freshcloud_ConsumeValuesQueueServer) error
	// SecretHandler functions
	LoadSecretsFromAPI(context.Context, *LoadSecretsFromAPIRequest) (*LoadSecretsFromAPIResponse, error)
	Ping(context.Context, *emptypb.Empty) (*PingResponse, error)
}

FreshcloudServer is the server API for Freshcloud service. All implementations should embed UnimplementedFreshcloudServer for forward compatibility

type Freshcloud_ConsumeValuesQueueClient

type Freshcloud_ConsumeValuesQueueClient interface {
	Recv() (*ConsumeValuesQueueResponse, error)
	grpc.ClientStream
}

type Freshcloud_ConsumeValuesQueueServer

type Freshcloud_ConsumeValuesQueueServer interface {
	Send(*ConsumeValuesQueueResponse) error
	grpc.ServerStream
}

type Freshcloud_LogsAppClient

type Freshcloud_LogsAppClient interface {
	Recv() (*LogsAppResponse, error)
	grpc.ClientStream
}

type Freshcloud_LogsAppServer

type Freshcloud_LogsAppServer interface {
	Send(*LogsAppResponse) error
	grpc.ServerStream
}

type GetValueDictionaryRequest

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

Dictionary messages

func (*GetValueDictionaryRequest) Descriptor deprecated

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

Deprecated: Use GetValueDictionaryRequest.ProtoReflect.Descriptor instead.

func (*GetValueDictionaryRequest) GetKey

func (x *GetValueDictionaryRequest) GetKey() string

func (*GetValueDictionaryRequest) ProtoMessage

func (*GetValueDictionaryRequest) ProtoMessage()

func (*GetValueDictionaryRequest) ProtoReflect

func (*GetValueDictionaryRequest) Reset

func (x *GetValueDictionaryRequest) Reset()

func (*GetValueDictionaryRequest) String

func (x *GetValueDictionaryRequest) String() string

type GetValueDictionaryResponse

type GetValueDictionaryResponse struct {
	Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*GetValueDictionaryResponse) Descriptor deprecated

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

Deprecated: Use GetValueDictionaryResponse.ProtoReflect.Descriptor instead.

func (*GetValueDictionaryResponse) GetError

func (x *GetValueDictionaryResponse) GetError() string

func (*GetValueDictionaryResponse) GetValue

func (x *GetValueDictionaryResponse) GetValue() []byte

func (*GetValueDictionaryResponse) ProtoMessage

func (*GetValueDictionaryResponse) ProtoMessage()

func (*GetValueDictionaryResponse) ProtoReflect

func (*GetValueDictionaryResponse) Reset

func (x *GetValueDictionaryResponse) Reset()

func (*GetValueDictionaryResponse) String

func (x *GetValueDictionaryResponse) String() string

type Image

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

Informatio to build the application in the backend

func (*Image) Descriptor deprecated

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

Deprecated: Use Image.ProtoReflect.Descriptor instead.

func (*Image) GetCommands

func (x *Image) GetCommands() []string

func (*Image) ProtoMessage

func (*Image) ProtoMessage()

func (*Image) ProtoReflect

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

func (*Image) Reset

func (x *Image) Reset()

func (*Image) String

func (x *Image) String() string

type ImageRegistry

type ImageRegistry struct {
	Url        string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	Repository string `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"`
	// contains filtered or unexported fields
}

func (*ImageRegistry) Descriptor deprecated

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

Deprecated: Use ImageRegistry.ProtoReflect.Descriptor instead.

func (*ImageRegistry) GetRepository

func (x *ImageRegistry) GetRepository() string

func (*ImageRegistry) GetUrl

func (x *ImageRegistry) GetUrl() string

func (*ImageRegistry) ProtoMessage

func (*ImageRegistry) ProtoMessage()

func (*ImageRegistry) ProtoReflect

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

func (*ImageRegistry) Reset

func (x *ImageRegistry) Reset()

func (*ImageRegistry) String

func (x *ImageRegistry) String() string

type LengthDictionaryRequest

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

func (*LengthDictionaryRequest) Descriptor deprecated

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

Deprecated: Use LengthDictionaryRequest.ProtoReflect.Descriptor instead.

func (*LengthDictionaryRequest) GetKey

func (x *LengthDictionaryRequest) GetKey() string

func (*LengthDictionaryRequest) ProtoMessage

func (*LengthDictionaryRequest) ProtoMessage()

func (*LengthDictionaryRequest) ProtoReflect

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

func (*LengthDictionaryRequest) Reset

func (x *LengthDictionaryRequest) Reset()

func (*LengthDictionaryRequest) String

func (x *LengthDictionaryRequest) String() string

type LengthDictionaryResponse

type LengthDictionaryResponse struct {
	Value int32  `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
	Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*LengthDictionaryResponse) Descriptor deprecated

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

Deprecated: Use LengthDictionaryResponse.ProtoReflect.Descriptor instead.

func (*LengthDictionaryResponse) GetError

func (x *LengthDictionaryResponse) GetError() string

func (*LengthDictionaryResponse) GetValue

func (x *LengthDictionaryResponse) GetValue() int32

func (*LengthDictionaryResponse) ProtoMessage

func (*LengthDictionaryResponse) ProtoMessage()

func (*LengthDictionaryResponse) ProtoReflect

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

func (*LengthDictionaryResponse) Reset

func (x *LengthDictionaryResponse) Reset()

func (*LengthDictionaryResponse) String

func (x *LengthDictionaryResponse) String() string

type ListAppsResponse

type ListAppsResponse struct {
	Apps []*App `protobuf:"bytes,1,rep,name=apps,proto3" json:"apps,omitempty"`
	// contains filtered or unexported fields
}

func (*ListAppsResponse) Descriptor deprecated

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

Deprecated: Use ListAppsResponse.ProtoReflect.Descriptor instead.

func (*ListAppsResponse) GetApps

func (x *ListAppsResponse) GetApps() []*App

func (*ListAppsResponse) ProtoMessage

func (*ListAppsResponse) ProtoMessage()

func (*ListAppsResponse) ProtoReflect

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

func (*ListAppsResponse) Reset

func (x *ListAppsResponse) Reset()

func (*ListAppsResponse) String

func (x *ListAppsResponse) String() string

type LoadSecretsFromAPIRequest

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

SecretHandler messages

func (*LoadSecretsFromAPIRequest) Descriptor deprecated

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

Deprecated: Use LoadSecretsFromAPIRequest.ProtoReflect.Descriptor instead.

func (*LoadSecretsFromAPIRequest) GetApplicationId

func (x *LoadSecretsFromAPIRequest) GetApplicationId() string

func (*LoadSecretsFromAPIRequest) ProtoMessage

func (*LoadSecretsFromAPIRequest) ProtoMessage()

func (*LoadSecretsFromAPIRequest) ProtoReflect

func (*LoadSecretsFromAPIRequest) Reset

func (x *LoadSecretsFromAPIRequest) Reset()

func (*LoadSecretsFromAPIRequest) String

func (x *LoadSecretsFromAPIRequest) String() string

type LoadSecretsFromAPIResponse

type LoadSecretsFromAPIResponse struct {
	Values map[string]string `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*LoadSecretsFromAPIResponse) Descriptor deprecated

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

Deprecated: Use LoadSecretsFromAPIResponse.ProtoReflect.Descriptor instead.

func (*LoadSecretsFromAPIResponse) GetValues

func (x *LoadSecretsFromAPIResponse) GetValues() map[string]string

func (*LoadSecretsFromAPIResponse) ProtoMessage

func (*LoadSecretsFromAPIResponse) ProtoMessage()

func (*LoadSecretsFromAPIResponse) ProtoReflect

func (*LoadSecretsFromAPIResponse) Reset

func (x *LoadSecretsFromAPIResponse) Reset()

func (*LoadSecretsFromAPIResponse) String

func (x *LoadSecretsFromAPIResponse) String() string

type LogsAppRequest

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

func (*LogsAppRequest) Descriptor deprecated

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

Deprecated: Use LogsAppRequest.ProtoReflect.Descriptor instead.

func (*LogsAppRequest) GetId

func (x *LogsAppRequest) GetId() string

func (*LogsAppRequest) ProtoMessage

func (*LogsAppRequest) ProtoMessage()

func (*LogsAppRequest) ProtoReflect

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

func (*LogsAppRequest) Reset

func (x *LogsAppRequest) Reset()

func (*LogsAppRequest) String

func (x *LogsAppRequest) String() string

type LogsAppResponse

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

func (*LogsAppResponse) Descriptor deprecated

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

Deprecated: Use LogsAppResponse.ProtoReflect.Descriptor instead.

func (*LogsAppResponse) GetLog

func (x *LogsAppResponse) GetLog() string

func (*LogsAppResponse) ProtoMessage

func (*LogsAppResponse) ProtoMessage()

func (*LogsAppResponse) ProtoReflect

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

func (*LogsAppResponse) Reset

func (x *LogsAppResponse) Reset()

func (*LogsAppResponse) String

func (x *LogsAppResponse) String() string

type PingResponse

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

func (*PingResponse) Descriptor deprecated

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

Deprecated: Use PingResponse.ProtoReflect.Descriptor instead.

func (*PingResponse) GetMsg

func (x *PingResponse) GetMsg() string

func (*PingResponse) ProtoMessage

func (*PingResponse) ProtoMessage()

func (*PingResponse) ProtoReflect

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

func (*PingResponse) Reset

func (x *PingResponse) Reset()

func (*PingResponse) String

func (x *PingResponse) String() string

type PopValueDictionaryRequest

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

func (*PopValueDictionaryRequest) Descriptor deprecated

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

Deprecated: Use PopValueDictionaryRequest.ProtoReflect.Descriptor instead.

func (*PopValueDictionaryRequest) GetKey

func (x *PopValueDictionaryRequest) GetKey() string

func (*PopValueDictionaryRequest) ProtoMessage

func (*PopValueDictionaryRequest) ProtoMessage()

func (*PopValueDictionaryRequest) ProtoReflect

func (*PopValueDictionaryRequest) Reset

func (x *PopValueDictionaryRequest) Reset()

func (*PopValueDictionaryRequest) String

func (x *PopValueDictionaryRequest) String() string

type PopValueDictionaryResponse

type PopValueDictionaryResponse struct {
	Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*PopValueDictionaryResponse) Descriptor deprecated

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

Deprecated: Use PopValueDictionaryResponse.ProtoReflect.Descriptor instead.

func (*PopValueDictionaryResponse) GetError

func (x *PopValueDictionaryResponse) GetError() string

func (*PopValueDictionaryResponse) GetValue

func (x *PopValueDictionaryResponse) GetValue() []byte

func (*PopValueDictionaryResponse) ProtoMessage

func (*PopValueDictionaryResponse) ProtoMessage()

func (*PopValueDictionaryResponse) ProtoReflect

func (*PopValueDictionaryResponse) Reset

func (x *PopValueDictionaryResponse) Reset()

func (*PopValueDictionaryResponse) String

func (x *PopValueDictionaryResponse) String() string

type ProduceValueQueueRequest

type ProduceValueQueueRequest struct {
	Topic   string `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"`
	Message []byte `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

Queue messages

func (*ProduceValueQueueRequest) Descriptor deprecated

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

Deprecated: Use ProduceValueQueueRequest.ProtoReflect.Descriptor instead.

func (*ProduceValueQueueRequest) GetMessage

func (x *ProduceValueQueueRequest) GetMessage() []byte

func (*ProduceValueQueueRequest) GetTopic

func (x *ProduceValueQueueRequest) GetTopic() string

func (*ProduceValueQueueRequest) ProtoMessage

func (*ProduceValueQueueRequest) ProtoMessage()

func (*ProduceValueQueueRequest) ProtoReflect

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

func (*ProduceValueQueueRequest) Reset

func (x *ProduceValueQueueRequest) Reset()

func (*ProduceValueQueueRequest) String

func (x *ProduceValueQueueRequest) String() string

type ProduceValueQueueResponse

type ProduceValueQueueResponse struct {
	Ack   bool   `protobuf:"varint,1,opt,name=ack,proto3" json:"ack,omitempty"`
	Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*ProduceValueQueueResponse) Descriptor deprecated

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

Deprecated: Use ProduceValueQueueResponse.ProtoReflect.Descriptor instead.

func (*ProduceValueQueueResponse) GetAck

func (x *ProduceValueQueueResponse) GetAck() bool

func (*ProduceValueQueueResponse) GetError

func (x *ProduceValueQueueResponse) GetError() string

func (*ProduceValueQueueResponse) ProtoMessage

func (*ProduceValueQueueResponse) ProtoMessage()

func (*ProduceValueQueueResponse) ProtoReflect

func (*ProduceValueQueueResponse) Reset

func (x *ProduceValueQueueResponse) Reset()

func (*ProduceValueQueueResponse) String

func (x *ProduceValueQueueResponse) String() string

type PutValueDictionaryRequest

type PutValueDictionaryRequest struct {
	Key   string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*PutValueDictionaryRequest) Descriptor deprecated

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

Deprecated: Use PutValueDictionaryRequest.ProtoReflect.Descriptor instead.

func (*PutValueDictionaryRequest) GetKey

func (x *PutValueDictionaryRequest) GetKey() string

func (*PutValueDictionaryRequest) GetValue

func (x *PutValueDictionaryRequest) GetValue() []byte

func (*PutValueDictionaryRequest) ProtoMessage

func (*PutValueDictionaryRequest) ProtoMessage()

func (*PutValueDictionaryRequest) ProtoReflect

func (*PutValueDictionaryRequest) Reset

func (x *PutValueDictionaryRequest) Reset()

func (*PutValueDictionaryRequest) String

func (x *PutValueDictionaryRequest) String() string

type PutValueDictionaryResponse

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

func (*PutValueDictionaryResponse) Descriptor deprecated

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

Deprecated: Use PutValueDictionaryResponse.ProtoReflect.Descriptor instead.

func (*PutValueDictionaryResponse) GetError

func (x *PutValueDictionaryResponse) GetError() string

func (*PutValueDictionaryResponse) ProtoMessage

func (*PutValueDictionaryResponse) ProtoMessage()

func (*PutValueDictionaryResponse) ProtoReflect

func (*PutValueDictionaryResponse) Reset

func (x *PutValueDictionaryResponse) Reset()

func (*PutValueDictionaryResponse) String

func (x *PutValueDictionaryResponse) String() string

type Resources

type Resources struct {
	Cpu    int64 `protobuf:"varint,1,opt,name=cpu,proto3" json:"cpu,omitempty"`
	Memory int64 `protobuf:"varint,2,opt,name=memory,proto3" json:"memory,omitempty"`
	Disk   int64 `protobuf:"varint,3,opt,name=disk,proto3" json:"disk,omitempty"`
	// contains filtered or unexported fields
}

func (*Resources) Descriptor deprecated

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

Deprecated: Use Resources.ProtoReflect.Descriptor instead.

func (*Resources) GetCpu

func (x *Resources) GetCpu() int64

func (*Resources) GetDisk

func (x *Resources) GetDisk() int64

func (*Resources) GetMemory

func (x *Resources) GetMemory() int64

func (*Resources) ProtoMessage

func (*Resources) ProtoMessage()

func (*Resources) ProtoReflect

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

func (*Resources) Reset

func (x *Resources) Reset()

func (*Resources) String

func (x *Resources) String() string

type StopAppRequest

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

func (*StopAppRequest) Descriptor deprecated

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

Deprecated: Use StopAppRequest.ProtoReflect.Descriptor instead.

func (*StopAppRequest) GetId

func (x *StopAppRequest) GetId() string

func (*StopAppRequest) ProtoMessage

func (*StopAppRequest) ProtoMessage()

func (*StopAppRequest) ProtoReflect

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

func (*StopAppRequest) Reset

func (x *StopAppRequest) Reset()

func (*StopAppRequest) String

func (x *StopAppRequest) String() string

type StopAppResponse

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

func (*StopAppResponse) Descriptor deprecated

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

Deprecated: Use StopAppResponse.ProtoReflect.Descriptor instead.

func (*StopAppResponse) GetId

func (x *StopAppResponse) GetId() string

func (*StopAppResponse) GetMsg

func (x *StopAppResponse) GetMsg() string

func (*StopAppResponse) ProtoMessage

func (*StopAppResponse) ProtoMessage()

func (*StopAppResponse) ProtoReflect

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

func (*StopAppResponse) Reset

func (x *StopAppResponse) Reset()

func (*StopAppResponse) String

func (x *StopAppResponse) String() string

type UnimplementedFreshcloudServer

type UnimplementedFreshcloudServer struct {
}

UnimplementedFreshcloudServer should be embedded to have forward compatible implementations.

func (UnimplementedFreshcloudServer) CreateApp

func (UnimplementedFreshcloudServer) DeleteApp

func (UnimplementedFreshcloudServer) DeployApp

func (UnimplementedFreshcloudServer) LengthDictionary

func (UnimplementedFreshcloudServer) ListApps

func (UnimplementedFreshcloudServer) LogsApp

func (UnimplementedFreshcloudServer) Ping

func (UnimplementedFreshcloudServer) ProduceValueQueue

func (UnimplementedFreshcloudServer) StopApp

type UnsafeFreshcloudServer

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

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

Jump to

Keyboard shortcuts

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