Documentation ¶
Overview ¶
Package grpc_playground_apps_go is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- func RegisterAppsHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterAppsHandlerClient(ctx context.Context, mux *runtime.ServeMux, client AppsClient) error
- func RegisterAppsHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterAppsHandlerServer(ctx context.Context, mux *runtime.ServeMux, server AppsServer) error
- func RegisterAppsServer(s *grpc.Server, srv AppsServer)
- func RegisterWorkflowsHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterWorkflowsHandlerClient(ctx context.Context, mux *runtime.ServeMux, client WorkflowsClient) error
- func RegisterWorkflowsHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterWorkflowsHandlerServer(ctx context.Context, mux *runtime.ServeMux, server WorkflowsServer) error
- func RegisterWorkflowsServer(s *grpc.Server, srv WorkflowsServer)
- type AppDataType
- func (AppDataType) Descriptor() protoreflect.EnumDescriptor
- func (x AppDataType) Enum() *AppDataType
- func (AppDataType) EnumDescriptor() ([]byte, []int)deprecated
- func (x AppDataType) Number() protoreflect.EnumNumber
- func (x AppDataType) String() string
- func (AppDataType) Type() protoreflect.EnumType
- type AppInfoRequest
- func (*AppInfoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AppInfoRequest) GetAccountId() string
- func (x *AppInfoRequest) GetApplicationName() string
- func (x *AppInfoRequest) GetEnvironmentId() string
- func (x *AppInfoRequest) GetEnvironmentQualifiedName() string
- func (x *AppInfoRequest) GetIncludeJsonConversion() bool
- func (x *AppInfoRequest) GetIncludeYamlConversion() bool
- func (*AppInfoRequest) ProtoMessage()
- func (x *AppInfoRequest) ProtoReflect() protoreflect.Message
- func (x *AppInfoRequest) Reset()
- func (x *AppInfoRequest) String() string
- func (m *AppInfoRequest) Validate() error
- func (m *AppInfoRequest) ValidateAll() error
- type AppInfoRequestMultiError
- type AppInfoRequestValidationError
- func (e AppInfoRequestValidationError) Cause() error
- func (e AppInfoRequestValidationError) Error() string
- func (e AppInfoRequestValidationError) ErrorName() string
- func (e AppInfoRequestValidationError) Field() string
- func (e AppInfoRequestValidationError) Key() bool
- func (e AppInfoRequestValidationError) Reason() string
- type AppLanguage
- func (AppLanguage) Descriptor() protoreflect.EnumDescriptor
- func (x AppLanguage) Enum() *AppLanguage
- func (AppLanguage) EnumDescriptor() ([]byte, []int)deprecated
- func (x AppLanguage) Number() protoreflect.EnumNumber
- func (x AppLanguage) String() string
- func (AppLanguage) Type() protoreflect.EnumType
- type AppStatus
- type AppSummary
- func (*AppSummary) Descriptor() ([]byte, []int)deprecated
- func (x *AppSummary) GetAppId() string
- func (x *AppSummary) GetComponentStatus() map[string]ComponentStatus
- func (x *AppSummary) GetComponentStatusName() map[string]string
- func (x *AppSummary) GetComponentSummary() []*ComponentSummary
- func (x *AppSummary) GetName() string
- func (x *AppSummary) GetStatus() AppStatus
- func (x *AppSummary) GetStatusName() string
- func (x *AppSummary) GetVisualId() string
- func (*AppSummary) ProtoMessage()
- func (x *AppSummary) ProtoReflect() protoreflect.Message
- func (x *AppSummary) Reset()
- func (x *AppSummary) String() string
- func (m *AppSummary) Validate() error
- func (m *AppSummary) ValidateAll() error
- type AppSummaryListResponse
- func (*AppSummaryListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AppSummaryListResponse) GetEntries() []*AppSummary
- func (x *AppSummaryListResponse) GetFrom() int32
- func (x *AppSummaryListResponse) GetTo() int32
- func (*AppSummaryListResponse) ProtoMessage()
- func (x *AppSummaryListResponse) ProtoReflect() protoreflect.Message
- func (x *AppSummaryListResponse) Reset()
- func (x *AppSummaryListResponse) String() string
- func (m *AppSummaryListResponse) Validate() error
- func (m *AppSummaryListResponse) ValidateAll() error
- type AppSummaryListResponseMultiError
- type AppSummaryListResponseValidationError
- func (e AppSummaryListResponseValidationError) Cause() error
- func (e AppSummaryListResponseValidationError) Error() string
- func (e AppSummaryListResponseValidationError) ErrorName() string
- func (e AppSummaryListResponseValidationError) Field() string
- func (e AppSummaryListResponseValidationError) Key() bool
- func (e AppSummaryListResponseValidationError) Reason() string
- type AppSummaryMultiError
- type AppSummaryValidationError
- type Application
- func (*Application) Descriptor() ([]byte, []int)deprecated
- func (x *Application) GetAppId() string
- func (x *Application) GetComponentIngresses() map[string]*IngressList
- func (x *Application) GetComponentStatus() map[string]ComponentStatus
- func (x *Application) GetComponentStatusName() map[string]string
- func (x *Application) GetComponentSummary() []*ComponentSummary
- func (x *Application) GetDescription() string
- func (x *Application) GetErrorMessages() []string
- func (m *Application) GetInstance() isApplication_Instance
- func (x *Application) GetInstanceJson() string
- func (x *Application) GetInstanceYaml() string
- func (x *Application) GetName() string
- func (x *Application) GetStatus() AppStatus
- func (x *Application) GetStatusName() string
- func (x *Application) GetV3() *grpc_playground_oam3_go.Application
- func (x *Application) GetVersion() string
- func (x *Application) GetVisualId() string
- func (*Application) ProtoMessage()
- func (x *Application) ProtoReflect() protoreflect.Message
- func (x *Application) Reset()
- func (x *Application) String() string
- func (m *Application) Validate() error
- func (m *Application) ValidateAll() error
- type ApplicationFromRepoConfiguration
- func (*ApplicationFromRepoConfiguration) Descriptor() ([]byte, []int)deprecated
- func (x *ApplicationFromRepoConfiguration) GetApplicationName() string
- func (x *ApplicationFromRepoConfiguration) GetEnvs() map[string]string
- func (x *ApplicationFromRepoConfiguration) GetExecArgs() []string
- func (x *ApplicationFromRepoConfiguration) GetIngressPorts() []int32
- func (x *ApplicationFromRepoConfiguration) GetLanguage() AppLanguage
- func (x *ApplicationFromRepoConfiguration) GetMainPath() string
- func (x *ApplicationFromRepoConfiguration) GetPorts() []int32
- func (x *ApplicationFromRepoConfiguration) GetRepoPat() string
- func (x *ApplicationFromRepoConfiguration) GetRepoType() RepoType
- func (x *ApplicationFromRepoConfiguration) GetRepoUrl() string
- func (x *ApplicationFromRepoConfiguration) GetRepoUsername() string
- func (*ApplicationFromRepoConfiguration) ProtoMessage()
- func (x *ApplicationFromRepoConfiguration) ProtoReflect() protoreflect.Message
- func (x *ApplicationFromRepoConfiguration) Reset()
- func (x *ApplicationFromRepoConfiguration) String() string
- func (m *ApplicationFromRepoConfiguration) Validate() error
- func (m *ApplicationFromRepoConfiguration) ValidateAll() error
- type ApplicationFromRepoConfigurationMultiError
- type ApplicationFromRepoConfigurationValidationError
- func (e ApplicationFromRepoConfigurationValidationError) Cause() error
- func (e ApplicationFromRepoConfigurationValidationError) Error() string
- func (e ApplicationFromRepoConfigurationValidationError) ErrorName() string
- func (e ApplicationFromRepoConfigurationValidationError) Field() string
- func (e ApplicationFromRepoConfigurationValidationError) Key() bool
- func (e ApplicationFromRepoConfigurationValidationError) Reason() string
- type ApplicationInstanceConfiguration
- func (*ApplicationInstanceConfiguration) Descriptor() ([]byte, []int)deprecated
- func (x *ApplicationInstanceConfiguration) GetApplicationName() string
- func (x *ApplicationInstanceConfiguration) GetSpecComponentsRaw() string
- func (*ApplicationInstanceConfiguration) ProtoMessage()
- func (x *ApplicationInstanceConfiguration) ProtoReflect() protoreflect.Message
- func (x *ApplicationInstanceConfiguration) Reset()
- func (x *ApplicationInstanceConfiguration) String() string
- func (m *ApplicationInstanceConfiguration) Validate() error
- func (m *ApplicationInstanceConfiguration) ValidateAll() error
- type ApplicationInstanceConfigurationMultiError
- type ApplicationInstanceConfigurationValidationError
- func (e ApplicationInstanceConfigurationValidationError) Cause() error
- func (e ApplicationInstanceConfigurationValidationError) Error() string
- func (e ApplicationInstanceConfigurationValidationError) ErrorName() string
- func (e ApplicationInstanceConfigurationValidationError) Field() string
- func (e ApplicationInstanceConfigurationValidationError) Key() bool
- func (e ApplicationInstanceConfigurationValidationError) Reason() string
- type ApplicationLogs
- func (*ApplicationLogs) Descriptor() ([]byte, []int)deprecated
- func (x *ApplicationLogs) GetApplicationName() string
- func (x *ApplicationLogs) GetLastEntryNano() int64
- func (x *ApplicationLogs) GetLogs() []*LogEntry
- func (*ApplicationLogs) ProtoMessage()
- func (x *ApplicationLogs) ProtoReflect() protoreflect.Message
- func (x *ApplicationLogs) Reset()
- func (x *ApplicationLogs) String() string
- func (m *ApplicationLogs) Validate() error
- func (m *ApplicationLogs) ValidateAll() error
- type ApplicationLogsMultiError
- type ApplicationLogsValidationError
- func (e ApplicationLogsValidationError) Cause() error
- func (e ApplicationLogsValidationError) Error() string
- func (e ApplicationLogsValidationError) ErrorName() string
- func (e ApplicationLogsValidationError) Field() string
- func (e ApplicationLogsValidationError) Key() bool
- func (e ApplicationLogsValidationError) Reason() string
- type ApplicationMultiError
- type ApplicationValidationError
- func (e ApplicationValidationError) Cause() error
- func (e ApplicationValidationError) Error() string
- func (e ApplicationValidationError) ErrorName() string
- func (e ApplicationValidationError) Field() string
- func (e ApplicationValidationError) Key() bool
- func (e ApplicationValidationError) Reason() string
- type Application_V3
- type AppsClient
- type AppsServer
- type ComponentReplicas
- func (*ComponentReplicas) Descriptor() ([]byte, []int)deprecated
- func (x *ComponentReplicas) GetComponentName() string
- func (x *ComponentReplicas) GetReplicas() int32
- func (*ComponentReplicas) ProtoMessage()
- func (x *ComponentReplicas) ProtoReflect() protoreflect.Message
- func (x *ComponentReplicas) Reset()
- func (x *ComponentReplicas) String() string
- func (m *ComponentReplicas) Validate() error
- func (m *ComponentReplicas) ValidateAll() error
- type ComponentReplicasMultiError
- type ComponentReplicasValidationError
- func (e ComponentReplicasValidationError) Cause() error
- func (e ComponentReplicasValidationError) Error() string
- func (e ComponentReplicasValidationError) ErrorName() string
- func (e ComponentReplicasValidationError) Field() string
- func (e ComponentReplicasValidationError) Key() bool
- func (e ComponentReplicasValidationError) Reason() string
- type ComponentStatus
- func (ComponentStatus) Descriptor() protoreflect.EnumDescriptor
- func (x ComponentStatus) Enum() *ComponentStatus
- func (ComponentStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x ComponentStatus) Number() protoreflect.EnumNumber
- func (x ComponentStatus) String() string
- func (ComponentStatus) Type() protoreflect.EnumType
- type ComponentSummary
- func (*ComponentSummary) Descriptor() ([]byte, []int)deprecated
- func (x *ComponentSummary) GetComponentName() string
- func (x *ComponentSummary) GetReplicas() int32
- func (x *ComponentSummary) GetSupportsOpScale() bool
- func (x *ComponentSummary) GetSupportsOpStop() bool
- func (*ComponentSummary) ProtoMessage()
- func (x *ComponentSummary) ProtoReflect() protoreflect.Message
- func (x *ComponentSummary) Reset()
- func (x *ComponentSummary) String() string
- func (m *ComponentSummary) Validate() error
- func (m *ComponentSummary) ValidateAll() error
- type ComponentSummaryMultiError
- type ComponentSummaryValidationError
- func (e ComponentSummaryValidationError) Cause() error
- func (e ComponentSummaryValidationError) Error() string
- func (e ComponentSummaryValidationError) ErrorName() string
- func (e ComponentSummaryValidationError) Field() string
- func (e ComponentSummaryValidationError) Key() bool
- func (e ComponentSummaryValidationError) Reason() string
- type DeployApplicationRequest
- func (*DeployApplicationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeployApplicationRequest) GetApplicationData() []byte
- func (x *DeployApplicationRequest) GetApplicationDataType() AppDataType
- func (x *DeployApplicationRequest) GetDeployFrom() DeploySource
- func (x *DeployApplicationRequest) GetInstanceConfiguration() map[string]*ApplicationInstanceConfiguration
- func (x *DeployApplicationRequest) GetRepoConf() *ApplicationFromRepoConfiguration
- func (x *DeployApplicationRequest) GetTargetEnvironmentQualifiedName() string
- func (*DeployApplicationRequest) ProtoMessage()
- func (x *DeployApplicationRequest) ProtoReflect() protoreflect.Message
- func (x *DeployApplicationRequest) Reset()
- func (x *DeployApplicationRequest) String() string
- func (m *DeployApplicationRequest) Validate() error
- func (m *DeployApplicationRequest) ValidateAll() error
- type DeployApplicationRequestMultiError
- type DeployApplicationRequestValidationError
- func (e DeployApplicationRequestValidationError) Cause() error
- func (e DeployApplicationRequestValidationError) Error() string
- func (e DeployApplicationRequestValidationError) ErrorName() string
- func (e DeployApplicationRequestValidationError) Field() string
- func (e DeployApplicationRequestValidationError) Key() bool
- func (e DeployApplicationRequestValidationError) Reason() string
- type DeployApplicationResponse
- func (*DeployApplicationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeployApplicationResponse) GetAccountName() string
- func (x *DeployApplicationResponse) GetApplicationName() string
- func (x *DeployApplicationResponse) GetEnvironmentName() string
- func (x *DeployApplicationResponse) GetMessage() string
- func (*DeployApplicationResponse) ProtoMessage()
- func (x *DeployApplicationResponse) ProtoReflect() protoreflect.Message
- func (x *DeployApplicationResponse) Reset()
- func (x *DeployApplicationResponse) String() string
- func (m *DeployApplicationResponse) Validate() error
- func (m *DeployApplicationResponse) ValidateAll() error
- type DeployApplicationResponseMultiError
- type DeployApplicationResponseValidationError
- func (e DeployApplicationResponseValidationError) Cause() error
- func (e DeployApplicationResponseValidationError) Error() string
- func (e DeployApplicationResponseValidationError) ErrorName() string
- func (e DeployApplicationResponseValidationError) Field() string
- func (e DeployApplicationResponseValidationError) Key() bool
- func (e DeployApplicationResponseValidationError) Reason() string
- type DeploySource
- func (DeploySource) Descriptor() protoreflect.EnumDescriptor
- func (x DeploySource) Enum() *DeploySource
- func (DeploySource) EnumDescriptor() ([]byte, []int)deprecated
- func (x DeploySource) Number() protoreflect.EnumNumber
- func (x DeploySource) String() string
- func (DeploySource) Type() protoreflect.EnumType
- type IngressInfo
- func (*IngressInfo) Descriptor() ([]byte, []int)deprecated
- func (x *IngressInfo) GetUrl() string
- func (*IngressInfo) ProtoMessage()
- func (x *IngressInfo) ProtoReflect() protoreflect.Message
- func (x *IngressInfo) Reset()
- func (x *IngressInfo) String() string
- func (m *IngressInfo) Validate() error
- func (m *IngressInfo) ValidateAll() error
- type IngressInfoMultiError
- type IngressInfoValidationError
- func (e IngressInfoValidationError) Cause() error
- func (e IngressInfoValidationError) Error() string
- func (e IngressInfoValidationError) ErrorName() string
- func (e IngressInfoValidationError) Field() string
- func (e IngressInfoValidationError) Key() bool
- func (e IngressInfoValidationError) Reason() string
- type IngressList
- func (*IngressList) Descriptor() ([]byte, []int)deprecated
- func (x *IngressList) GetIngresses() []*IngressInfo
- func (x *IngressList) GetParentComponentName() string
- func (*IngressList) ProtoMessage()
- func (x *IngressList) ProtoReflect() protoreflect.Message
- func (x *IngressList) Reset()
- func (x *IngressList) String() string
- func (m *IngressList) Validate() error
- func (m *IngressList) ValidateAll() error
- type IngressListMultiError
- type IngressListValidationError
- func (e IngressListValidationError) Cause() error
- func (e IngressListValidationError) Error() string
- func (e IngressListValidationError) ErrorName() string
- func (e IngressListValidationError) Field() string
- func (e IngressListValidationError) Key() bool
- func (e IngressListValidationError) Reason() string
- type LogEntry
- func (*LogEntry) Descriptor() ([]byte, []int)deprecated
- func (x *LogEntry) GetComponentName() string
- func (x *LogEntry) GetLog() string
- func (x *LogEntry) GetPodName() string
- func (x *LogEntry) GetTimestamp() int64
- func (*LogEntry) ProtoMessage()
- func (x *LogEntry) ProtoReflect() protoreflect.Message
- func (x *LogEntry) Reset()
- func (x *LogEntry) String() string
- func (m *LogEntry) Validate() error
- func (m *LogEntry) ValidateAll() error
- type LogEntryMultiError
- type LogEntryValidationError
- type LogRequest
- func (*LogRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LogRequest) GetAccountId() string
- func (x *LogRequest) GetApplicationName() string
- func (x *LogRequest) GetCleanLogs() bool
- func (x *LogRequest) GetComponentName() string
- func (x *LogRequest) GetEnvironmentId() string
- func (x *LogRequest) GetEnvironmentQualifiedName() string
- func (x *LogRequest) GetSinceNano() int64
- func (*LogRequest) ProtoMessage()
- func (x *LogRequest) ProtoReflect() protoreflect.Message
- func (x *LogRequest) Reset()
- func (x *LogRequest) String() string
- func (m *LogRequest) Validate() error
- func (m *LogRequest) ValidateAll() error
- type LogRequestMultiError
- type LogRequestValidationError
- type RemoveApplicationRequest
- func (*RemoveApplicationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveApplicationRequest) GetAccountId() string
- func (x *RemoveApplicationRequest) GetApplicationName() string
- func (x *RemoveApplicationRequest) GetEnvironmentId() string
- func (x *RemoveApplicationRequest) GetTargetEnvironmentQualifiedName() string
- func (*RemoveApplicationRequest) ProtoMessage()
- func (x *RemoveApplicationRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveApplicationRequest) Reset()
- func (x *RemoveApplicationRequest) String() string
- func (m *RemoveApplicationRequest) Validate() error
- func (m *RemoveApplicationRequest) ValidateAll() error
- type RemoveApplicationRequestMultiError
- type RemoveApplicationRequestValidationError
- func (e RemoveApplicationRequestValidationError) Cause() error
- func (e RemoveApplicationRequestValidationError) Error() string
- func (e RemoveApplicationRequestValidationError) ErrorName() string
- func (e RemoveApplicationRequestValidationError) Field() string
- func (e RemoveApplicationRequestValidationError) Key() bool
- func (e RemoveApplicationRequestValidationError) Reason() string
- type RepoType
- type ResumeApplicationComponentsRequest
- func (*ResumeApplicationComponentsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ResumeApplicationComponentsRequest) GetAccountId() string
- func (x *ResumeApplicationComponentsRequest) GetApplicationName() string
- func (x *ResumeApplicationComponentsRequest) GetComponents() []string
- func (x *ResumeApplicationComponentsRequest) GetEnvironmentId() string
- func (x *ResumeApplicationComponentsRequest) GetEnvironmentQualifiedName() string
- func (*ResumeApplicationComponentsRequest) ProtoMessage()
- func (x *ResumeApplicationComponentsRequest) ProtoReflect() protoreflect.Message
- func (x *ResumeApplicationComponentsRequest) Reset()
- func (x *ResumeApplicationComponentsRequest) String() string
- func (m *ResumeApplicationComponentsRequest) Validate() error
- func (m *ResumeApplicationComponentsRequest) ValidateAll() error
- type ResumeApplicationComponentsRequestMultiError
- type ResumeApplicationComponentsRequestValidationError
- func (e ResumeApplicationComponentsRequestValidationError) Cause() error
- func (e ResumeApplicationComponentsRequestValidationError) Error() string
- func (e ResumeApplicationComponentsRequestValidationError) ErrorName() string
- func (e ResumeApplicationComponentsRequestValidationError) Field() string
- func (e ResumeApplicationComponentsRequestValidationError) Key() bool
- func (e ResumeApplicationComponentsRequestValidationError) Reason() string
- type ResumeWorkflowRequest
- func (*ResumeWorkflowRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ResumeWorkflowRequest) GetAccountId() string
- func (x *ResumeWorkflowRequest) GetApplicationName() string
- func (x *ResumeWorkflowRequest) GetEnvironmentId() string
- func (x *ResumeWorkflowRequest) GetTargetEnvironmentQualifiedName() string
- func (*ResumeWorkflowRequest) ProtoMessage()
- func (x *ResumeWorkflowRequest) ProtoReflect() protoreflect.Message
- func (x *ResumeWorkflowRequest) Reset()
- func (x *ResumeWorkflowRequest) String() string
- func (m *ResumeWorkflowRequest) Validate() error
- func (m *ResumeWorkflowRequest) ValidateAll() error
- type ResumeWorkflowRequestMultiError
- type ResumeWorkflowRequestValidationError
- func (e ResumeWorkflowRequestValidationError) Cause() error
- func (e ResumeWorkflowRequestValidationError) Error() string
- func (e ResumeWorkflowRequestValidationError) ErrorName() string
- func (e ResumeWorkflowRequestValidationError) Field() string
- func (e ResumeWorkflowRequestValidationError) Key() bool
- func (e ResumeWorkflowRequestValidationError) Reason() string
- type ScaleRequest
- func (*ScaleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ScaleRequest) GetAccountId() string
- func (x *ScaleRequest) GetApplicationName() string
- func (x *ScaleRequest) GetComponents() []*ComponentReplicas
- func (x *ScaleRequest) GetEnvironmentId() string
- func (x *ScaleRequest) GetEnvironmentQualifiedName() string
- func (*ScaleRequest) ProtoMessage()
- func (x *ScaleRequest) ProtoReflect() protoreflect.Message
- func (x *ScaleRequest) Reset()
- func (x *ScaleRequest) String() string
- func (m *ScaleRequest) Validate() error
- func (m *ScaleRequest) ValidateAll() error
- type ScaleRequestMultiError
- type ScaleRequestValidationError
- func (e ScaleRequestValidationError) Cause() error
- func (e ScaleRequestValidationError) Error() string
- func (e ScaleRequestValidationError) ErrorName() string
- func (e ScaleRequestValidationError) Field() string
- func (e ScaleRequestValidationError) Key() bool
- func (e ScaleRequestValidationError) Reason() string
- type StopApplicationComponentsRequest
- func (*StopApplicationComponentsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StopApplicationComponentsRequest) GetAccountId() string
- func (x *StopApplicationComponentsRequest) GetApplicationName() string
- func (x *StopApplicationComponentsRequest) GetComponents() []string
- func (x *StopApplicationComponentsRequest) GetEnvironmentId() string
- func (x *StopApplicationComponentsRequest) GetEnvironmentQualifiedName() string
- func (*StopApplicationComponentsRequest) ProtoMessage()
- func (x *StopApplicationComponentsRequest) ProtoReflect() protoreflect.Message
- func (x *StopApplicationComponentsRequest) Reset()
- func (x *StopApplicationComponentsRequest) String() string
- func (m *StopApplicationComponentsRequest) Validate() error
- func (m *StopApplicationComponentsRequest) ValidateAll() error
- type StopApplicationComponentsRequestMultiError
- type StopApplicationComponentsRequestValidationError
- func (e StopApplicationComponentsRequestValidationError) Cause() error
- func (e StopApplicationComponentsRequestValidationError) Error() string
- func (e StopApplicationComponentsRequestValidationError) ErrorName() string
- func (e StopApplicationComponentsRequestValidationError) Field() string
- func (e StopApplicationComponentsRequestValidationError) Key() bool
- func (e StopApplicationComponentsRequestValidationError) Reason() string
- type UnimplementedAppsServer
- func (*UnimplementedAppsServer) Deploy(context.Context, *DeployApplicationRequest) (*DeployApplicationResponse, error)
- func (*UnimplementedAppsServer) Info(context.Context, *AppInfoRequest) (*Application, error)
- func (*UnimplementedAppsServer) Logs(context.Context, *LogRequest) (*ApplicationLogs, error)
- func (*UnimplementedAppsServer) Remove(context.Context, *RemoveApplicationRequest) (*grpc_playground_common_go.OpResponse, error)
- func (*UnimplementedAppsServer) ResumeApplicationComponents(context.Context, *ResumeApplicationComponentsRequest) (*grpc_playground_common_go.OpResponse, error)
- func (*UnimplementedAppsServer) Scale(context.Context, *ScaleRequest) (*grpc_playground_common_go.OpResponse, error)
- func (*UnimplementedAppsServer) StopApplicationComponents(context.Context, *StopApplicationComponentsRequest) (*grpc_playground_common_go.OpResponse, error)
- func (*UnimplementedAppsServer) SummaryList(context.Context, *grpc_playground_environments_go.EnvironmentSelector) (*AppSummaryListResponse, error)
- func (*UnimplementedAppsServer) Update(context.Context, *UpdateApplicationRequest) (*grpc_playground_common_go.OpResponse, error)
- func (*UnimplementedAppsServer) ValidateRepoAccess(context.Context, *ValidateRepoAccessRequest) (*grpc_playground_common_go.OpResponse, error)
- type UnimplementedWorkflowsServer
- type UpdateApplicationRequest
- func (*UpdateApplicationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateApplicationRequest) GetAccountId() string
- func (x *UpdateApplicationRequest) GetApplicationName() string
- func (x *UpdateApplicationRequest) GetEnvironmentId() string
- func (x *UpdateApplicationRequest) GetRawYaml() string
- func (x *UpdateApplicationRequest) GetTargetEnvironmentQualifiedName() string
- func (*UpdateApplicationRequest) ProtoMessage()
- func (x *UpdateApplicationRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateApplicationRequest) Reset()
- func (x *UpdateApplicationRequest) String() string
- func (m *UpdateApplicationRequest) Validate() error
- func (m *UpdateApplicationRequest) ValidateAll() error
- type UpdateApplicationRequestMultiError
- type UpdateApplicationRequestValidationError
- func (e UpdateApplicationRequestValidationError) Cause() error
- func (e UpdateApplicationRequestValidationError) Error() string
- func (e UpdateApplicationRequestValidationError) ErrorName() string
- func (e UpdateApplicationRequestValidationError) Field() string
- func (e UpdateApplicationRequestValidationError) Key() bool
- func (e UpdateApplicationRequestValidationError) Reason() string
- type ValidateRepoAccessRequest
- func (*ValidateRepoAccessRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ValidateRepoAccessRequest) GetRepoPat() string
- func (x *ValidateRepoAccessRequest) GetRepoType() RepoType
- func (x *ValidateRepoAccessRequest) GetRepoUrl() string
- func (*ValidateRepoAccessRequest) ProtoMessage()
- func (x *ValidateRepoAccessRequest) ProtoReflect() protoreflect.Message
- func (x *ValidateRepoAccessRequest) Reset()
- func (x *ValidateRepoAccessRequest) String() string
- func (m *ValidateRepoAccessRequest) Validate() error
- func (m *ValidateRepoAccessRequest) ValidateAll() error
- type ValidateRepoAccessRequestMultiError
- type ValidateRepoAccessRequestValidationError
- func (e ValidateRepoAccessRequestValidationError) Cause() error
- func (e ValidateRepoAccessRequestValidationError) Error() string
- func (e ValidateRepoAccessRequestValidationError) ErrorName() string
- func (e ValidateRepoAccessRequestValidationError) Field() string
- func (e ValidateRepoAccessRequestValidationError) Key() bool
- func (e ValidateRepoAccessRequestValidationError) Reason() string
- type WorkflowsClient
- type WorkflowsServer
Constants ¶
This section is empty.
Variables ¶
var ( ComponentStatus_name = map[int32]string{ 0: "UNKNOWN", 1: "OK", 2: "WARNING", 3: "RUNNING", 4: "TERMINATED", 5: "SCHEDULED", 6: "ERROR", 7: "STOPPED", } ComponentStatus_value = map[string]int32{ "UNKNOWN": 0, "OK": 1, "WARNING": 2, "RUNNING": 3, "TERMINATED": 4, "SCHEDULED": 5, "ERROR": 6, "STOPPED": 7, } )
Enum value maps for ComponentStatus.
var ( AppStatus_name = map[int32]string{ 0: "APP_UNKNOWN", 1: "APP_OK", 2: "APP_WARNING", 3: "APP_RUNNING", 4: "APP_TERMINATED", 5: "APP_SUSPENDED", 6: "APP_SCHEDULED", 7: "APP_ERROR", 8: "APP_STOPPED", } AppStatus_value = map[string]int32{ "APP_UNKNOWN": 0, "APP_OK": 1, "APP_WARNING": 2, "APP_RUNNING": 3, "APP_TERMINATED": 4, "APP_SUSPENDED": 5, "APP_SCHEDULED": 6, "APP_ERROR": 7, "APP_STOPPED": 8, } )
Enum value maps for AppStatus.
var ( RepoType_name = map[int32]string{ 0: "UNKNOWN_REPO", 1: "GIT", } RepoType_value = map[string]int32{ "UNKNOWN_REPO": 0, "GIT": 1, } )
Enum value maps for RepoType.
var ( AppLanguage_name = map[int32]string{ 0: "AUTO_DISCOVER", 1: "GOLANG", 2: "PYTHON", 3: "NODEJS", 4: "STATIC", } AppLanguage_value = map[string]int32{ "AUTO_DISCOVER": 0, "GOLANG": 1, "PYTHON": 2, "NODEJS": 3, "STATIC": 4, } )
Enum value maps for AppLanguage.
var ( DeploySource_name = map[int32]string{ 0: "UNKNOWN_DEPLOY_SOURCE", 1: "FROM_DATA", 2: "FROM_REPO", } DeploySource_value = map[string]int32{ "UNKNOWN_DEPLOY_SOURCE": 0, "FROM_DATA": 1, "FROM_REPO": 2, } )
Enum value maps for DeploySource.
var ( AppDataType_name = map[int32]string{ 0: "UNKNOWN_FORMAT", 1: "TGZ", 2: "YAML", } AppDataType_value = map[string]int32{ "UNKNOWN_FORMAT": 0, "TGZ": 1, "YAML": 2, } )
Enum value maps for AppDataType.
var File_playground_apps_entities_proto protoreflect.FileDescriptor
var File_playground_apps_services_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAppsHandler ¶
RegisterAppsHandler registers the http handlers for service Apps to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterAppsHandlerClient ¶
RegisterAppsHandlerClient registers the http handlers for service Apps to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "AppsClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "AppsClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "AppsClient" to call the correct interceptors.
func RegisterAppsHandlerFromEndpoint ¶
func RegisterAppsHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterAppsHandlerFromEndpoint is same as RegisterAppsHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterAppsHandlerServer ¶
RegisterAppsHandlerServer registers the http handlers for service Apps to "mux". UnaryRPC :call AppsServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterAppsHandlerFromEndpoint instead.
func RegisterAppsServer ¶
func RegisterAppsServer(s *grpc.Server, srv AppsServer)
func RegisterWorkflowsHandler ¶ added in v0.45.0
func RegisterWorkflowsHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterWorkflowsHandler registers the http handlers for service Workflows to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterWorkflowsHandlerClient ¶ added in v0.45.0
func RegisterWorkflowsHandlerClient(ctx context.Context, mux *runtime.ServeMux, client WorkflowsClient) error
RegisterWorkflowsHandlerClient registers the http handlers for service Workflows to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "WorkflowsClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "WorkflowsClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "WorkflowsClient" to call the correct interceptors.
func RegisterWorkflowsHandlerFromEndpoint ¶ added in v0.45.0
func RegisterWorkflowsHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterWorkflowsHandlerFromEndpoint is same as RegisterWorkflowsHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterWorkflowsHandlerServer ¶ added in v0.45.0
func RegisterWorkflowsHandlerServer(ctx context.Context, mux *runtime.ServeMux, server WorkflowsServer) error
RegisterWorkflowsHandlerServer registers the http handlers for service Workflows to "mux". UnaryRPC :call WorkflowsServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterWorkflowsHandlerFromEndpoint instead.
func RegisterWorkflowsServer ¶ added in v0.45.0
func RegisterWorkflowsServer(s *grpc.Server, srv WorkflowsServer)
Types ¶
type AppDataType ¶ added in v0.27.0
type AppDataType int32
AppDataType to indicate if the data is a tgz or a YAML
const ( AppDataType_UNKNOWN_FORMAT AppDataType = 0 AppDataType_TGZ AppDataType = 1 AppDataType_YAML AppDataType = 2 )
func (AppDataType) Descriptor ¶ added in v0.27.0
func (AppDataType) Descriptor() protoreflect.EnumDescriptor
func (AppDataType) Enum ¶ added in v0.27.0
func (x AppDataType) Enum() *AppDataType
func (AppDataType) EnumDescriptor
deprecated
added in
v0.27.0
func (AppDataType) EnumDescriptor() ([]byte, []int)
Deprecated: Use AppDataType.Descriptor instead.
func (AppDataType) Number ¶ added in v0.27.0
func (x AppDataType) Number() protoreflect.EnumNumber
func (AppDataType) String ¶ added in v0.27.0
func (x AppDataType) String() string
func (AppDataType) Type ¶ added in v0.27.0
func (AppDataType) Type() protoreflect.EnumType
type AppInfoRequest ¶ added in v0.8.0
type AppInfoRequest struct { // EnvironmentQualifiedName (EnvQN) contains both the account name and the environment name as // <account_name>/<env_name>. EnvironmentQualifiedName string `` /* 135-byte string literal not displayed */ // AccountId with the account identifier. AccountId string `protobuf:"bytes,2,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` // EnvironmentId with the environment identifier EnvironmentId string `protobuf:"bytes,3,opt,name=environment_id,json=environmentId,proto3" json:"environment_id,omitempty"` // ApplicationName with the name of the application ApplicationName string `protobuf:"bytes,4,opt,name=application_name,json=applicationName,proto3" json:"application_name,omitempty"` // IncludeYAMLConversion determines if the raw YAML representation is also included. IncludeYamlConversion bool `` /* 127-byte string literal not displayed */ // IncludeJSONConversion determines if the raw JSON representation is also included. IncludeJsonConversion bool `` /* 127-byte string literal not displayed */ // contains filtered or unexported fields }
AppInfoRequest with the information required to ask for an application
func (*AppInfoRequest) Descriptor
deprecated
added in
v0.8.0
func (*AppInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use AppInfoRequest.ProtoReflect.Descriptor instead.
func (*AppInfoRequest) GetAccountId ¶ added in v0.8.0
func (x *AppInfoRequest) GetAccountId() string
func (*AppInfoRequest) GetApplicationName ¶ added in v0.8.0
func (x *AppInfoRequest) GetApplicationName() string
func (*AppInfoRequest) GetEnvironmentId ¶ added in v0.8.0
func (x *AppInfoRequest) GetEnvironmentId() string
func (*AppInfoRequest) GetEnvironmentQualifiedName ¶ added in v0.8.0
func (x *AppInfoRequest) GetEnvironmentQualifiedName() string
func (*AppInfoRequest) GetIncludeJsonConversion ¶ added in v0.17.0
func (x *AppInfoRequest) GetIncludeJsonConversion() bool
func (*AppInfoRequest) GetIncludeYamlConversion ¶ added in v0.17.0
func (x *AppInfoRequest) GetIncludeYamlConversion() bool
func (*AppInfoRequest) ProtoMessage ¶ added in v0.8.0
func (*AppInfoRequest) ProtoMessage()
func (*AppInfoRequest) ProtoReflect ¶ added in v0.8.0
func (x *AppInfoRequest) ProtoReflect() protoreflect.Message
func (*AppInfoRequest) Reset ¶ added in v0.8.0
func (x *AppInfoRequest) Reset()
func (*AppInfoRequest) String ¶ added in v0.8.0
func (x *AppInfoRequest) String() string
func (*AppInfoRequest) Validate ¶ added in v0.8.0
func (m *AppInfoRequest) Validate() error
Validate checks the field values on AppInfoRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*AppInfoRequest) ValidateAll ¶ added in v0.8.0
func (m *AppInfoRequest) ValidateAll() error
ValidateAll checks the field values on AppInfoRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AppInfoRequestMultiError, or nil if none found.
type AppInfoRequestMultiError ¶ added in v0.8.0
type AppInfoRequestMultiError []error
AppInfoRequestMultiError is an error wrapping multiple validation errors returned by AppInfoRequest.ValidateAll() if the designated constraints aren't met.
func (AppInfoRequestMultiError) AllErrors ¶ added in v0.8.0
func (m AppInfoRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AppInfoRequestMultiError) Error ¶ added in v0.8.0
func (m AppInfoRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AppInfoRequestValidationError ¶ added in v0.8.0
type AppInfoRequestValidationError struct {
// contains filtered or unexported fields
}
AppInfoRequestValidationError is the validation error returned by AppInfoRequest.Validate if the designated constraints aren't met.
func (AppInfoRequestValidationError) Cause ¶ added in v0.8.0
func (e AppInfoRequestValidationError) Cause() error
Cause function returns cause value.
func (AppInfoRequestValidationError) Error ¶ added in v0.8.0
func (e AppInfoRequestValidationError) Error() string
Error satisfies the builtin error interface
func (AppInfoRequestValidationError) ErrorName ¶ added in v0.8.0
func (e AppInfoRequestValidationError) ErrorName() string
ErrorName returns error name.
func (AppInfoRequestValidationError) Field ¶ added in v0.8.0
func (e AppInfoRequestValidationError) Field() string
Field function returns field value.
func (AppInfoRequestValidationError) Key ¶ added in v0.8.0
func (e AppInfoRequestValidationError) Key() bool
Key function returns key value.
func (AppInfoRequestValidationError) Reason ¶ added in v0.8.0
func (e AppInfoRequestValidationError) Reason() string
Reason function returns reason value.
type AppLanguage ¶ added in v0.27.0
type AppLanguage int32
Language with the language with which the application is implemented
const ( AppLanguage_AUTO_DISCOVER AppLanguage = 0 AppLanguage_GOLANG AppLanguage = 1 AppLanguage_PYTHON AppLanguage = 2 AppLanguage_NODEJS AppLanguage = 3 AppLanguage_STATIC AppLanguage = 4 )
func (AppLanguage) Descriptor ¶ added in v0.27.0
func (AppLanguage) Descriptor() protoreflect.EnumDescriptor
func (AppLanguage) Enum ¶ added in v0.27.0
func (x AppLanguage) Enum() *AppLanguage
func (AppLanguage) EnumDescriptor
deprecated
added in
v0.27.0
func (AppLanguage) EnumDescriptor() ([]byte, []int)
Deprecated: Use AppLanguage.Descriptor instead.
func (AppLanguage) Number ¶ added in v0.27.0
func (x AppLanguage) Number() protoreflect.EnumNumber
func (AppLanguage) String ¶ added in v0.27.0
func (x AppLanguage) String() string
func (AppLanguage) Type ¶ added in v0.27.0
func (AppLanguage) Type() protoreflect.EnumType
type AppStatus ¶ added in v0.2.0
type AppStatus int32
AppStatus defines the status of an application.
const ( // Unknown with an undetermined status AppStatus_APP_UNKNOWN AppStatus = 0 // AppOk signals that are elements of a given application are running. // We need OK status to be compatible with OAM2 AppStatus_APP_OK AppStatus = 1 // AppWarning signals that some of the elements of an application are not running. AppStatus_APP_WARNING AppStatus = 2 // AppRunning signals that are elements of a given application are running. AppStatus_APP_RUNNING AppStatus = 3 // AppTerminated when an application without deployments neither statefulsets, only workflow and/or jobs terminated AppStatus_APP_TERMINATED AppStatus = 4 // AppSuspended when the workflow is suspended waiting for a manual relaunch AppStatus_APP_SUSPENDED AppStatus = 5 // AppScheduled when an application with cronJobs are waiting to execute the jobs AppStatus_APP_SCHEDULED AppStatus = 6 // AppError signals that the application is on an error state. AppStatus_APP_ERROR AppStatus = 7 // AppStopped signals that all the application components are stopped AppStatus_APP_STOPPED AppStatus = 8 )
func (AppStatus) Descriptor ¶ added in v0.2.0
func (AppStatus) Descriptor() protoreflect.EnumDescriptor
func (AppStatus) EnumDescriptor
deprecated
added in
v0.2.0
func (AppStatus) Number ¶ added in v0.2.0
func (x AppStatus) Number() protoreflect.EnumNumber
func (AppStatus) Type ¶ added in v0.2.0
func (AppStatus) Type() protoreflect.EnumType
type AppSummary ¶ added in v0.10.0
type AppSummary struct { // AppId with the application identifier. AppId string `protobuf:"bytes,1,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"` // Name of the app. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // VisualId contains a hash unique to the instance for representation purposes. VisualId string `protobuf:"bytes,3,opt,name=visual_id,json=visualId,proto3" json:"visual_id,omitempty"` // Status with the name of the overall status of the application. Status AppStatus `protobuf:"varint,4,opt,name=status,proto3,enum=playground_apps.AppStatus" json:"status,omitempty"` // With the status as string StatusName string `protobuf:"bytes,5,opt,name=status_name,json=statusName,proto3" json:"status_name,omitempty"` ComponentStatus map[string]ComponentStatus `` /* 232-byte string literal not displayed */ // ComponentStatusName with the string representation of the component status. ComponentStatusName map[string]string `` /* 208-byte string literal not displayed */ // ComponentSummary with a components and their replicas ComponentSummary []*ComponentSummary `protobuf:"bytes,8,rep,name=component_summary,json=componentSummary,proto3" json:"component_summary,omitempty"` // contains filtered or unexported fields }
AppSummary with a summary of an application.
func (*AppSummary) Descriptor
deprecated
added in
v0.10.0
func (*AppSummary) Descriptor() ([]byte, []int)
Deprecated: Use AppSummary.ProtoReflect.Descriptor instead.
func (*AppSummary) GetAppId ¶ added in v0.10.0
func (x *AppSummary) GetAppId() string
func (*AppSummary) GetComponentStatus ¶ added in v0.10.0
func (x *AppSummary) GetComponentStatus() map[string]ComponentStatus
func (*AppSummary) GetComponentStatusName ¶ added in v0.10.0
func (x *AppSummary) GetComponentStatusName() map[string]string
func (*AppSummary) GetComponentSummary ¶ added in v0.40.0
func (x *AppSummary) GetComponentSummary() []*ComponentSummary
func (*AppSummary) GetName ¶ added in v0.10.0
func (x *AppSummary) GetName() string
func (*AppSummary) GetStatus ¶ added in v0.10.0
func (x *AppSummary) GetStatus() AppStatus
func (*AppSummary) GetStatusName ¶ added in v0.10.0
func (x *AppSummary) GetStatusName() string
func (*AppSummary) GetVisualId ¶ added in v0.10.0
func (x *AppSummary) GetVisualId() string
func (*AppSummary) ProtoMessage ¶ added in v0.10.0
func (*AppSummary) ProtoMessage()
func (*AppSummary) ProtoReflect ¶ added in v0.10.0
func (x *AppSummary) ProtoReflect() protoreflect.Message
func (*AppSummary) Reset ¶ added in v0.10.0
func (x *AppSummary) Reset()
func (*AppSummary) String ¶ added in v0.10.0
func (x *AppSummary) String() string
func (*AppSummary) Validate ¶ added in v0.10.0
func (m *AppSummary) Validate() error
Validate checks the field values on AppSummary with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*AppSummary) ValidateAll ¶ added in v0.10.0
func (m *AppSummary) ValidateAll() error
ValidateAll checks the field values on AppSummary with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AppSummaryMultiError, or nil if none found.
type AppSummaryListResponse ¶ added in v0.10.0
type AppSummaryListResponse struct { // Entries in the returned page. Entries []*AppSummary `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"` // From indicates the index of the first entry returned. From int32 `protobuf:"varint,2,opt,name=from,proto3" json:"from,omitempty"` // To indicates the index of the second entry returned. To int32 `protobuf:"varint,3,opt,name=to,proto3" json:"to,omitempty"` // contains filtered or unexported fields }
AppSummaryListResponse with a subset of applications.
func (*AppSummaryListResponse) Descriptor
deprecated
added in
v0.10.0
func (*AppSummaryListResponse) Descriptor() ([]byte, []int)
Deprecated: Use AppSummaryListResponse.ProtoReflect.Descriptor instead.
func (*AppSummaryListResponse) GetEntries ¶ added in v0.10.0
func (x *AppSummaryListResponse) GetEntries() []*AppSummary
func (*AppSummaryListResponse) GetFrom ¶ added in v0.10.0
func (x *AppSummaryListResponse) GetFrom() int32
func (*AppSummaryListResponse) GetTo ¶ added in v0.10.0
func (x *AppSummaryListResponse) GetTo() int32
func (*AppSummaryListResponse) ProtoMessage ¶ added in v0.10.0
func (*AppSummaryListResponse) ProtoMessage()
func (*AppSummaryListResponse) ProtoReflect ¶ added in v0.10.0
func (x *AppSummaryListResponse) ProtoReflect() protoreflect.Message
func (*AppSummaryListResponse) Reset ¶ added in v0.10.0
func (x *AppSummaryListResponse) Reset()
func (*AppSummaryListResponse) String ¶ added in v0.10.0
func (x *AppSummaryListResponse) String() string
func (*AppSummaryListResponse) Validate ¶ added in v0.10.0
func (m *AppSummaryListResponse) Validate() error
Validate checks the field values on AppSummaryListResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*AppSummaryListResponse) ValidateAll ¶ added in v0.10.0
func (m *AppSummaryListResponse) ValidateAll() error
ValidateAll checks the field values on AppSummaryListResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AppSummaryListResponseMultiError, or nil if none found.
type AppSummaryListResponseMultiError ¶ added in v0.10.0
type AppSummaryListResponseMultiError []error
AppSummaryListResponseMultiError is an error wrapping multiple validation errors returned by AppSummaryListResponse.ValidateAll() if the designated constraints aren't met.
func (AppSummaryListResponseMultiError) AllErrors ¶ added in v0.10.0
func (m AppSummaryListResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AppSummaryListResponseMultiError) Error ¶ added in v0.10.0
func (m AppSummaryListResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AppSummaryListResponseValidationError ¶ added in v0.10.0
type AppSummaryListResponseValidationError struct {
// contains filtered or unexported fields
}
AppSummaryListResponseValidationError is the validation error returned by AppSummaryListResponse.Validate if the designated constraints aren't met.
func (AppSummaryListResponseValidationError) Cause ¶ added in v0.10.0
func (e AppSummaryListResponseValidationError) Cause() error
Cause function returns cause value.
func (AppSummaryListResponseValidationError) Error ¶ added in v0.10.0
func (e AppSummaryListResponseValidationError) Error() string
Error satisfies the builtin error interface
func (AppSummaryListResponseValidationError) ErrorName ¶ added in v0.10.0
func (e AppSummaryListResponseValidationError) ErrorName() string
ErrorName returns error name.
func (AppSummaryListResponseValidationError) Field ¶ added in v0.10.0
func (e AppSummaryListResponseValidationError) Field() string
Field function returns field value.
func (AppSummaryListResponseValidationError) Key ¶ added in v0.10.0
func (e AppSummaryListResponseValidationError) Key() bool
Key function returns key value.
func (AppSummaryListResponseValidationError) Reason ¶ added in v0.10.0
func (e AppSummaryListResponseValidationError) Reason() string
Reason function returns reason value.
type AppSummaryMultiError ¶ added in v0.10.0
type AppSummaryMultiError []error
AppSummaryMultiError is an error wrapping multiple validation errors returned by AppSummary.ValidateAll() if the designated constraints aren't met.
func (AppSummaryMultiError) AllErrors ¶ added in v0.10.0
func (m AppSummaryMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AppSummaryMultiError) Error ¶ added in v0.10.0
func (m AppSummaryMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AppSummaryValidationError ¶ added in v0.10.0
type AppSummaryValidationError struct {
// contains filtered or unexported fields
}
AppSummaryValidationError is the validation error returned by AppSummary.Validate if the designated constraints aren't met.
func (AppSummaryValidationError) Cause ¶ added in v0.10.0
func (e AppSummaryValidationError) Cause() error
Cause function returns cause value.
func (AppSummaryValidationError) Error ¶ added in v0.10.0
func (e AppSummaryValidationError) Error() string
Error satisfies the builtin error interface
func (AppSummaryValidationError) ErrorName ¶ added in v0.10.0
func (e AppSummaryValidationError) ErrorName() string
ErrorName returns error name.
func (AppSummaryValidationError) Field ¶ added in v0.10.0
func (e AppSummaryValidationError) Field() string
Field function returns field value.
func (AppSummaryValidationError) Key ¶ added in v0.10.0
func (e AppSummaryValidationError) Key() bool
Key function returns key value.
func (AppSummaryValidationError) Reason ¶ added in v0.10.0
func (e AppSummaryValidationError) Reason() string
Reason function returns reason value.
type Application ¶
type Application struct { // AppId with the application identifier. AppId string `protobuf:"bytes,1,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"` // Name of the app. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // VisualId contains a hash unique to the instance for representation purposes. VisualId string `protobuf:"bytes,3,opt,name=visual_id,json=visualId,proto3" json:"visual_id,omitempty"` // Status with the name of the overall status of the application. Status AppStatus `protobuf:"varint,4,opt,name=status,proto3,enum=playground_apps.AppStatus" json:"status,omitempty"` // Description of the application. Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` // Version of the application Version string `protobuf:"bytes,6,opt,name=version,proto3" json:"version,omitempty"` // ComponentStatus with a map of the associated component status. ComponentStatus map[string]ComponentStatus `` /* 232-byte string literal not displayed */ // Instance of the linked application configuration (v2 or v3 instance) // // Types that are assignable to Instance: // *Application_V3 Instance isApplication_Instance `protobuf_oneof:"instance"` // StatusName with the string representation of the status enum. StatusName string `protobuf:"bytes,10,opt,name=status_name,json=statusName,proto3" json:"status_name,omitempty"` // ComponentStatusName with the string representation of the component status. ComponentStatusName map[string]string `` /* 209-byte string literal not displayed */ // ComponentIngresses with a map associating component name with the list of associated ingresses. ComponentIngresses map[string]*IngressList `` /* 204-byte string literal not displayed */ // ErrorMessages with all the error messages in case of application status is error ErrorMessages []string `protobuf:"bytes,13,rep,name=error_messages,json=errorMessages,proto3" json:"error_messages,omitempty"` // InstanceYAML with the YAML representation of the referenced instance. InstanceYaml string `protobuf:"bytes,14,opt,name=instance_yaml,json=instanceYaml,proto3" json:"instance_yaml,omitempty"` // InstanceJSON with the JSON representation of the referenced instance. InstanceJson string `protobuf:"bytes,15,opt,name=instance_json,json=instanceJson,proto3" json:"instance_json,omitempty"` // ComponentSummary with a components and their replicas ComponentSummary []*ComponentSummary `protobuf:"bytes,16,rep,name=component_summary,json=componentSummary,proto3" json:"component_summary,omitempty"` // contains filtered or unexported fields }
Application top level entity.
func (*Application) Descriptor
deprecated
func (*Application) Descriptor() ([]byte, []int)
Deprecated: Use Application.ProtoReflect.Descriptor instead.
func (*Application) GetAppId ¶
func (x *Application) GetAppId() string
func (*Application) GetComponentIngresses ¶ added in v0.5.0
func (x *Application) GetComponentIngresses() map[string]*IngressList
func (*Application) GetComponentStatus ¶ added in v0.2.0
func (x *Application) GetComponentStatus() map[string]ComponentStatus
func (*Application) GetComponentStatusName ¶ added in v0.3.0
func (x *Application) GetComponentStatusName() map[string]string
func (*Application) GetComponentSummary ¶ added in v0.40.0
func (x *Application) GetComponentSummary() []*ComponentSummary
func (*Application) GetDescription ¶
func (x *Application) GetDescription() string
func (*Application) GetErrorMessages ¶ added in v0.6.0
func (x *Application) GetErrorMessages() []string
func (*Application) GetInstance ¶ added in v0.2.0
func (m *Application) GetInstance() isApplication_Instance
func (*Application) GetInstanceJson ¶ added in v0.17.0
func (x *Application) GetInstanceJson() string
func (*Application) GetInstanceYaml ¶ added in v0.17.0
func (x *Application) GetInstanceYaml() string
func (*Application) GetName ¶
func (x *Application) GetName() string
func (*Application) GetStatus ¶ added in v0.2.0
func (x *Application) GetStatus() AppStatus
func (*Application) GetStatusName ¶
func (x *Application) GetStatusName() string
func (*Application) GetV3 ¶ added in v0.16.0
func (x *Application) GetV3() *grpc_playground_oam3_go.Application
func (*Application) GetVersion ¶ added in v0.4.0
func (x *Application) GetVersion() string
func (*Application) GetVisualId ¶
func (x *Application) GetVisualId() string
func (*Application) ProtoMessage ¶
func (*Application) ProtoMessage()
func (*Application) ProtoReflect ¶
func (x *Application) ProtoReflect() protoreflect.Message
func (*Application) Reset ¶
func (x *Application) Reset()
func (*Application) String ¶
func (x *Application) String() string
func (*Application) Validate ¶
func (m *Application) Validate() error
Validate checks the field values on Application with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Application) ValidateAll ¶ added in v0.8.0
func (m *Application) ValidateAll() error
ValidateAll checks the field values on Application with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ApplicationMultiError, or nil if none found.
type ApplicationFromRepoConfiguration ¶ added in v0.27.0
type ApplicationFromRepoConfiguration struct { RepoType RepoType `protobuf:"varint,1,opt,name=repo_type,json=repoType,proto3,enum=playground_apps.RepoType" json:"repo_type,omitempty"` // RepoConfig with the repo configuration // RepoUrl with the url where the GitHubRepo is RepoUrl string `protobuf:"bytes,2,opt,name=repo_url,json=repoUrl,proto3" json:"repo_url,omitempty"` // RepoUsername with the repository username. Required if the repository is private RepoUsername string `protobuf:"bytes,3,opt,name=repo_username,json=repoUsername,proto3" json:"repo_username,omitempty"` // RepoPat with a personal access token. Required if the repository is public RepoPat string `protobuf:"bytes,4,opt,name=repo_pat,json=repoPat,proto3" json:"repo_pat,omitempty"` // ApplicationName with the name of the application ApplicationName string `protobuf:"bytes,5,opt,name=application_name,json=applicationName,proto3" json:"application_name,omitempty"` // MainPath with the path of the main file MainPath string `protobuf:"bytes,6,opt,name=main_path,json=mainPath,proto3" json:"main_path,omitempty"` // Language with the application language Language AppLanguage `protobuf:"varint,7,opt,name=language,proto3,enum=playground_apps.AppLanguage" json:"language,omitempty"` // Envs with the application environment variables Envs map[string]string `` /* 149-byte string literal not displayed */ // Ports with the ports to be exposed Ports []int32 `protobuf:"varint,9,rep,packed,name=ports,proto3" json:"ports,omitempty"` // IngressPorts with the port where an ingress is required IngressPorts []int32 `protobuf:"varint,10,rep,packed,name=ingress_ports,json=ingressPorts,proto3" json:"ingress_ports,omitempty"` // ExecArgs with a array with arguments required to run the application ExecArgs []string `protobuf:"bytes,11,rep,name=exec_args,json=execArgs,proto3" json:"exec_args,omitempty"` // contains filtered or unexported fields }
func (*ApplicationFromRepoConfiguration) Descriptor
deprecated
added in
v0.27.0
func (*ApplicationFromRepoConfiguration) Descriptor() ([]byte, []int)
Deprecated: Use ApplicationFromRepoConfiguration.ProtoReflect.Descriptor instead.
func (*ApplicationFromRepoConfiguration) GetApplicationName ¶ added in v0.27.0
func (x *ApplicationFromRepoConfiguration) GetApplicationName() string
func (*ApplicationFromRepoConfiguration) GetEnvs ¶ added in v0.27.0
func (x *ApplicationFromRepoConfiguration) GetEnvs() map[string]string
func (*ApplicationFromRepoConfiguration) GetExecArgs ¶ added in v0.29.0
func (x *ApplicationFromRepoConfiguration) GetExecArgs() []string
func (*ApplicationFromRepoConfiguration) GetIngressPorts ¶ added in v0.27.0
func (x *ApplicationFromRepoConfiguration) GetIngressPorts() []int32
func (*ApplicationFromRepoConfiguration) GetLanguage ¶ added in v0.27.0
func (x *ApplicationFromRepoConfiguration) GetLanguage() AppLanguage
func (*ApplicationFromRepoConfiguration) GetMainPath ¶ added in v0.27.0
func (x *ApplicationFromRepoConfiguration) GetMainPath() string
func (*ApplicationFromRepoConfiguration) GetPorts ¶ added in v0.27.0
func (x *ApplicationFromRepoConfiguration) GetPorts() []int32
func (*ApplicationFromRepoConfiguration) GetRepoPat ¶ added in v0.27.0
func (x *ApplicationFromRepoConfiguration) GetRepoPat() string
func (*ApplicationFromRepoConfiguration) GetRepoType ¶ added in v0.27.0
func (x *ApplicationFromRepoConfiguration) GetRepoType() RepoType
func (*ApplicationFromRepoConfiguration) GetRepoUrl ¶ added in v0.27.0
func (x *ApplicationFromRepoConfiguration) GetRepoUrl() string
func (*ApplicationFromRepoConfiguration) GetRepoUsername ¶ added in v0.27.0
func (x *ApplicationFromRepoConfiguration) GetRepoUsername() string
func (*ApplicationFromRepoConfiguration) ProtoMessage ¶ added in v0.27.0
func (*ApplicationFromRepoConfiguration) ProtoMessage()
func (*ApplicationFromRepoConfiguration) ProtoReflect ¶ added in v0.27.0
func (x *ApplicationFromRepoConfiguration) ProtoReflect() protoreflect.Message
func (*ApplicationFromRepoConfiguration) Reset ¶ added in v0.27.0
func (x *ApplicationFromRepoConfiguration) Reset()
func (*ApplicationFromRepoConfiguration) String ¶ added in v0.27.0
func (x *ApplicationFromRepoConfiguration) String() string
func (*ApplicationFromRepoConfiguration) Validate ¶ added in v0.27.0
func (m *ApplicationFromRepoConfiguration) Validate() error
Validate checks the field values on ApplicationFromRepoConfiguration with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ApplicationFromRepoConfiguration) ValidateAll ¶ added in v0.27.0
func (m *ApplicationFromRepoConfiguration) ValidateAll() error
ValidateAll checks the field values on ApplicationFromRepoConfiguration with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ApplicationFromRepoConfigurationMultiError, or nil if none found.
type ApplicationFromRepoConfigurationMultiError ¶ added in v0.27.0
type ApplicationFromRepoConfigurationMultiError []error
ApplicationFromRepoConfigurationMultiError is an error wrapping multiple validation errors returned by ApplicationFromRepoConfiguration.ValidateAll() if the designated constraints aren't met.
func (ApplicationFromRepoConfigurationMultiError) AllErrors ¶ added in v0.27.0
func (m ApplicationFromRepoConfigurationMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ApplicationFromRepoConfigurationMultiError) Error ¶ added in v0.27.0
func (m ApplicationFromRepoConfigurationMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ApplicationFromRepoConfigurationValidationError ¶ added in v0.27.0
type ApplicationFromRepoConfigurationValidationError struct {
// contains filtered or unexported fields
}
ApplicationFromRepoConfigurationValidationError is the validation error returned by ApplicationFromRepoConfiguration.Validate if the designated constraints aren't met.
func (ApplicationFromRepoConfigurationValidationError) Cause ¶ added in v0.27.0
func (e ApplicationFromRepoConfigurationValidationError) Cause() error
Cause function returns cause value.
func (ApplicationFromRepoConfigurationValidationError) Error ¶ added in v0.27.0
func (e ApplicationFromRepoConfigurationValidationError) Error() string
Error satisfies the builtin error interface
func (ApplicationFromRepoConfigurationValidationError) ErrorName ¶ added in v0.27.0
func (e ApplicationFromRepoConfigurationValidationError) ErrorName() string
ErrorName returns error name.
func (ApplicationFromRepoConfigurationValidationError) Field ¶ added in v0.27.0
func (e ApplicationFromRepoConfigurationValidationError) Field() string
Field function returns field value.
func (ApplicationFromRepoConfigurationValidationError) Key ¶ added in v0.27.0
func (e ApplicationFromRepoConfigurationValidationError) Key() bool
Key function returns key value.
func (ApplicationFromRepoConfigurationValidationError) Reason ¶ added in v0.27.0
func (e ApplicationFromRepoConfigurationValidationError) Reason() string
Reason function returns reason value.
type ApplicationInstanceConfiguration ¶ added in v0.21.0
type ApplicationInstanceConfiguration struct { // ApplicationName with the new name for the application instance. If empty, the default name will be used. ApplicationName string `protobuf:"bytes,1,opt,name=application_name,json=applicationName,proto3" json:"application_name,omitempty"` // SpecComponentsRaw with the component specification in yaml format (parameters, traits, etc.). This // value will overwrite the spec.components one of the application if not empty. The default specification // will be used otherwise. SpecComponentsRaw string `protobuf:"bytes,2,opt,name=spec_components_raw,json=specComponentsRaw,proto3" json:"spec_components_raw,omitempty"` // contains filtered or unexported fields }
ApplicationInstanceConfiguration with the configuration with which the application will be deployed
func (*ApplicationInstanceConfiguration) Descriptor
deprecated
added in
v0.21.0
func (*ApplicationInstanceConfiguration) Descriptor() ([]byte, []int)
Deprecated: Use ApplicationInstanceConfiguration.ProtoReflect.Descriptor instead.
func (*ApplicationInstanceConfiguration) GetApplicationName ¶ added in v0.23.0
func (x *ApplicationInstanceConfiguration) GetApplicationName() string
func (*ApplicationInstanceConfiguration) GetSpecComponentsRaw ¶ added in v0.21.0
func (x *ApplicationInstanceConfiguration) GetSpecComponentsRaw() string
func (*ApplicationInstanceConfiguration) ProtoMessage ¶ added in v0.21.0
func (*ApplicationInstanceConfiguration) ProtoMessage()
func (*ApplicationInstanceConfiguration) ProtoReflect ¶ added in v0.21.0
func (x *ApplicationInstanceConfiguration) ProtoReflect() protoreflect.Message
func (*ApplicationInstanceConfiguration) Reset ¶ added in v0.21.0
func (x *ApplicationInstanceConfiguration) Reset()
func (*ApplicationInstanceConfiguration) String ¶ added in v0.21.0
func (x *ApplicationInstanceConfiguration) String() string
func (*ApplicationInstanceConfiguration) Validate ¶ added in v0.21.0
func (m *ApplicationInstanceConfiguration) Validate() error
Validate checks the field values on ApplicationInstanceConfiguration with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ApplicationInstanceConfiguration) ValidateAll ¶ added in v0.21.0
func (m *ApplicationInstanceConfiguration) ValidateAll() error
ValidateAll checks the field values on ApplicationInstanceConfiguration with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ApplicationInstanceConfigurationMultiError, or nil if none found.
type ApplicationInstanceConfigurationMultiError ¶ added in v0.21.0
type ApplicationInstanceConfigurationMultiError []error
ApplicationInstanceConfigurationMultiError is an error wrapping multiple validation errors returned by ApplicationInstanceConfiguration.ValidateAll() if the designated constraints aren't met.
func (ApplicationInstanceConfigurationMultiError) AllErrors ¶ added in v0.21.0
func (m ApplicationInstanceConfigurationMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ApplicationInstanceConfigurationMultiError) Error ¶ added in v0.21.0
func (m ApplicationInstanceConfigurationMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ApplicationInstanceConfigurationValidationError ¶ added in v0.21.0
type ApplicationInstanceConfigurationValidationError struct {
// contains filtered or unexported fields
}
ApplicationInstanceConfigurationValidationError is the validation error returned by ApplicationInstanceConfiguration.Validate if the designated constraints aren't met.
func (ApplicationInstanceConfigurationValidationError) Cause ¶ added in v0.21.0
func (e ApplicationInstanceConfigurationValidationError) Cause() error
Cause function returns cause value.
func (ApplicationInstanceConfigurationValidationError) Error ¶ added in v0.21.0
func (e ApplicationInstanceConfigurationValidationError) Error() string
Error satisfies the builtin error interface
func (ApplicationInstanceConfigurationValidationError) ErrorName ¶ added in v0.21.0
func (e ApplicationInstanceConfigurationValidationError) ErrorName() string
ErrorName returns error name.
func (ApplicationInstanceConfigurationValidationError) Field ¶ added in v0.21.0
func (e ApplicationInstanceConfigurationValidationError) Field() string
Field function returns field value.
func (ApplicationInstanceConfigurationValidationError) Key ¶ added in v0.21.0
func (e ApplicationInstanceConfigurationValidationError) Key() bool
Key function returns key value.
func (ApplicationInstanceConfigurationValidationError) Reason ¶ added in v0.21.0
func (e ApplicationInstanceConfigurationValidationError) Reason() string
Reason function returns reason value.
type ApplicationLogs ¶ added in v0.25.0
type ApplicationLogs struct { // ApplicationName with the name of the application ApplicationName string `protobuf:"bytes,1,opt,name=application_name,json=applicationName,proto3" json:"application_name,omitempty"` // Timestamp of the last entry in the log LastEntryNano int64 `protobuf:"varint,2,opt,name=last_entry_nano,json=lastEntryNano,proto3" json:"last_entry_nano,omitempty"` // Logs with the application logs Logs []*LogEntry `protobuf:"bytes,3,rep,name=logs,proto3" json:"logs,omitempty"` // contains filtered or unexported fields }
ApplicationLogs
func (*ApplicationLogs) Descriptor
deprecated
added in
v0.25.0
func (*ApplicationLogs) Descriptor() ([]byte, []int)
Deprecated: Use ApplicationLogs.ProtoReflect.Descriptor instead.
func (*ApplicationLogs) GetApplicationName ¶ added in v0.25.0
func (x *ApplicationLogs) GetApplicationName() string
func (*ApplicationLogs) GetLastEntryNano ¶ added in v0.25.0
func (x *ApplicationLogs) GetLastEntryNano() int64
func (*ApplicationLogs) GetLogs ¶ added in v0.26.0
func (x *ApplicationLogs) GetLogs() []*LogEntry
func (*ApplicationLogs) ProtoMessage ¶ added in v0.25.0
func (*ApplicationLogs) ProtoMessage()
func (*ApplicationLogs) ProtoReflect ¶ added in v0.25.0
func (x *ApplicationLogs) ProtoReflect() protoreflect.Message
func (*ApplicationLogs) Reset ¶ added in v0.25.0
func (x *ApplicationLogs) Reset()
func (*ApplicationLogs) String ¶ added in v0.25.0
func (x *ApplicationLogs) String() string
func (*ApplicationLogs) Validate ¶ added in v0.25.0
func (m *ApplicationLogs) Validate() error
Validate checks the field values on ApplicationLogs with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ApplicationLogs) ValidateAll ¶ added in v0.25.0
func (m *ApplicationLogs) ValidateAll() error
ValidateAll checks the field values on ApplicationLogs with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ApplicationLogsMultiError, or nil if none found.
type ApplicationLogsMultiError ¶ added in v0.25.0
type ApplicationLogsMultiError []error
ApplicationLogsMultiError is an error wrapping multiple validation errors returned by ApplicationLogs.ValidateAll() if the designated constraints aren't met.
func (ApplicationLogsMultiError) AllErrors ¶ added in v0.25.0
func (m ApplicationLogsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ApplicationLogsMultiError) Error ¶ added in v0.25.0
func (m ApplicationLogsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ApplicationLogsValidationError ¶ added in v0.25.0
type ApplicationLogsValidationError struct {
// contains filtered or unexported fields
}
ApplicationLogsValidationError is the validation error returned by ApplicationLogs.Validate if the designated constraints aren't met.
func (ApplicationLogsValidationError) Cause ¶ added in v0.25.0
func (e ApplicationLogsValidationError) Cause() error
Cause function returns cause value.
func (ApplicationLogsValidationError) Error ¶ added in v0.25.0
func (e ApplicationLogsValidationError) Error() string
Error satisfies the builtin error interface
func (ApplicationLogsValidationError) ErrorName ¶ added in v0.25.0
func (e ApplicationLogsValidationError) ErrorName() string
ErrorName returns error name.
func (ApplicationLogsValidationError) Field ¶ added in v0.25.0
func (e ApplicationLogsValidationError) Field() string
Field function returns field value.
func (ApplicationLogsValidationError) Key ¶ added in v0.25.0
func (e ApplicationLogsValidationError) Key() bool
Key function returns key value.
func (ApplicationLogsValidationError) Reason ¶ added in v0.25.0
func (e ApplicationLogsValidationError) Reason() string
Reason function returns reason value.
type ApplicationMultiError ¶ added in v0.8.0
type ApplicationMultiError []error
ApplicationMultiError is an error wrapping multiple validation errors returned by Application.ValidateAll() if the designated constraints aren't met.
func (ApplicationMultiError) AllErrors ¶ added in v0.8.0
func (m ApplicationMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ApplicationMultiError) Error ¶ added in v0.8.0
func (m ApplicationMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ApplicationValidationError ¶
type ApplicationValidationError struct {
// contains filtered or unexported fields
}
ApplicationValidationError is the validation error returned by Application.Validate if the designated constraints aren't met.
func (ApplicationValidationError) Cause ¶
func (e ApplicationValidationError) Cause() error
Cause function returns cause value.
func (ApplicationValidationError) Error ¶
func (e ApplicationValidationError) Error() string
Error satisfies the builtin error interface
func (ApplicationValidationError) ErrorName ¶
func (e ApplicationValidationError) ErrorName() string
ErrorName returns error name.
func (ApplicationValidationError) Field ¶
func (e ApplicationValidationError) Field() string
Field function returns field value.
func (ApplicationValidationError) Key ¶
func (e ApplicationValidationError) Key() bool
Key function returns key value.
func (ApplicationValidationError) Reason ¶
func (e ApplicationValidationError) Reason() string
Reason function returns reason value.
type Application_V3 ¶ added in v0.16.0
type Application_V3 struct { // V3 with an OAM3 application V3 *grpc_playground_oam3_go.Application `protobuf:"bytes,9,opt,name=v3,proto3,oneof"` }
type AppsClient ¶
type AppsClient interface { // Deploy an application. Deploy(ctx context.Context, in *DeployApplicationRequest, opts ...grpc.CallOption) (*DeployApplicationResponse, error) // Remove an application instance. Remove(ctx context.Context, in *RemoveApplicationRequest, opts ...grpc.CallOption) (*grpc_playground_common_go.OpResponse, error) // SummaryList returns a subset of application summaries found in the user cluster. SummaryList(ctx context.Context, in *grpc_playground_environments_go.EnvironmentSelector, opts ...grpc.CallOption) (*AppSummaryListResponse, error) // Get returns an application Info(ctx context.Context, in *AppInfoRequest, opts ...grpc.CallOption) (*Application, error) // Logs returns the application logs (filtering by component if required) Logs(ctx context.Context, in *LogRequest, opts ...grpc.CallOption) (*ApplicationLogs, error) // Scale scales the application components Scale(ctx context.Context, in *ScaleRequest, opts ...grpc.CallOption) (*grpc_playground_common_go.OpResponse, error) // StopApplicationComponents stops application components adding the stop trait StopApplicationComponents(ctx context.Context, in *StopApplicationComponentsRequest, opts ...grpc.CallOption) (*grpc_playground_common_go.OpResponse, error) // ResumeApplicationComponents resumes application components ResumeApplicationComponents(ctx context.Context, in *ResumeApplicationComponentsRequest, opts ...grpc.CallOption) (*grpc_playground_common_go.OpResponse, error) // ValidateRepoAccess to validate if a repository is accessible with the credentials received ValidateRepoAccess(ctx context.Context, in *ValidateRepoAccessRequest, opts ...grpc.CallOption) (*grpc_playground_common_go.OpResponse, error) // Update an application. Update(ctx context.Context, in *UpdateApplicationRequest, opts ...grpc.CallOption) (*grpc_playground_common_go.OpResponse, error) }
AppsClient is the client API for Apps service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewAppsClient ¶
func NewAppsClient(cc grpc.ClientConnInterface) AppsClient
type AppsServer ¶
type AppsServer interface { // Deploy an application. Deploy(context.Context, *DeployApplicationRequest) (*DeployApplicationResponse, error) // Remove an application instance. Remove(context.Context, *RemoveApplicationRequest) (*grpc_playground_common_go.OpResponse, error) // SummaryList returns a subset of application summaries found in the user cluster. SummaryList(context.Context, *grpc_playground_environments_go.EnvironmentSelector) (*AppSummaryListResponse, error) // Get returns an application Info(context.Context, *AppInfoRequest) (*Application, error) // Logs returns the application logs (filtering by component if required) Logs(context.Context, *LogRequest) (*ApplicationLogs, error) // Scale scales the application components Scale(context.Context, *ScaleRequest) (*grpc_playground_common_go.OpResponse, error) // StopApplicationComponents stops application components adding the stop trait StopApplicationComponents(context.Context, *StopApplicationComponentsRequest) (*grpc_playground_common_go.OpResponse, error) // ResumeApplicationComponents resumes application components ResumeApplicationComponents(context.Context, *ResumeApplicationComponentsRequest) (*grpc_playground_common_go.OpResponse, error) // ValidateRepoAccess to validate if a repository is accessible with the credentials received ValidateRepoAccess(context.Context, *ValidateRepoAccessRequest) (*grpc_playground_common_go.OpResponse, error) // Update an application. Update(context.Context, *UpdateApplicationRequest) (*grpc_playground_common_go.OpResponse, error) }
AppsServer is the server API for Apps service.
type ComponentReplicas ¶ added in v0.36.0
type ComponentReplicas struct { // ComponentName with the name of the component to replicate ComponentName string `protobuf:"bytes,1,opt,name=component_name,json=componentName,proto3" json:"component_name,omitempty"` // Replicas with the number of replicas to scale Replicas int32 `protobuf:"varint,2,opt,name=replicas,proto3" json:"replicas,omitempty"` // contains filtered or unexported fields }
ComponentReplicas with the number of replicas of a component
func (*ComponentReplicas) Descriptor
deprecated
added in
v0.36.0
func (*ComponentReplicas) Descriptor() ([]byte, []int)
Deprecated: Use ComponentReplicas.ProtoReflect.Descriptor instead.
func (*ComponentReplicas) GetComponentName ¶ added in v0.36.0
func (x *ComponentReplicas) GetComponentName() string
func (*ComponentReplicas) GetReplicas ¶ added in v0.36.0
func (x *ComponentReplicas) GetReplicas() int32
func (*ComponentReplicas) ProtoMessage ¶ added in v0.36.0
func (*ComponentReplicas) ProtoMessage()
func (*ComponentReplicas) ProtoReflect ¶ added in v0.36.0
func (x *ComponentReplicas) ProtoReflect() protoreflect.Message
func (*ComponentReplicas) Reset ¶ added in v0.36.0
func (x *ComponentReplicas) Reset()
func (*ComponentReplicas) String ¶ added in v0.36.0
func (x *ComponentReplicas) String() string
func (*ComponentReplicas) Validate ¶ added in v0.36.0
func (m *ComponentReplicas) Validate() error
Validate checks the field values on ComponentReplicas with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ComponentReplicas) ValidateAll ¶ added in v0.36.0
func (m *ComponentReplicas) ValidateAll() error
ValidateAll checks the field values on ComponentReplicas with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ComponentReplicasMultiError, or nil if none found.
type ComponentReplicasMultiError ¶ added in v0.36.0
type ComponentReplicasMultiError []error
ComponentReplicasMultiError is an error wrapping multiple validation errors returned by ComponentReplicas.ValidateAll() if the designated constraints aren't met.
func (ComponentReplicasMultiError) AllErrors ¶ added in v0.36.0
func (m ComponentReplicasMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ComponentReplicasMultiError) Error ¶ added in v0.36.0
func (m ComponentReplicasMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ComponentReplicasValidationError ¶ added in v0.36.0
type ComponentReplicasValidationError struct {
// contains filtered or unexported fields
}
ComponentReplicasValidationError is the validation error returned by ComponentReplicas.Validate if the designated constraints aren't met.
func (ComponentReplicasValidationError) Cause ¶ added in v0.36.0
func (e ComponentReplicasValidationError) Cause() error
Cause function returns cause value.
func (ComponentReplicasValidationError) Error ¶ added in v0.36.0
func (e ComponentReplicasValidationError) Error() string
Error satisfies the builtin error interface
func (ComponentReplicasValidationError) ErrorName ¶ added in v0.36.0
func (e ComponentReplicasValidationError) ErrorName() string
ErrorName returns error name.
func (ComponentReplicasValidationError) Field ¶ added in v0.36.0
func (e ComponentReplicasValidationError) Field() string
Field function returns field value.
func (ComponentReplicasValidationError) Key ¶ added in v0.36.0
func (e ComponentReplicasValidationError) Key() bool
Key function returns key value.
func (ComponentReplicasValidationError) Reason ¶ added in v0.36.0
func (e ComponentReplicasValidationError) Reason() string
Reason function returns reason value.
type ComponentStatus ¶ added in v0.2.0
type ComponentStatus int32
ComponentStatus defines the status of a component associated with an application configuration.
const ( // Unknown with an undetermined status ComponentStatus_UNKNOWN ComponentStatus = 0 // OK signals that all the replicas of the component are running. Notice that the number of replicas may be // specified in a trait. ComponentStatus_OK ComponentStatus = 1 // WARNING signals that some of the replicas of the component are running but some remain. This could mean that either // the replicas are being launched, or an error prevents the creation of the required replicas. ComponentStatus_WARNING ComponentStatus = 2 // RUNNING signals that all the replicas of the component are running. Notice that the number of replicas may be // specified in a trait. ComponentStatus_RUNNING ComponentStatus = 3 // TERMINATED All the task in a job are terminated ComponentStatus_TERMINATED ComponentStatus = 4 // SCHEDULED a cronJob component is waiting to execute the jobs ComponentStatus_SCHEDULED ComponentStatus = 5 // ERROR signals that there has been an error on a component. ComponentStatus_ERROR ComponentStatus = 6 // STOPPED when the component is stopped ComponentStatus_STOPPED ComponentStatus = 7 )
func (ComponentStatus) Descriptor ¶ added in v0.2.0
func (ComponentStatus) Descriptor() protoreflect.EnumDescriptor
func (ComponentStatus) Enum ¶ added in v0.2.0
func (x ComponentStatus) Enum() *ComponentStatus
func (ComponentStatus) EnumDescriptor
deprecated
added in
v0.2.0
func (ComponentStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use ComponentStatus.Descriptor instead.
func (ComponentStatus) Number ¶ added in v0.2.0
func (x ComponentStatus) Number() protoreflect.EnumNumber
func (ComponentStatus) String ¶ added in v0.2.0
func (x ComponentStatus) String() string
func (ComponentStatus) Type ¶ added in v0.2.0
func (ComponentStatus) Type() protoreflect.EnumType
type ComponentSummary ¶ added in v0.40.0
type ComponentSummary struct { // ComponentName with the name of the components ComponentName string `protobuf:"bytes,1,opt,name=component_name,json=componentName,proto3" json:"component_name,omitempty"` // Replicas with the number of the replicas (-1 if the replicate operation is not available for the component) Replicas int32 `protobuf:"varint,2,opt,name=replicas,proto3" json:"replicas,omitempty"` // SupportsOpScale with a flag to indicate if the scale operation is available for the component SupportsOpScale bool `protobuf:"varint,3,opt,name=supports_op_scale,json=supportsOpScale,proto3" json:"supports_op_scale,omitempty"` // SupportsOpStop with a flag to indicate if the stop operation is available for the component SupportsOpStop bool `protobuf:"varint,4,opt,name=supports_op_stop,json=supportsOpStop,proto3" json:"supports_op_stop,omitempty"` // contains filtered or unexported fields }
ComponentSummary with the information a component for now only replicas and AvailableStop info TODO: Add Status, ingress and images
func (*ComponentSummary) Descriptor
deprecated
added in
v0.40.0
func (*ComponentSummary) Descriptor() ([]byte, []int)
Deprecated: Use ComponentSummary.ProtoReflect.Descriptor instead.
func (*ComponentSummary) GetComponentName ¶ added in v0.40.0
func (x *ComponentSummary) GetComponentName() string
func (*ComponentSummary) GetReplicas ¶ added in v0.40.0
func (x *ComponentSummary) GetReplicas() int32
func (*ComponentSummary) GetSupportsOpScale ¶ added in v0.42.0
func (x *ComponentSummary) GetSupportsOpScale() bool
func (*ComponentSummary) GetSupportsOpStop ¶ added in v0.40.0
func (x *ComponentSummary) GetSupportsOpStop() bool
func (*ComponentSummary) ProtoMessage ¶ added in v0.40.0
func (*ComponentSummary) ProtoMessage()
func (*ComponentSummary) ProtoReflect ¶ added in v0.40.0
func (x *ComponentSummary) ProtoReflect() protoreflect.Message
func (*ComponentSummary) Reset ¶ added in v0.40.0
func (x *ComponentSummary) Reset()
func (*ComponentSummary) String ¶ added in v0.40.0
func (x *ComponentSummary) String() string
func (*ComponentSummary) Validate ¶ added in v0.40.0
func (m *ComponentSummary) Validate() error
Validate checks the field values on ComponentSummary with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ComponentSummary) ValidateAll ¶ added in v0.40.0
func (m *ComponentSummary) ValidateAll() error
ValidateAll checks the field values on ComponentSummary with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ComponentSummaryMultiError, or nil if none found.
type ComponentSummaryMultiError ¶ added in v0.40.0
type ComponentSummaryMultiError []error
ComponentSummaryMultiError is an error wrapping multiple validation errors returned by ComponentSummary.ValidateAll() if the designated constraints aren't met.
func (ComponentSummaryMultiError) AllErrors ¶ added in v0.40.0
func (m ComponentSummaryMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ComponentSummaryMultiError) Error ¶ added in v0.40.0
func (m ComponentSummaryMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ComponentSummaryValidationError ¶ added in v0.40.0
type ComponentSummaryValidationError struct {
// contains filtered or unexported fields
}
ComponentSummaryValidationError is the validation error returned by ComponentSummary.Validate if the designated constraints aren't met.
func (ComponentSummaryValidationError) Cause ¶ added in v0.40.0
func (e ComponentSummaryValidationError) Cause() error
Cause function returns cause value.
func (ComponentSummaryValidationError) Error ¶ added in v0.40.0
func (e ComponentSummaryValidationError) Error() string
Error satisfies the builtin error interface
func (ComponentSummaryValidationError) ErrorName ¶ added in v0.40.0
func (e ComponentSummaryValidationError) ErrorName() string
ErrorName returns error name.
func (ComponentSummaryValidationError) Field ¶ added in v0.40.0
func (e ComponentSummaryValidationError) Field() string
Field function returns field value.
func (ComponentSummaryValidationError) Key ¶ added in v0.40.0
func (e ComponentSummaryValidationError) Key() bool
Key function returns key value.
func (ComponentSummaryValidationError) Reason ¶ added in v0.40.0
func (e ComponentSummaryValidationError) Reason() string
Reason function returns reason value.
type DeployApplicationRequest ¶ added in v0.11.0
type DeployApplicationRequest struct { // DeployFrom to indicate the deploy source DeployFrom DeploySource `` /* 126-byte string literal not displayed */ // ApplicationDataType with the type of the data received in application_data field ApplicationDataType AppDataType `` /* 154-byte string literal not displayed */ // ApplicationData with the compressed application descriptors. The data must // be compressed as tgz. ApplicationData []byte `protobuf:"bytes,3,opt,name=application_data,json=applicationData,proto3" json:"application_data,omitempty"` // TargetEnvironmentQualifiedName specifying the target environment in the user // account as account_name/env_name. TargetEnvironmentQualifiedName string `` /* 155-byte string literal not displayed */ // InstanceConfiguration with the configuration which the application will be deployed // indexed by the original application name. This approach enables the catalog to support // application packages that deploy more than one application. InstanceConfiguration map[string]*ApplicationInstanceConfiguration `` /* 212-byte string literal not displayed */ // RepoConfig with the configuration required to deploy an application from Repository RepoConf *ApplicationFromRepoConfiguration `protobuf:"bytes,6,opt,name=repo_conf,json=repoConf,proto3" json:"repo_conf,omitempty"` // contains filtered or unexported fields }
DeployApplicationRequest with the information required to send a deploy request.
func (*DeployApplicationRequest) Descriptor
deprecated
added in
v0.11.0
func (*DeployApplicationRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeployApplicationRequest.ProtoReflect.Descriptor instead.
func (*DeployApplicationRequest) GetApplicationData ¶ added in v0.11.0
func (x *DeployApplicationRequest) GetApplicationData() []byte
func (*DeployApplicationRequest) GetApplicationDataType ¶ added in v0.27.0
func (x *DeployApplicationRequest) GetApplicationDataType() AppDataType
func (*DeployApplicationRequest) GetDeployFrom ¶ added in v0.27.0
func (x *DeployApplicationRequest) GetDeployFrom() DeploySource
func (*DeployApplicationRequest) GetInstanceConfiguration ¶ added in v0.21.0
func (x *DeployApplicationRequest) GetInstanceConfiguration() map[string]*ApplicationInstanceConfiguration
func (*DeployApplicationRequest) GetRepoConf ¶ added in v0.27.0
func (x *DeployApplicationRequest) GetRepoConf() *ApplicationFromRepoConfiguration
func (*DeployApplicationRequest) GetTargetEnvironmentQualifiedName ¶ added in v0.11.0
func (x *DeployApplicationRequest) GetTargetEnvironmentQualifiedName() string
func (*DeployApplicationRequest) ProtoMessage ¶ added in v0.11.0
func (*DeployApplicationRequest) ProtoMessage()
func (*DeployApplicationRequest) ProtoReflect ¶ added in v0.11.0
func (x *DeployApplicationRequest) ProtoReflect() protoreflect.Message
func (*DeployApplicationRequest) Reset ¶ added in v0.11.0
func (x *DeployApplicationRequest) Reset()
func (*DeployApplicationRequest) String ¶ added in v0.11.0
func (x *DeployApplicationRequest) String() string
func (*DeployApplicationRequest) Validate ¶ added in v0.11.0
func (m *DeployApplicationRequest) Validate() error
Validate checks the field values on DeployApplicationRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DeployApplicationRequest) ValidateAll ¶ added in v0.11.0
func (m *DeployApplicationRequest) ValidateAll() error
ValidateAll checks the field values on DeployApplicationRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeployApplicationRequestMultiError, or nil if none found.
type DeployApplicationRequestMultiError ¶ added in v0.11.0
type DeployApplicationRequestMultiError []error
DeployApplicationRequestMultiError is an error wrapping multiple validation errors returned by DeployApplicationRequest.ValidateAll() if the designated constraints aren't met.
func (DeployApplicationRequestMultiError) AllErrors ¶ added in v0.11.0
func (m DeployApplicationRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeployApplicationRequestMultiError) Error ¶ added in v0.11.0
func (m DeployApplicationRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeployApplicationRequestValidationError ¶ added in v0.11.0
type DeployApplicationRequestValidationError struct {
// contains filtered or unexported fields
}
DeployApplicationRequestValidationError is the validation error returned by DeployApplicationRequest.Validate if the designated constraints aren't met.
func (DeployApplicationRequestValidationError) Cause ¶ added in v0.11.0
func (e DeployApplicationRequestValidationError) Cause() error
Cause function returns cause value.
func (DeployApplicationRequestValidationError) Error ¶ added in v0.11.0
func (e DeployApplicationRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeployApplicationRequestValidationError) ErrorName ¶ added in v0.11.0
func (e DeployApplicationRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeployApplicationRequestValidationError) Field ¶ added in v0.11.0
func (e DeployApplicationRequestValidationError) Field() string
Field function returns field value.
func (DeployApplicationRequestValidationError) Key ¶ added in v0.11.0
func (e DeployApplicationRequestValidationError) Key() bool
Key function returns key value.
func (DeployApplicationRequestValidationError) Reason ¶ added in v0.11.0
func (e DeployApplicationRequestValidationError) Reason() string
Reason function returns reason value.
type DeployApplicationResponse ¶ added in v0.30.0
type DeployApplicationResponse struct { // EnvironmentName with the name of the environment EnvironmentName string `protobuf:"bytes,1,opt,name=environment_name,json=environmentName,proto3" json:"environment_name,omitempty"` // AccountName with the name of the account AccountName string `protobuf:"bytes,2,opt,name=account_name,json=accountName,proto3" json:"account_name,omitempty"` // ApplicationName with the name of the application deployed ApplicationName string `protobuf:"bytes,3,opt,name=application_name,json=applicationName,proto3" json:"application_name,omitempty"` // Message with the operation message Message string `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
DeployApplicationResponse with the response of a deploy operation
func (*DeployApplicationResponse) Descriptor
deprecated
added in
v0.30.0
func (*DeployApplicationResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeployApplicationResponse.ProtoReflect.Descriptor instead.
func (*DeployApplicationResponse) GetAccountName ¶ added in v0.30.0
func (x *DeployApplicationResponse) GetAccountName() string
func (*DeployApplicationResponse) GetApplicationName ¶ added in v0.30.0
func (x *DeployApplicationResponse) GetApplicationName() string
func (*DeployApplicationResponse) GetEnvironmentName ¶ added in v0.30.0
func (x *DeployApplicationResponse) GetEnvironmentName() string
func (*DeployApplicationResponse) GetMessage ¶ added in v0.30.0
func (x *DeployApplicationResponse) GetMessage() string
func (*DeployApplicationResponse) ProtoMessage ¶ added in v0.30.0
func (*DeployApplicationResponse) ProtoMessage()
func (*DeployApplicationResponse) ProtoReflect ¶ added in v0.30.0
func (x *DeployApplicationResponse) ProtoReflect() protoreflect.Message
func (*DeployApplicationResponse) Reset ¶ added in v0.30.0
func (x *DeployApplicationResponse) Reset()
func (*DeployApplicationResponse) String ¶ added in v0.30.0
func (x *DeployApplicationResponse) String() string
func (*DeployApplicationResponse) Validate ¶ added in v0.30.0
func (m *DeployApplicationResponse) Validate() error
Validate checks the field values on DeployApplicationResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DeployApplicationResponse) ValidateAll ¶ added in v0.30.0
func (m *DeployApplicationResponse) ValidateAll() error
ValidateAll checks the field values on DeployApplicationResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeployApplicationResponseMultiError, or nil if none found.
type DeployApplicationResponseMultiError ¶ added in v0.30.0
type DeployApplicationResponseMultiError []error
DeployApplicationResponseMultiError is an error wrapping multiple validation errors returned by DeployApplicationResponse.ValidateAll() if the designated constraints aren't met.
func (DeployApplicationResponseMultiError) AllErrors ¶ added in v0.30.0
func (m DeployApplicationResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeployApplicationResponseMultiError) Error ¶ added in v0.30.0
func (m DeployApplicationResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeployApplicationResponseValidationError ¶ added in v0.30.0
type DeployApplicationResponseValidationError struct {
// contains filtered or unexported fields
}
DeployApplicationResponseValidationError is the validation error returned by DeployApplicationResponse.Validate if the designated constraints aren't met.
func (DeployApplicationResponseValidationError) Cause ¶ added in v0.30.0
func (e DeployApplicationResponseValidationError) Cause() error
Cause function returns cause value.
func (DeployApplicationResponseValidationError) Error ¶ added in v0.30.0
func (e DeployApplicationResponseValidationError) Error() string
Error satisfies the builtin error interface
func (DeployApplicationResponseValidationError) ErrorName ¶ added in v0.30.0
func (e DeployApplicationResponseValidationError) ErrorName() string
ErrorName returns error name.
func (DeployApplicationResponseValidationError) Field ¶ added in v0.30.0
func (e DeployApplicationResponseValidationError) Field() string
Field function returns field value.
func (DeployApplicationResponseValidationError) Key ¶ added in v0.30.0
func (e DeployApplicationResponseValidationError) Key() bool
Key function returns key value.
func (DeployApplicationResponseValidationError) Reason ¶ added in v0.30.0
func (e DeployApplicationResponseValidationError) Reason() string
Reason function returns reason value.
type DeploySource ¶ added in v0.27.0
type DeploySource int32
const ( DeploySource_UNKNOWN_DEPLOY_SOURCE DeploySource = 0 // DeployFromType_FromData to indicate the deploy request contains the application files DeploySource_FROM_DATA DeploySource = 1 // DeployFromType_FromRepo to indicate the deploy request contains the repo url where the application is DeploySource_FROM_REPO DeploySource = 2 )
func (DeploySource) Descriptor ¶ added in v0.27.0
func (DeploySource) Descriptor() protoreflect.EnumDescriptor
func (DeploySource) Enum ¶ added in v0.27.0
func (x DeploySource) Enum() *DeploySource
func (DeploySource) EnumDescriptor
deprecated
added in
v0.27.0
func (DeploySource) EnumDescriptor() ([]byte, []int)
Deprecated: Use DeploySource.Descriptor instead.
func (DeploySource) Number ¶ added in v0.27.0
func (x DeploySource) Number() protoreflect.EnumNumber
func (DeploySource) String ¶ added in v0.27.0
func (x DeploySource) String() string
func (DeploySource) Type ¶ added in v0.27.0
func (DeploySource) Type() protoreflect.EnumType
type IngressInfo ¶ added in v0.5.0
type IngressInfo struct { // URL where the application is accessible. Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` // contains filtered or unexported fields }
IngressInfo with the relevant information about an ingress.
func (*IngressInfo) Descriptor
deprecated
added in
v0.5.0
func (*IngressInfo) Descriptor() ([]byte, []int)
Deprecated: Use IngressInfo.ProtoReflect.Descriptor instead.
func (*IngressInfo) GetUrl ¶ added in v0.5.0
func (x *IngressInfo) GetUrl() string
func (*IngressInfo) ProtoMessage ¶ added in v0.5.0
func (*IngressInfo) ProtoMessage()
func (*IngressInfo) ProtoReflect ¶ added in v0.5.0
func (x *IngressInfo) ProtoReflect() protoreflect.Message
func (*IngressInfo) Reset ¶ added in v0.5.0
func (x *IngressInfo) Reset()
func (*IngressInfo) String ¶ added in v0.5.0
func (x *IngressInfo) String() string
func (*IngressInfo) Validate ¶ added in v0.5.0
func (m *IngressInfo) Validate() error
Validate checks the field values on IngressInfo with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*IngressInfo) ValidateAll ¶ added in v0.8.0
func (m *IngressInfo) ValidateAll() error
ValidateAll checks the field values on IngressInfo with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in IngressInfoMultiError, or nil if none found.
type IngressInfoMultiError ¶ added in v0.8.0
type IngressInfoMultiError []error
IngressInfoMultiError is an error wrapping multiple validation errors returned by IngressInfo.ValidateAll() if the designated constraints aren't met.
func (IngressInfoMultiError) AllErrors ¶ added in v0.8.0
func (m IngressInfoMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (IngressInfoMultiError) Error ¶ added in v0.8.0
func (m IngressInfoMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type IngressInfoValidationError ¶ added in v0.5.0
type IngressInfoValidationError struct {
// contains filtered or unexported fields
}
IngressInfoValidationError is the validation error returned by IngressInfo.Validate if the designated constraints aren't met.
func (IngressInfoValidationError) Cause ¶ added in v0.5.0
func (e IngressInfoValidationError) Cause() error
Cause function returns cause value.
func (IngressInfoValidationError) Error ¶ added in v0.5.0
func (e IngressInfoValidationError) Error() string
Error satisfies the builtin error interface
func (IngressInfoValidationError) ErrorName ¶ added in v0.5.0
func (e IngressInfoValidationError) ErrorName() string
ErrorName returns error name.
func (IngressInfoValidationError) Field ¶ added in v0.5.0
func (e IngressInfoValidationError) Field() string
Field function returns field value.
func (IngressInfoValidationError) Key ¶ added in v0.5.0
func (e IngressInfoValidationError) Key() bool
Key function returns key value.
func (IngressInfoValidationError) Reason ¶ added in v0.5.0
func (e IngressInfoValidationError) Reason() string
Reason function returns reason value.
type IngressList ¶ added in v0.5.0
type IngressList struct { // ParentComponentName with the name of the component the ingress is attached to. ParentComponentName string `protobuf:"bytes,1,opt,name=parent_component_name,json=parentComponentName,proto3" json:"parent_component_name,omitempty"` // Ingresses with the list of ingresses. Ingresses []*IngressInfo `protobuf:"bytes,2,rep,name=ingresses,proto3" json:"ingresses,omitempty"` // contains filtered or unexported fields }
IngressList with a list of ingresses.
func (*IngressList) Descriptor
deprecated
added in
v0.5.0
func (*IngressList) Descriptor() ([]byte, []int)
Deprecated: Use IngressList.ProtoReflect.Descriptor instead.
func (*IngressList) GetIngresses ¶ added in v0.5.0
func (x *IngressList) GetIngresses() []*IngressInfo
func (*IngressList) GetParentComponentName ¶ added in v0.5.0
func (x *IngressList) GetParentComponentName() string
func (*IngressList) ProtoMessage ¶ added in v0.5.0
func (*IngressList) ProtoMessage()
func (*IngressList) ProtoReflect ¶ added in v0.5.0
func (x *IngressList) ProtoReflect() protoreflect.Message
func (*IngressList) Reset ¶ added in v0.5.0
func (x *IngressList) Reset()
func (*IngressList) String ¶ added in v0.5.0
func (x *IngressList) String() string
func (*IngressList) Validate ¶ added in v0.5.0
func (m *IngressList) Validate() error
Validate checks the field values on IngressList with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*IngressList) ValidateAll ¶ added in v0.8.0
func (m *IngressList) ValidateAll() error
ValidateAll checks the field values on IngressList with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in IngressListMultiError, or nil if none found.
type IngressListMultiError ¶ added in v0.8.0
type IngressListMultiError []error
IngressListMultiError is an error wrapping multiple validation errors returned by IngressList.ValidateAll() if the designated constraints aren't met.
func (IngressListMultiError) AllErrors ¶ added in v0.8.0
func (m IngressListMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (IngressListMultiError) Error ¶ added in v0.8.0
func (m IngressListMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type IngressListValidationError ¶ added in v0.5.0
type IngressListValidationError struct {
// contains filtered or unexported fields
}
IngressListValidationError is the validation error returned by IngressList.Validate if the designated constraints aren't met.
func (IngressListValidationError) Cause ¶ added in v0.5.0
func (e IngressListValidationError) Cause() error
Cause function returns cause value.
func (IngressListValidationError) Error ¶ added in v0.5.0
func (e IngressListValidationError) Error() string
Error satisfies the builtin error interface
func (IngressListValidationError) ErrorName ¶ added in v0.5.0
func (e IngressListValidationError) ErrorName() string
ErrorName returns error name.
func (IngressListValidationError) Field ¶ added in v0.5.0
func (e IngressListValidationError) Field() string
Field function returns field value.
func (IngressListValidationError) Key ¶ added in v0.5.0
func (e IngressListValidationError) Key() bool
Key function returns key value.
func (IngressListValidationError) Reason ¶ added in v0.5.0
func (e IngressListValidationError) Reason() string
Reason function returns reason value.
type LogEntry ¶ added in v0.25.0
type LogEntry struct { // Timestamp with the log timestamp Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // ComponentName with the name of the component ComponentName string `protobuf:"bytes,2,opt,name=component_name,json=componentName,proto3" json:"component_name,omitempty"` // PodName with the name of the pod PodName string `protobuf:"bytes,3,opt,name=pod_name,json=podName,proto3" json:"pod_name,omitempty"` // Log with the log content Log string `protobuf:"bytes,4,opt,name=log,proto3" json:"log,omitempty"` // contains filtered or unexported fields }
LogEntry with a log info
func (*LogEntry) Descriptor
deprecated
added in
v0.25.0
func (*LogEntry) GetComponentName ¶ added in v0.26.0
func (*LogEntry) GetPodName ¶ added in v0.26.0
func (*LogEntry) GetTimestamp ¶ added in v0.25.0
func (*LogEntry) ProtoMessage ¶ added in v0.25.0
func (*LogEntry) ProtoMessage()
func (*LogEntry) ProtoReflect ¶ added in v0.25.0
func (x *LogEntry) ProtoReflect() protoreflect.Message
func (*LogEntry) Validate ¶ added in v0.25.0
Validate checks the field values on LogEntry with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*LogEntry) ValidateAll ¶ added in v0.25.0
ValidateAll checks the field values on LogEntry with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LogEntryMultiError, or nil if none found.
type LogEntryMultiError ¶ added in v0.25.0
type LogEntryMultiError []error
LogEntryMultiError is an error wrapping multiple validation errors returned by LogEntry.ValidateAll() if the designated constraints aren't met.
func (LogEntryMultiError) AllErrors ¶ added in v0.25.0
func (m LogEntryMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (LogEntryMultiError) Error ¶ added in v0.25.0
func (m LogEntryMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type LogEntryValidationError ¶ added in v0.25.0
type LogEntryValidationError struct {
// contains filtered or unexported fields
}
LogEntryValidationError is the validation error returned by LogEntry.Validate if the designated constraints aren't met.
func (LogEntryValidationError) Cause ¶ added in v0.25.0
func (e LogEntryValidationError) Cause() error
Cause function returns cause value.
func (LogEntryValidationError) Error ¶ added in v0.25.0
func (e LogEntryValidationError) Error() string
Error satisfies the builtin error interface
func (LogEntryValidationError) ErrorName ¶ added in v0.25.0
func (e LogEntryValidationError) ErrorName() string
ErrorName returns error name.
func (LogEntryValidationError) Field ¶ added in v0.25.0
func (e LogEntryValidationError) Field() string
Field function returns field value.
func (LogEntryValidationError) Key ¶ added in v0.25.0
func (e LogEntryValidationError) Key() bool
Key function returns key value.
func (LogEntryValidationError) Reason ¶ added in v0.25.0
func (e LogEntryValidationError) Reason() string
Reason function returns reason value.
type LogRequest ¶ added in v0.25.0
type LogRequest struct { // EnvironmentQualifiedName (EnvQN) contains both the account name and the environment name as // <account_name>/<env_name>. EnvironmentQualifiedName string `` /* 135-byte string literal not displayed */ // AccountId with the account identifier. AccountId string `protobuf:"bytes,2,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` // EnvironmentId with the environment identifier EnvironmentId string `protobuf:"bytes,3,opt,name=environment_id,json=environmentId,proto3" json:"environment_id,omitempty"` // ApplicationName with the name of the application ApplicationName string `protobuf:"bytes,4,opt,name=application_name,json=applicationName,proto3" json:"application_name,omitempty"` //ComponentName with the name of the component to filter logs ComponentName string `protobuf:"bytes,5,opt,name=component_name,json=componentName,proto3" json:"component_name,omitempty"` // SinceNano with the timestamp time in nanoseconds from which the logs are requested SinceNano int64 `protobuf:"varint,6,opt,name=since_nano,json=sinceNano,proto3" json:"since_nano,omitempty"` // CleanLogs with a flag to remove color ANSI codes in the logs CleanLogs bool `protobuf:"varint,7,opt,name=clean_logs,json=cleanLogs,proto3" json:"clean_logs,omitempty"` // contains filtered or unexported fields }
LogRequest with the information required to ask for application logs
func (*LogRequest) Descriptor
deprecated
added in
v0.25.0
func (*LogRequest) Descriptor() ([]byte, []int)
Deprecated: Use LogRequest.ProtoReflect.Descriptor instead.
func (*LogRequest) GetAccountId ¶ added in v0.25.0
func (x *LogRequest) GetAccountId() string
func (*LogRequest) GetApplicationName ¶ added in v0.25.0
func (x *LogRequest) GetApplicationName() string
func (*LogRequest) GetCleanLogs ¶ added in v0.35.0
func (x *LogRequest) GetCleanLogs() bool
func (*LogRequest) GetComponentName ¶ added in v0.25.0
func (x *LogRequest) GetComponentName() string
func (*LogRequest) GetEnvironmentId ¶ added in v0.25.0
func (x *LogRequest) GetEnvironmentId() string
func (*LogRequest) GetEnvironmentQualifiedName ¶ added in v0.25.0
func (x *LogRequest) GetEnvironmentQualifiedName() string
func (*LogRequest) GetSinceNano ¶ added in v0.25.0
func (x *LogRequest) GetSinceNano() int64
func (*LogRequest) ProtoMessage ¶ added in v0.25.0
func (*LogRequest) ProtoMessage()
func (*LogRequest) ProtoReflect ¶ added in v0.25.0
func (x *LogRequest) ProtoReflect() protoreflect.Message
func (*LogRequest) Reset ¶ added in v0.25.0
func (x *LogRequest) Reset()
func (*LogRequest) String ¶ added in v0.25.0
func (x *LogRequest) String() string
func (*LogRequest) Validate ¶ added in v0.25.0
func (m *LogRequest) Validate() error
Validate checks the field values on LogRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*LogRequest) ValidateAll ¶ added in v0.25.0
func (m *LogRequest) ValidateAll() error
ValidateAll checks the field values on LogRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LogRequestMultiError, or nil if none found.
type LogRequestMultiError ¶ added in v0.25.0
type LogRequestMultiError []error
LogRequestMultiError is an error wrapping multiple validation errors returned by LogRequest.ValidateAll() if the designated constraints aren't met.
func (LogRequestMultiError) AllErrors ¶ added in v0.25.0
func (m LogRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (LogRequestMultiError) Error ¶ added in v0.25.0
func (m LogRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type LogRequestValidationError ¶ added in v0.25.0
type LogRequestValidationError struct {
// contains filtered or unexported fields
}
LogRequestValidationError is the validation error returned by LogRequest.Validate if the designated constraints aren't met.
func (LogRequestValidationError) Cause ¶ added in v0.25.0
func (e LogRequestValidationError) Cause() error
Cause function returns cause value.
func (LogRequestValidationError) Error ¶ added in v0.25.0
func (e LogRequestValidationError) Error() string
Error satisfies the builtin error interface
func (LogRequestValidationError) ErrorName ¶ added in v0.25.0
func (e LogRequestValidationError) ErrorName() string
ErrorName returns error name.
func (LogRequestValidationError) Field ¶ added in v0.25.0
func (e LogRequestValidationError) Field() string
Field function returns field value.
func (LogRequestValidationError) Key ¶ added in v0.25.0
func (e LogRequestValidationError) Key() bool
Key function returns key value.
func (LogRequestValidationError) Reason ¶ added in v0.25.0
func (e LogRequestValidationError) Reason() string
Reason function returns reason value.
type RemoveApplicationRequest ¶ added in v0.11.0
type RemoveApplicationRequest struct { // TargetEnvironmentQualifiedName specifying the target environment in the user // account as account_name/env_name. TargetEnvironmentQualifiedName string `` /* 155-byte string literal not displayed */ // AccountId with the account identifier. AccountId string `protobuf:"bytes,2,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` // EnvironmentId with the environment identifier EnvironmentId string `protobuf:"bytes,3,opt,name=environment_id,json=environmentId,proto3" json:"environment_id,omitempty"` // ApplicationName to be removed. ApplicationName string `protobuf:"bytes,4,opt,name=application_name,json=applicationName,proto3" json:"application_name,omitempty"` // contains filtered or unexported fields }
RemoveApplicationRequest to remove an application instance.
func (*RemoveApplicationRequest) Descriptor
deprecated
added in
v0.11.0
func (*RemoveApplicationRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveApplicationRequest.ProtoReflect.Descriptor instead.
func (*RemoveApplicationRequest) GetAccountId ¶ added in v0.12.0
func (x *RemoveApplicationRequest) GetAccountId() string
func (*RemoveApplicationRequest) GetApplicationName ¶ added in v0.11.0
func (x *RemoveApplicationRequest) GetApplicationName() string
func (*RemoveApplicationRequest) GetEnvironmentId ¶ added in v0.12.0
func (x *RemoveApplicationRequest) GetEnvironmentId() string
func (*RemoveApplicationRequest) GetTargetEnvironmentQualifiedName ¶ added in v0.11.0
func (x *RemoveApplicationRequest) GetTargetEnvironmentQualifiedName() string
func (*RemoveApplicationRequest) ProtoMessage ¶ added in v0.11.0
func (*RemoveApplicationRequest) ProtoMessage()
func (*RemoveApplicationRequest) ProtoReflect ¶ added in v0.11.0
func (x *RemoveApplicationRequest) ProtoReflect() protoreflect.Message
func (*RemoveApplicationRequest) Reset ¶ added in v0.11.0
func (x *RemoveApplicationRequest) Reset()
func (*RemoveApplicationRequest) String ¶ added in v0.11.0
func (x *RemoveApplicationRequest) String() string
func (*RemoveApplicationRequest) Validate ¶ added in v0.11.0
func (m *RemoveApplicationRequest) Validate() error
Validate checks the field values on RemoveApplicationRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*RemoveApplicationRequest) ValidateAll ¶ added in v0.11.0
func (m *RemoveApplicationRequest) ValidateAll() error
ValidateAll checks the field values on RemoveApplicationRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RemoveApplicationRequestMultiError, or nil if none found.
type RemoveApplicationRequestMultiError ¶ added in v0.11.0
type RemoveApplicationRequestMultiError []error
RemoveApplicationRequestMultiError is an error wrapping multiple validation errors returned by RemoveApplicationRequest.ValidateAll() if the designated constraints aren't met.
func (RemoveApplicationRequestMultiError) AllErrors ¶ added in v0.11.0
func (m RemoveApplicationRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RemoveApplicationRequestMultiError) Error ¶ added in v0.11.0
func (m RemoveApplicationRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RemoveApplicationRequestValidationError ¶ added in v0.11.0
type RemoveApplicationRequestValidationError struct {
// contains filtered or unexported fields
}
RemoveApplicationRequestValidationError is the validation error returned by RemoveApplicationRequest.Validate if the designated constraints aren't met.
func (RemoveApplicationRequestValidationError) Cause ¶ added in v0.11.0
func (e RemoveApplicationRequestValidationError) Cause() error
Cause function returns cause value.
func (RemoveApplicationRequestValidationError) Error ¶ added in v0.11.0
func (e RemoveApplicationRequestValidationError) Error() string
Error satisfies the builtin error interface
func (RemoveApplicationRequestValidationError) ErrorName ¶ added in v0.11.0
func (e RemoveApplicationRequestValidationError) ErrorName() string
ErrorName returns error name.
func (RemoveApplicationRequestValidationError) Field ¶ added in v0.11.0
func (e RemoveApplicationRequestValidationError) Field() string
Field function returns field value.
func (RemoveApplicationRequestValidationError) Key ¶ added in v0.11.0
func (e RemoveApplicationRequestValidationError) Key() bool
Key function returns key value.
func (RemoveApplicationRequestValidationError) Reason ¶ added in v0.11.0
func (e RemoveApplicationRequestValidationError) Reason() string
Reason function returns reason value.
type RepoType ¶ added in v0.27.0
type RepoType int32
RepoType with the repository (GITHUB and GitLab for now)
func (RepoType) Descriptor ¶ added in v0.27.0
func (RepoType) Descriptor() protoreflect.EnumDescriptor
func (RepoType) EnumDescriptor
deprecated
added in
v0.27.0
func (RepoType) Number ¶ added in v0.27.0
func (x RepoType) Number() protoreflect.EnumNumber
func (RepoType) Type ¶ added in v0.27.0
func (RepoType) Type() protoreflect.EnumType
type ResumeApplicationComponentsRequest ¶ added in v0.45.0
type ResumeApplicationComponentsRequest struct { // EnvironmentQualifiedName (EnvQN) contains both the account name and the environment name as // <account_name>/<env_name>. EnvironmentQualifiedName string `` /* 135-byte string literal not displayed */ // AccountId with the account identifier. AccountId string `protobuf:"bytes,2,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` // EnvironmentId with the environment identifier EnvironmentId string `protobuf:"bytes,3,opt,name=environment_id,json=environmentId,proto3" json:"environment_id,omitempty"` // ApplicationName with the name of the application ApplicationName string `protobuf:"bytes,4,opt,name=application_name,json=applicationName,proto3" json:"application_name,omitempty"` // Components with a list of components to scale Components []string `protobuf:"bytes,5,rep,name=components,proto3" json:"components,omitempty"` // contains filtered or unexported fields }
func (*ResumeApplicationComponentsRequest) Descriptor
deprecated
added in
v0.45.0
func (*ResumeApplicationComponentsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ResumeApplicationComponentsRequest.ProtoReflect.Descriptor instead.
func (*ResumeApplicationComponentsRequest) GetAccountId ¶ added in v0.45.0
func (x *ResumeApplicationComponentsRequest) GetAccountId() string
func (*ResumeApplicationComponentsRequest) GetApplicationName ¶ added in v0.45.0
func (x *ResumeApplicationComponentsRequest) GetApplicationName() string
func (*ResumeApplicationComponentsRequest) GetComponents ¶ added in v0.45.0
func (x *ResumeApplicationComponentsRequest) GetComponents() []string
func (*ResumeApplicationComponentsRequest) GetEnvironmentId ¶ added in v0.45.0
func (x *ResumeApplicationComponentsRequest) GetEnvironmentId() string
func (*ResumeApplicationComponentsRequest) GetEnvironmentQualifiedName ¶ added in v0.45.0
func (x *ResumeApplicationComponentsRequest) GetEnvironmentQualifiedName() string
func (*ResumeApplicationComponentsRequest) ProtoMessage ¶ added in v0.45.0
func (*ResumeApplicationComponentsRequest) ProtoMessage()
func (*ResumeApplicationComponentsRequest) ProtoReflect ¶ added in v0.45.0
func (x *ResumeApplicationComponentsRequest) ProtoReflect() protoreflect.Message
func (*ResumeApplicationComponentsRequest) Reset ¶ added in v0.45.0
func (x *ResumeApplicationComponentsRequest) Reset()
func (*ResumeApplicationComponentsRequest) String ¶ added in v0.45.0
func (x *ResumeApplicationComponentsRequest) String() string
func (*ResumeApplicationComponentsRequest) Validate ¶ added in v0.45.0
func (m *ResumeApplicationComponentsRequest) Validate() error
Validate checks the field values on ResumeApplicationComponentsRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ResumeApplicationComponentsRequest) ValidateAll ¶ added in v0.45.0
func (m *ResumeApplicationComponentsRequest) ValidateAll() error
ValidateAll checks the field values on ResumeApplicationComponentsRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ResumeApplicationComponentsRequestMultiError, or nil if none found.
type ResumeApplicationComponentsRequestMultiError ¶ added in v0.45.0
type ResumeApplicationComponentsRequestMultiError []error
ResumeApplicationComponentsRequestMultiError is an error wrapping multiple validation errors returned by ResumeApplicationComponentsRequest.ValidateAll() if the designated constraints aren't met.
func (ResumeApplicationComponentsRequestMultiError) AllErrors ¶ added in v0.45.0
func (m ResumeApplicationComponentsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ResumeApplicationComponentsRequestMultiError) Error ¶ added in v0.45.0
func (m ResumeApplicationComponentsRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ResumeApplicationComponentsRequestValidationError ¶ added in v0.45.0
type ResumeApplicationComponentsRequestValidationError struct {
// contains filtered or unexported fields
}
ResumeApplicationComponentsRequestValidationError is the validation error returned by ResumeApplicationComponentsRequest.Validate if the designated constraints aren't met.
func (ResumeApplicationComponentsRequestValidationError) Cause ¶ added in v0.45.0
func (e ResumeApplicationComponentsRequestValidationError) Cause() error
Cause function returns cause value.
func (ResumeApplicationComponentsRequestValidationError) Error ¶ added in v0.45.0
func (e ResumeApplicationComponentsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ResumeApplicationComponentsRequestValidationError) ErrorName ¶ added in v0.45.0
func (e ResumeApplicationComponentsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ResumeApplicationComponentsRequestValidationError) Field ¶ added in v0.45.0
func (e ResumeApplicationComponentsRequestValidationError) Field() string
Field function returns field value.
func (ResumeApplicationComponentsRequestValidationError) Key ¶ added in v0.45.0
func (e ResumeApplicationComponentsRequestValidationError) Key() bool
Key function returns key value.
func (ResumeApplicationComponentsRequestValidationError) Reason ¶ added in v0.45.0
func (e ResumeApplicationComponentsRequestValidationError) Reason() string
Reason function returns reason value.
type ResumeWorkflowRequest ¶ added in v0.45.0
type ResumeWorkflowRequest struct { // TargetEnvironmentQualifiedName specifying the target environment in the user // account as account_name/env_name. TargetEnvironmentQualifiedName string `` /* 155-byte string literal not displayed */ // AccountId with the account identifier. AccountId string `protobuf:"bytes,2,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` // EnvironmentId with the environment identifier EnvironmentId string `protobuf:"bytes,3,opt,name=environment_id,json=environmentId,proto3" json:"environment_id,omitempty"` // ApplicationName to be removed. ApplicationName string `protobuf:"bytes,4,opt,name=application_name,json=applicationName,proto3" json:"application_name,omitempty"` // contains filtered or unexported fields }
ResumeWorkflowRequest to resume a workflow application.
func (*ResumeWorkflowRequest) Descriptor
deprecated
added in
v0.45.0
func (*ResumeWorkflowRequest) Descriptor() ([]byte, []int)
Deprecated: Use ResumeWorkflowRequest.ProtoReflect.Descriptor instead.
func (*ResumeWorkflowRequest) GetAccountId ¶ added in v0.45.0
func (x *ResumeWorkflowRequest) GetAccountId() string
func (*ResumeWorkflowRequest) GetApplicationName ¶ added in v0.45.0
func (x *ResumeWorkflowRequest) GetApplicationName() string
func (*ResumeWorkflowRequest) GetEnvironmentId ¶ added in v0.45.0
func (x *ResumeWorkflowRequest) GetEnvironmentId() string
func (*ResumeWorkflowRequest) GetTargetEnvironmentQualifiedName ¶ added in v0.45.0
func (x *ResumeWorkflowRequest) GetTargetEnvironmentQualifiedName() string
func (*ResumeWorkflowRequest) ProtoMessage ¶ added in v0.45.0
func (*ResumeWorkflowRequest) ProtoMessage()
func (*ResumeWorkflowRequest) ProtoReflect ¶ added in v0.45.0
func (x *ResumeWorkflowRequest) ProtoReflect() protoreflect.Message
func (*ResumeWorkflowRequest) Reset ¶ added in v0.45.0
func (x *ResumeWorkflowRequest) Reset()
func (*ResumeWorkflowRequest) String ¶ added in v0.45.0
func (x *ResumeWorkflowRequest) String() string
func (*ResumeWorkflowRequest) Validate ¶ added in v0.45.0
func (m *ResumeWorkflowRequest) Validate() error
Validate checks the field values on ResumeWorkflowRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ResumeWorkflowRequest) ValidateAll ¶ added in v0.45.0
func (m *ResumeWorkflowRequest) ValidateAll() error
ValidateAll checks the field values on ResumeWorkflowRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ResumeWorkflowRequestMultiError, or nil if none found.
type ResumeWorkflowRequestMultiError ¶ added in v0.45.0
type ResumeWorkflowRequestMultiError []error
ResumeWorkflowRequestMultiError is an error wrapping multiple validation errors returned by ResumeWorkflowRequest.ValidateAll() if the designated constraints aren't met.
func (ResumeWorkflowRequestMultiError) AllErrors ¶ added in v0.45.0
func (m ResumeWorkflowRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ResumeWorkflowRequestMultiError) Error ¶ added in v0.45.0
func (m ResumeWorkflowRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ResumeWorkflowRequestValidationError ¶ added in v0.45.0
type ResumeWorkflowRequestValidationError struct {
// contains filtered or unexported fields
}
ResumeWorkflowRequestValidationError is the validation error returned by ResumeWorkflowRequest.Validate if the designated constraints aren't met.
func (ResumeWorkflowRequestValidationError) Cause ¶ added in v0.45.0
func (e ResumeWorkflowRequestValidationError) Cause() error
Cause function returns cause value.
func (ResumeWorkflowRequestValidationError) Error ¶ added in v0.45.0
func (e ResumeWorkflowRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ResumeWorkflowRequestValidationError) ErrorName ¶ added in v0.45.0
func (e ResumeWorkflowRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ResumeWorkflowRequestValidationError) Field ¶ added in v0.45.0
func (e ResumeWorkflowRequestValidationError) Field() string
Field function returns field value.
func (ResumeWorkflowRequestValidationError) Key ¶ added in v0.45.0
func (e ResumeWorkflowRequestValidationError) Key() bool
Key function returns key value.
func (ResumeWorkflowRequestValidationError) Reason ¶ added in v0.45.0
func (e ResumeWorkflowRequestValidationError) Reason() string
Reason function returns reason value.
type ScaleRequest ¶ added in v0.36.0
type ScaleRequest struct { // EnvironmentQualifiedName (EnvQN) contains both the account name and the environment name as // <account_name>/<env_name>. EnvironmentQualifiedName string `` /* 135-byte string literal not displayed */ // AccountId with the account identifier. AccountId string `protobuf:"bytes,2,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` // EnvironmentId with the environment identifier EnvironmentId string `protobuf:"bytes,3,opt,name=environment_id,json=environmentId,proto3" json:"environment_id,omitempty"` // ApplicationName with the name of the application ApplicationName string `protobuf:"bytes,4,opt,name=application_name,json=applicationName,proto3" json:"application_name,omitempty"` // Components with a list of components to scale Components []*ComponentReplicas `protobuf:"bytes,5,rep,name=components,proto3" json:"components,omitempty"` // contains filtered or unexported fields }
ScaleRequest with the information required to scale an application
func (*ScaleRequest) Descriptor
deprecated
added in
v0.36.0
func (*ScaleRequest) Descriptor() ([]byte, []int)
Deprecated: Use ScaleRequest.ProtoReflect.Descriptor instead.
func (*ScaleRequest) GetAccountId ¶ added in v0.36.0
func (x *ScaleRequest) GetAccountId() string
func (*ScaleRequest) GetApplicationName ¶ added in v0.36.0
func (x *ScaleRequest) GetApplicationName() string
func (*ScaleRequest) GetComponents ¶ added in v0.36.0
func (x *ScaleRequest) GetComponents() []*ComponentReplicas
func (*ScaleRequest) GetEnvironmentId ¶ added in v0.36.0
func (x *ScaleRequest) GetEnvironmentId() string
func (*ScaleRequest) GetEnvironmentQualifiedName ¶ added in v0.36.0
func (x *ScaleRequest) GetEnvironmentQualifiedName() string
func (*ScaleRequest) ProtoMessage ¶ added in v0.36.0
func (*ScaleRequest) ProtoMessage()
func (*ScaleRequest) ProtoReflect ¶ added in v0.36.0
func (x *ScaleRequest) ProtoReflect() protoreflect.Message
func (*ScaleRequest) Reset ¶ added in v0.36.0
func (x *ScaleRequest) Reset()
func (*ScaleRequest) String ¶ added in v0.36.0
func (x *ScaleRequest) String() string
func (*ScaleRequest) Validate ¶ added in v0.36.0
func (m *ScaleRequest) Validate() error
Validate checks the field values on ScaleRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ScaleRequest) ValidateAll ¶ added in v0.36.0
func (m *ScaleRequest) ValidateAll() error
ValidateAll checks the field values on ScaleRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ScaleRequestMultiError, or nil if none found.
type ScaleRequestMultiError ¶ added in v0.36.0
type ScaleRequestMultiError []error
ScaleRequestMultiError is an error wrapping multiple validation errors returned by ScaleRequest.ValidateAll() if the designated constraints aren't met.
func (ScaleRequestMultiError) AllErrors ¶ added in v0.36.0
func (m ScaleRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ScaleRequestMultiError) Error ¶ added in v0.36.0
func (m ScaleRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ScaleRequestValidationError ¶ added in v0.36.0
type ScaleRequestValidationError struct {
// contains filtered or unexported fields
}
ScaleRequestValidationError is the validation error returned by ScaleRequest.Validate if the designated constraints aren't met.
func (ScaleRequestValidationError) Cause ¶ added in v0.36.0
func (e ScaleRequestValidationError) Cause() error
Cause function returns cause value.
func (ScaleRequestValidationError) Error ¶ added in v0.36.0
func (e ScaleRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ScaleRequestValidationError) ErrorName ¶ added in v0.36.0
func (e ScaleRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ScaleRequestValidationError) Field ¶ added in v0.36.0
func (e ScaleRequestValidationError) Field() string
Field function returns field value.
func (ScaleRequestValidationError) Key ¶ added in v0.36.0
func (e ScaleRequestValidationError) Key() bool
Key function returns key value.
func (ScaleRequestValidationError) Reason ¶ added in v0.36.0
func (e ScaleRequestValidationError) Reason() string
Reason function returns reason value.
type StopApplicationComponentsRequest ¶ added in v0.43.0
type StopApplicationComponentsRequest struct { // EnvironmentQualifiedName (EnvQN) contains both the account name and the environment name as // <account_name>/<env_name>. EnvironmentQualifiedName string `` /* 135-byte string literal not displayed */ // AccountId with the account identifier. AccountId string `protobuf:"bytes,2,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` // EnvironmentId with the environment identifier EnvironmentId string `protobuf:"bytes,3,opt,name=environment_id,json=environmentId,proto3" json:"environment_id,omitempty"` // ApplicationName with the name of the application ApplicationName string `protobuf:"bytes,4,opt,name=application_name,json=applicationName,proto3" json:"application_name,omitempty"` // Components with a list of components to scale Components []string `protobuf:"bytes,5,rep,name=components,proto3" json:"components,omitempty"` // contains filtered or unexported fields }
StopApplicationComponents with the information required to stop application components
func (*StopApplicationComponentsRequest) Descriptor
deprecated
added in
v0.43.0
func (*StopApplicationComponentsRequest) Descriptor() ([]byte, []int)
Deprecated: Use StopApplicationComponentsRequest.ProtoReflect.Descriptor instead.
func (*StopApplicationComponentsRequest) GetAccountId ¶ added in v0.43.0
func (x *StopApplicationComponentsRequest) GetAccountId() string
func (*StopApplicationComponentsRequest) GetApplicationName ¶ added in v0.43.0
func (x *StopApplicationComponentsRequest) GetApplicationName() string
func (*StopApplicationComponentsRequest) GetComponents ¶ added in v0.43.0
func (x *StopApplicationComponentsRequest) GetComponents() []string
func (*StopApplicationComponentsRequest) GetEnvironmentId ¶ added in v0.43.0
func (x *StopApplicationComponentsRequest) GetEnvironmentId() string
func (*StopApplicationComponentsRequest) GetEnvironmentQualifiedName ¶ added in v0.43.0
func (x *StopApplicationComponentsRequest) GetEnvironmentQualifiedName() string
func (*StopApplicationComponentsRequest) ProtoMessage ¶ added in v0.43.0
func (*StopApplicationComponentsRequest) ProtoMessage()
func (*StopApplicationComponentsRequest) ProtoReflect ¶ added in v0.43.0
func (x *StopApplicationComponentsRequest) ProtoReflect() protoreflect.Message
func (*StopApplicationComponentsRequest) Reset ¶ added in v0.43.0
func (x *StopApplicationComponentsRequest) Reset()
func (*StopApplicationComponentsRequest) String ¶ added in v0.43.0
func (x *StopApplicationComponentsRequest) String() string
func (*StopApplicationComponentsRequest) Validate ¶ added in v0.43.0
func (m *StopApplicationComponentsRequest) Validate() error
Validate checks the field values on StopApplicationComponentsRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*StopApplicationComponentsRequest) ValidateAll ¶ added in v0.43.0
func (m *StopApplicationComponentsRequest) ValidateAll() error
ValidateAll checks the field values on StopApplicationComponentsRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in StopApplicationComponentsRequestMultiError, or nil if none found.
type StopApplicationComponentsRequestMultiError ¶ added in v0.43.0
type StopApplicationComponentsRequestMultiError []error
StopApplicationComponentsRequestMultiError is an error wrapping multiple validation errors returned by StopApplicationComponentsRequest.ValidateAll() if the designated constraints aren't met.
func (StopApplicationComponentsRequestMultiError) AllErrors ¶ added in v0.43.0
func (m StopApplicationComponentsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (StopApplicationComponentsRequestMultiError) Error ¶ added in v0.43.0
func (m StopApplicationComponentsRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type StopApplicationComponentsRequestValidationError ¶ added in v0.43.0
type StopApplicationComponentsRequestValidationError struct {
// contains filtered or unexported fields
}
StopApplicationComponentsRequestValidationError is the validation error returned by StopApplicationComponentsRequest.Validate if the designated constraints aren't met.
func (StopApplicationComponentsRequestValidationError) Cause ¶ added in v0.43.0
func (e StopApplicationComponentsRequestValidationError) Cause() error
Cause function returns cause value.
func (StopApplicationComponentsRequestValidationError) Error ¶ added in v0.43.0
func (e StopApplicationComponentsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (StopApplicationComponentsRequestValidationError) ErrorName ¶ added in v0.43.0
func (e StopApplicationComponentsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (StopApplicationComponentsRequestValidationError) Field ¶ added in v0.43.0
func (e StopApplicationComponentsRequestValidationError) Field() string
Field function returns field value.
func (StopApplicationComponentsRequestValidationError) Key ¶ added in v0.43.0
func (e StopApplicationComponentsRequestValidationError) Key() bool
Key function returns key value.
func (StopApplicationComponentsRequestValidationError) Reason ¶ added in v0.43.0
func (e StopApplicationComponentsRequestValidationError) Reason() string
Reason function returns reason value.
type UnimplementedAppsServer ¶
type UnimplementedAppsServer struct { }
UnimplementedAppsServer can be embedded to have forward compatible implementations.
func (*UnimplementedAppsServer) Deploy ¶ added in v0.11.0
func (*UnimplementedAppsServer) Deploy(context.Context, *DeployApplicationRequest) (*DeployApplicationResponse, error)
func (*UnimplementedAppsServer) Info ¶ added in v0.8.0
func (*UnimplementedAppsServer) Info(context.Context, *AppInfoRequest) (*Application, error)
func (*UnimplementedAppsServer) Logs ¶ added in v0.25.0
func (*UnimplementedAppsServer) Logs(context.Context, *LogRequest) (*ApplicationLogs, error)
func (*UnimplementedAppsServer) Remove ¶ added in v0.11.0
func (*UnimplementedAppsServer) Remove(context.Context, *RemoveApplicationRequest) (*grpc_playground_common_go.OpResponse, error)
func (*UnimplementedAppsServer) ResumeApplicationComponents ¶ added in v0.45.0
func (*UnimplementedAppsServer) ResumeApplicationComponents(context.Context, *ResumeApplicationComponentsRequest) (*grpc_playground_common_go.OpResponse, error)
func (*UnimplementedAppsServer) Scale ¶ added in v0.36.0
func (*UnimplementedAppsServer) Scale(context.Context, *ScaleRequest) (*grpc_playground_common_go.OpResponse, error)
func (*UnimplementedAppsServer) StopApplicationComponents ¶ added in v0.43.0
func (*UnimplementedAppsServer) StopApplicationComponents(context.Context, *StopApplicationComponentsRequest) (*grpc_playground_common_go.OpResponse, error)
func (*UnimplementedAppsServer) SummaryList ¶ added in v0.10.0
func (*UnimplementedAppsServer) SummaryList(context.Context, *grpc_playground_environments_go.EnvironmentSelector) (*AppSummaryListResponse, error)
func (*UnimplementedAppsServer) Update ¶ added in v0.34.0
func (*UnimplementedAppsServer) Update(context.Context, *UpdateApplicationRequest) (*grpc_playground_common_go.OpResponse, error)
func (*UnimplementedAppsServer) ValidateRepoAccess ¶ added in v0.31.0
func (*UnimplementedAppsServer) ValidateRepoAccess(context.Context, *ValidateRepoAccessRequest) (*grpc_playground_common_go.OpResponse, error)
type UnimplementedWorkflowsServer ¶ added in v0.45.0
type UnimplementedWorkflowsServer struct { }
UnimplementedWorkflowsServer can be embedded to have forward compatible implementations.
func (*UnimplementedWorkflowsServer) Resume ¶ added in v0.45.0
func (*UnimplementedWorkflowsServer) Resume(context.Context, *ResumeWorkflowRequest) (*grpc_playground_common_go.OpResponse, error)
type UpdateApplicationRequest ¶ added in v0.34.0
type UpdateApplicationRequest struct { // TargetEnvironmentQualifiedName specifying the target environment in the user // account as account_name/env_name. TargetEnvironmentQualifiedName string `` /* 155-byte string literal not displayed */ // AccountId with the account identifier. AccountId string `protobuf:"bytes,2,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` // EnvironmentId with the environment identifier EnvironmentId string `protobuf:"bytes,3,opt,name=environment_id,json=environmentId,proto3" json:"environment_id,omitempty"` // ApplicationName to be removed. ApplicationName string `protobuf:"bytes,4,opt,name=application_name,json=applicationName,proto3" json:"application_name,omitempty"` // RawYaml with a YAML with the new application (base64 decoded) RawYaml string `protobuf:"bytes,5,opt,name=raw_yaml,json=rawYaml,proto3" json:"raw_yaml,omitempty"` // contains filtered or unexported fields }
UpdateApplicationRequest with the information required to update a deployed application
func (*UpdateApplicationRequest) Descriptor
deprecated
added in
v0.34.0
func (*UpdateApplicationRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateApplicationRequest.ProtoReflect.Descriptor instead.
func (*UpdateApplicationRequest) GetAccountId ¶ added in v0.34.0
func (x *UpdateApplicationRequest) GetAccountId() string
func (*UpdateApplicationRequest) GetApplicationName ¶ added in v0.34.0
func (x *UpdateApplicationRequest) GetApplicationName() string
func (*UpdateApplicationRequest) GetEnvironmentId ¶ added in v0.34.0
func (x *UpdateApplicationRequest) GetEnvironmentId() string
func (*UpdateApplicationRequest) GetRawYaml ¶ added in v0.34.0
func (x *UpdateApplicationRequest) GetRawYaml() string
func (*UpdateApplicationRequest) GetTargetEnvironmentQualifiedName ¶ added in v0.34.0
func (x *UpdateApplicationRequest) GetTargetEnvironmentQualifiedName() string
func (*UpdateApplicationRequest) ProtoMessage ¶ added in v0.34.0
func (*UpdateApplicationRequest) ProtoMessage()
func (*UpdateApplicationRequest) ProtoReflect ¶ added in v0.34.0
func (x *UpdateApplicationRequest) ProtoReflect() protoreflect.Message
func (*UpdateApplicationRequest) Reset ¶ added in v0.34.0
func (x *UpdateApplicationRequest) Reset()
func (*UpdateApplicationRequest) String ¶ added in v0.34.0
func (x *UpdateApplicationRequest) String() string
func (*UpdateApplicationRequest) Validate ¶ added in v0.34.0
func (m *UpdateApplicationRequest) Validate() error
Validate checks the field values on UpdateApplicationRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UpdateApplicationRequest) ValidateAll ¶ added in v0.34.0
func (m *UpdateApplicationRequest) ValidateAll() error
ValidateAll checks the field values on UpdateApplicationRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateApplicationRequestMultiError, or nil if none found.
type UpdateApplicationRequestMultiError ¶ added in v0.34.0
type UpdateApplicationRequestMultiError []error
UpdateApplicationRequestMultiError is an error wrapping multiple validation errors returned by UpdateApplicationRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateApplicationRequestMultiError) AllErrors ¶ added in v0.34.0
func (m UpdateApplicationRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateApplicationRequestMultiError) Error ¶ added in v0.34.0
func (m UpdateApplicationRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateApplicationRequestValidationError ¶ added in v0.34.0
type UpdateApplicationRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateApplicationRequestValidationError is the validation error returned by UpdateApplicationRequest.Validate if the designated constraints aren't met.
func (UpdateApplicationRequestValidationError) Cause ¶ added in v0.34.0
func (e UpdateApplicationRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateApplicationRequestValidationError) Error ¶ added in v0.34.0
func (e UpdateApplicationRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateApplicationRequestValidationError) ErrorName ¶ added in v0.34.0
func (e UpdateApplicationRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateApplicationRequestValidationError) Field ¶ added in v0.34.0
func (e UpdateApplicationRequestValidationError) Field() string
Field function returns field value.
func (UpdateApplicationRequestValidationError) Key ¶ added in v0.34.0
func (e UpdateApplicationRequestValidationError) Key() bool
Key function returns key value.
func (UpdateApplicationRequestValidationError) Reason ¶ added in v0.34.0
func (e UpdateApplicationRequestValidationError) Reason() string
Reason function returns reason value.
type ValidateRepoAccessRequest ¶ added in v0.31.0
type ValidateRepoAccessRequest struct { // RepoType with the repository type (GitHub for now) RepoType RepoType `protobuf:"varint,1,opt,name=repo_type,json=repoType,proto3,enum=playground_apps.RepoType" json:"repo_type,omitempty"` // RepoConfig with the repo configuration // RepoUrl with the url where the GitHubRepo is RepoUrl string `protobuf:"bytes,2,opt,name=repo_url,json=repoUrl,proto3" json:"repo_url,omitempty"` // RepoPat with a personal access token. Required if the repository is private RepoPat string `protobuf:"bytes,3,opt,name=repo_pat,json=repoPat,proto3" json:"repo_pat,omitempty"` // contains filtered or unexported fields }
ValidateRepoAccessRequest with the information required to validate if repo is accessible
func (*ValidateRepoAccessRequest) Descriptor
deprecated
added in
v0.31.0
func (*ValidateRepoAccessRequest) Descriptor() ([]byte, []int)
Deprecated: Use ValidateRepoAccessRequest.ProtoReflect.Descriptor instead.
func (*ValidateRepoAccessRequest) GetRepoPat ¶ added in v0.31.0
func (x *ValidateRepoAccessRequest) GetRepoPat() string
func (*ValidateRepoAccessRequest) GetRepoType ¶ added in v0.31.0
func (x *ValidateRepoAccessRequest) GetRepoType() RepoType
func (*ValidateRepoAccessRequest) GetRepoUrl ¶ added in v0.31.0
func (x *ValidateRepoAccessRequest) GetRepoUrl() string
func (*ValidateRepoAccessRequest) ProtoMessage ¶ added in v0.31.0
func (*ValidateRepoAccessRequest) ProtoMessage()
func (*ValidateRepoAccessRequest) ProtoReflect ¶ added in v0.31.0
func (x *ValidateRepoAccessRequest) ProtoReflect() protoreflect.Message
func (*ValidateRepoAccessRequest) Reset ¶ added in v0.31.0
func (x *ValidateRepoAccessRequest) Reset()
func (*ValidateRepoAccessRequest) String ¶ added in v0.31.0
func (x *ValidateRepoAccessRequest) String() string
func (*ValidateRepoAccessRequest) Validate ¶ added in v0.31.0
func (m *ValidateRepoAccessRequest) Validate() error
Validate checks the field values on ValidateRepoAccessRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ValidateRepoAccessRequest) ValidateAll ¶ added in v0.31.0
func (m *ValidateRepoAccessRequest) ValidateAll() error
ValidateAll checks the field values on ValidateRepoAccessRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ValidateRepoAccessRequestMultiError, or nil if none found.
type ValidateRepoAccessRequestMultiError ¶ added in v0.31.0
type ValidateRepoAccessRequestMultiError []error
ValidateRepoAccessRequestMultiError is an error wrapping multiple validation errors returned by ValidateRepoAccessRequest.ValidateAll() if the designated constraints aren't met.
func (ValidateRepoAccessRequestMultiError) AllErrors ¶ added in v0.31.0
func (m ValidateRepoAccessRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ValidateRepoAccessRequestMultiError) Error ¶ added in v0.31.0
func (m ValidateRepoAccessRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ValidateRepoAccessRequestValidationError ¶ added in v0.31.0
type ValidateRepoAccessRequestValidationError struct {
// contains filtered or unexported fields
}
ValidateRepoAccessRequestValidationError is the validation error returned by ValidateRepoAccessRequest.Validate if the designated constraints aren't met.
func (ValidateRepoAccessRequestValidationError) Cause ¶ added in v0.31.0
func (e ValidateRepoAccessRequestValidationError) Cause() error
Cause function returns cause value.
func (ValidateRepoAccessRequestValidationError) Error ¶ added in v0.31.0
func (e ValidateRepoAccessRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ValidateRepoAccessRequestValidationError) ErrorName ¶ added in v0.31.0
func (e ValidateRepoAccessRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ValidateRepoAccessRequestValidationError) Field ¶ added in v0.31.0
func (e ValidateRepoAccessRequestValidationError) Field() string
Field function returns field value.
func (ValidateRepoAccessRequestValidationError) Key ¶ added in v0.31.0
func (e ValidateRepoAccessRequestValidationError) Key() bool
Key function returns key value.
func (ValidateRepoAccessRequestValidationError) Reason ¶ added in v0.31.0
func (e ValidateRepoAccessRequestValidationError) Reason() string
Reason function returns reason value.
type WorkflowsClient ¶ added in v0.45.0
type WorkflowsClient interface { // Resume a suspended workflow application. Resume(ctx context.Context, in *ResumeWorkflowRequest, opts ...grpc.CallOption) (*grpc_playground_common_go.OpResponse, error) }
WorkflowsClient is the client API for Workflows service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewWorkflowsClient ¶ added in v0.45.0
func NewWorkflowsClient(cc grpc.ClientConnInterface) WorkflowsClient
type WorkflowsServer ¶ added in v0.45.0
type WorkflowsServer interface { // Resume a suspended workflow application. Resume(context.Context, *ResumeWorkflowRequest) (*grpc_playground_common_go.OpResponse, error) }
WorkflowsServer is the server API for Workflows service.