v0

package
v0.1.43 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_actions_v0_application_proto protoreflect.FileDescriptor
View Source
var File_actions_v0_environment_proto protoreflect.FileDescriptor
View Source
var File_actions_v0_organization_proto protoreflect.FileDescriptor
View Source
var File_actions_v0_project_proto protoreflect.FileDescriptor
View Source
var File_actions_v0_service_proto protoreflect.FileDescriptor
View Source
var File_actions_v0_workspace_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AddApplicationToWorkspace added in v0.1.38

type AddApplicationToWorkspace struct {

	// kind is the type of the application.
	Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
	// name is the name of the application.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// project is the name of the project that the application belongs to.
	Project string `protobuf:"bytes,3,opt,name=project,proto3" json:"project,omitempty"`
	// workspace is the name of the workspace where the application will be added.
	Workspace string `protobuf:"bytes,4,opt,name=workspace,proto3" json:"workspace,omitempty"`
	// contains filtered or unexported fields
}

AddApplicationToWorkspace represents a request to add an application to a workspace. The kind field is the type of the application. The name field is the name of the application. The project field is the name of the project that the application belongs to. The workspace field is the name of the workspace where the application will be added.

func (*AddApplicationToWorkspace) Descriptor deprecated added in v0.1.38

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

Deprecated: Use AddApplicationToWorkspace.ProtoReflect.Descriptor instead.

func (*AddApplicationToWorkspace) GetKind added in v0.1.38

func (x *AddApplicationToWorkspace) GetKind() string

func (*AddApplicationToWorkspace) GetName added in v0.1.38

func (x *AddApplicationToWorkspace) GetName() string

func (*AddApplicationToWorkspace) GetProject added in v0.1.38

func (x *AddApplicationToWorkspace) GetProject() string

func (*AddApplicationToWorkspace) GetWorkspace added in v0.1.38

func (x *AddApplicationToWorkspace) GetWorkspace() string

func (*AddApplicationToWorkspace) ProtoMessage added in v0.1.38

func (*AddApplicationToWorkspace) ProtoMessage()

func (*AddApplicationToWorkspace) ProtoReflect added in v0.1.38

func (*AddApplicationToWorkspace) Reset added in v0.1.38

func (x *AddApplicationToWorkspace) Reset()

func (*AddApplicationToWorkspace) String added in v0.1.38

func (x *AddApplicationToWorkspace) String() string

type AddEnvironment

type AddEnvironment struct {

	// kind is the type of the environment.
	Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
	// name is the name of the environment.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// description provides a brief explanation of the environment.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// project_path is the path of the project that the environment belongs to.
	ProjectPath string `protobuf:"bytes,4,opt,name=project_path,json=projectPath,proto3" json:"project_path,omitempty"`
	// network_type is the type of network for the environment.
	NetworkType string `protobuf:"bytes,5,opt,name=network_type,json=networkType,proto3" json:"network_type,omitempty"`
	// contains filtered or unexported fields
}

AddEnvironment message is used to add a new environment to the system. It requires the kind of environment, a name, description, project path, and network type. The name, project path, and network type fields have a minimum length of 3 and a maximum length of 50 characters.

func (*AddEnvironment) Descriptor deprecated

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

Deprecated: Use AddEnvironment.ProtoReflect.Descriptor instead.

func (*AddEnvironment) GetDescription

func (x *AddEnvironment) GetDescription() string

func (*AddEnvironment) GetKind

func (x *AddEnvironment) GetKind() string

func (*AddEnvironment) GetName

func (x *AddEnvironment) GetName() string

func (*AddEnvironment) GetNetworkType added in v0.1.20

func (x *AddEnvironment) GetNetworkType() string

func (*AddEnvironment) GetProjectPath added in v0.1.38

func (x *AddEnvironment) GetProjectPath() string

func (*AddEnvironment) ProtoMessage

func (*AddEnvironment) ProtoMessage()

func (*AddEnvironment) ProtoReflect

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

func (*AddEnvironment) Reset

func (x *AddEnvironment) Reset()

func (*AddEnvironment) String

func (x *AddEnvironment) String() string

type AddOrganization

type AddOrganization struct {
	Kind                 string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
	Name                 string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	SourceVersionControl string `protobuf:"bytes,3,opt,name=source_version_control,json=sourceVersionControl,proto3" json:"source_version_control,omitempty"`
	// contains filtered or unexported fields
}

func (*AddOrganization) Descriptor deprecated

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

Deprecated: Use AddOrganization.ProtoReflect.Descriptor instead.

func (*AddOrganization) GetKind

func (x *AddOrganization) GetKind() string

func (*AddOrganization) GetName

func (x *AddOrganization) GetName() string

func (*AddOrganization) GetSourceVersionControl added in v0.1.38

func (x *AddOrganization) GetSourceVersionControl() string

func (*AddOrganization) ProtoMessage

func (*AddOrganization) ProtoMessage()

func (*AddOrganization) ProtoReflect

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

func (*AddOrganization) Reset

func (x *AddOrganization) Reset()

func (*AddOrganization) String

func (x *AddOrganization) String() string

type AddProjectToWorkspace added in v0.1.38

type AddProjectToWorkspace struct {

	// Kind is the kind of the message.
	Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
	// Workspace is the name of the workspace.
	Workspace string `protobuf:"bytes,2,opt,name=workspace,proto3" json:"workspace,omitempty"`
	// Name is the name of the project.
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// Path is the local path of the project.
	Path string `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"`
	// contains filtered or unexported fields
}

AddProjectToWorkspace represents the request to add a project to a workspace.

func (*AddProjectToWorkspace) Descriptor deprecated added in v0.1.38

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

Deprecated: Use AddProjectToWorkspace.ProtoReflect.Descriptor instead.

func (*AddProjectToWorkspace) GetKind added in v0.1.38

func (x *AddProjectToWorkspace) GetKind() string

func (*AddProjectToWorkspace) GetName added in v0.1.38

func (x *AddProjectToWorkspace) GetName() string

func (*AddProjectToWorkspace) GetPath added in v0.1.38

func (x *AddProjectToWorkspace) GetPath() string

func (*AddProjectToWorkspace) GetWorkspace added in v0.1.38

func (x *AddProjectToWorkspace) GetWorkspace() string

func (*AddProjectToWorkspace) ProtoMessage added in v0.1.38

func (*AddProjectToWorkspace) ProtoMessage()

func (*AddProjectToWorkspace) ProtoReflect added in v0.1.38

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

func (*AddProjectToWorkspace) Reset added in v0.1.38

func (x *AddProjectToWorkspace) Reset()

func (*AddProjectToWorkspace) String added in v0.1.38

func (x *AddProjectToWorkspace) String() string

type AddService

type AddService struct {

	// kind is the type of the service.
	Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
	// override is a boolean value to override the existing service if it exists.
	Override bool `protobuf:"varint,2,opt,name=override,proto3" json:"override,omitempty"`
	// name is the name of the service.
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// description provides a brief explanation of the service.
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	// application path is the path of the application.
	ApplicationPath string `protobuf:"bytes,5,opt,name=application_path,json=applicationPath,proto3" json:"application_path,omitempty"`
	// agent is the agent that the service belongs to.
	Agent *v0.Agent `protobuf:"bytes,6,opt,name=agent,proto3" json:"agent,omitempty"`
	// namespace is the namespace that the service belongs to.
	Namespace string `protobuf:"bytes,7,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// contains filtered or unexported fields
}

AddService message is used to add a new service to the system. It requires the kind of service, a name, description, application, project, agent, namespace, and path. The name, application, and project fields have a minimum length of 3 and a maximum length of 50 characters.

func (*AddService) Descriptor deprecated

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

Deprecated: Use AddService.ProtoReflect.Descriptor instead.

func (*AddService) GetAgent

func (x *AddService) GetAgent() *v0.Agent

func (*AddService) GetApplicationPath added in v0.1.38

func (x *AddService) GetApplicationPath() string

func (*AddService) GetDescription

func (x *AddService) GetDescription() string

func (*AddService) GetKind

func (x *AddService) GetKind() string

func (*AddService) GetName

func (x *AddService) GetName() string

func (*AddService) GetNamespace

func (x *AddService) GetNamespace() string

func (*AddService) GetOverride

func (x *AddService) GetOverride() bool

func (*AddService) ProtoMessage

func (*AddService) ProtoMessage()

func (*AddService) ProtoReflect

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

func (*AddService) Reset

func (x *AddService) Reset()

func (*AddService) String

func (x *AddService) String() string

type AddServiceDependency

type AddServiceDependency struct {

	// kind is the type of the service.
	Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
	// name is the name of the service.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// application is the name of the application that the service belongs to.
	Application string `protobuf:"bytes,3,opt,name=application,proto3" json:"application,omitempty"`
	// dependency_name is the name of the dependency.
	DependencyName string `protobuf:"bytes,4,opt,name=dependency_name,json=dependencyName,proto3" json:"dependency_name,omitempty"`
	// dependency_application is the name of the application that the dependency belongs to.
	DependencyApplication string `protobuf:"bytes,5,opt,name=dependency_application,json=dependencyApplication,proto3" json:"dependency_application,omitempty"`
	// project_path is the path of the project that the service belongs to.
	ProjectPath string `protobuf:"bytes,6,opt,name=project_path,json=projectPath,proto3" json:"project_path,omitempty"`
	// endpoints are the endpoints that the service can connect to.
	Endpoints []string `protobuf:"bytes,7,rep,name=endpoints,proto3" json:"endpoints,omitempty"`
	// contains filtered or unexported fields
}

AddServiceDependency message is used to add a dependency to a service. It requires the kind of service, a name, application, dependency name, dependency application, project, and endpoints. The name, application, dependency name, dependency application, and project fields have a minimum length of 3 and a maximum length of 50 characters.

func (*AddServiceDependency) Descriptor deprecated

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

Deprecated: Use AddServiceDependency.ProtoReflect.Descriptor instead.

func (*AddServiceDependency) GetApplication

func (x *AddServiceDependency) GetApplication() string

func (*AddServiceDependency) GetDependencyApplication

func (x *AddServiceDependency) GetDependencyApplication() string

func (*AddServiceDependency) GetDependencyName

func (x *AddServiceDependency) GetDependencyName() string

func (*AddServiceDependency) GetEndpoints

func (x *AddServiceDependency) GetEndpoints() []string

func (*AddServiceDependency) GetKind

func (x *AddServiceDependency) GetKind() string

func (*AddServiceDependency) GetName

func (x *AddServiceDependency) GetName() string

func (*AddServiceDependency) GetProjectPath added in v0.1.38

func (x *AddServiceDependency) GetProjectPath() string

func (*AddServiceDependency) ProtoMessage

func (*AddServiceDependency) ProtoMessage()

func (*AddServiceDependency) ProtoReflect

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

func (*AddServiceDependency) Reset

func (x *AddServiceDependency) Reset()

func (*AddServiceDependency) String

func (x *AddServiceDependency) String() string

type AddWorkspace

type AddWorkspace struct {
	Kind         string           `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
	Organization *v0.Organization `protobuf:"bytes,2,opt,name=organization,proto3" json:"organization,omitempty"`
	Name         string           `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Description  string           `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	Dir          string           `protobuf:"bytes,5,opt,name=dir,proto3" json:"dir,omitempty"`
	ProjectRoot  string           `protobuf:"bytes,6,opt,name=project_root,json=projectRoot,proto3" json:"project_root,omitempty"`
	// contains filtered or unexported fields
}

func (*AddWorkspace) Descriptor deprecated

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

Deprecated: Use AddWorkspace.ProtoReflect.Descriptor instead.

func (*AddWorkspace) GetDescription

func (x *AddWorkspace) GetDescription() string

func (*AddWorkspace) GetDir

func (x *AddWorkspace) GetDir() string

func (*AddWorkspace) GetKind

func (x *AddWorkspace) GetKind() string

func (*AddWorkspace) GetName

func (x *AddWorkspace) GetName() string

func (*AddWorkspace) GetOrganization

func (x *AddWorkspace) GetOrganization() *v0.Organization

func (*AddWorkspace) GetProjectRoot

func (x *AddWorkspace) GetProjectRoot() string

func (*AddWorkspace) ProtoMessage

func (*AddWorkspace) ProtoMessage()

func (*AddWorkspace) ProtoReflect

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

func (*AddWorkspace) Reset

func (x *AddWorkspace) Reset()

func (*AddWorkspace) String

func (x *AddWorkspace) String() string

type NewApplication added in v0.1.38

type NewApplication struct {

	// kind is the type of the application.
	Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
	// name is the name of the application.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// project path is the path of the project.
	// project is the name of the project that the application belongs to.
	ProjectPath string `protobuf:"bytes,3,opt,name=project_path,json=projectPath,proto3" json:"project_path,omitempty"`
	// description provides a brief explanation of the application.
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

NewApplication represents a request to create a new application. The kind field is the type of the application. The name field is the name of the application. The project field is the name of the project that the application belongs to. The description field provides a brief explanation of the application. The path field is the path where the application is located.

func (*NewApplication) Descriptor deprecated added in v0.1.38

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

Deprecated: Use NewApplication.ProtoReflect.Descriptor instead.

func (*NewApplication) GetDescription added in v0.1.38

func (x *NewApplication) GetDescription() string

func (*NewApplication) GetKind added in v0.1.38

func (x *NewApplication) GetKind() string

func (*NewApplication) GetName added in v0.1.38

func (x *NewApplication) GetName() string

func (*NewApplication) GetProjectPath added in v0.1.38

func (x *NewApplication) GetProjectPath() string

func (*NewApplication) ProtoMessage added in v0.1.38

func (*NewApplication) ProtoMessage()

func (*NewApplication) ProtoReflect added in v0.1.38

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

func (*NewApplication) Reset added in v0.1.38

func (x *NewApplication) Reset()

func (*NewApplication) String added in v0.1.38

func (x *NewApplication) String() string

type NewProject added in v0.1.38

type NewProject struct {

	// Kind is the kind of the message.
	Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
	// Name is the name of the project.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// Description is the description of the project.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// Path is the local path of the project.
	Path string `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"`
	// contains filtered or unexported fields
}

NewProject represents the request to create a new project.

func (*NewProject) Descriptor deprecated added in v0.1.38

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

Deprecated: Use NewProject.ProtoReflect.Descriptor instead.

func (*NewProject) GetDescription added in v0.1.38

func (x *NewProject) GetDescription() string

func (*NewProject) GetKind added in v0.1.38

func (x *NewProject) GetKind() string

func (*NewProject) GetName added in v0.1.38

func (x *NewProject) GetName() string

func (*NewProject) GetPath added in v0.1.38

func (x *NewProject) GetPath() string

func (*NewProject) ProtoMessage added in v0.1.38

func (*NewProject) ProtoMessage()

func (*NewProject) ProtoReflect added in v0.1.38

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

func (*NewProject) Reset added in v0.1.38

func (x *NewProject) Reset()

func (*NewProject) String added in v0.1.38

func (x *NewProject) String() string

type SetApplicationActive

type SetApplicationActive struct {

	// kind is the type of the application.
	Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
	// name is the name of the application.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// project is the name of the project that the application belongs to.
	Project string `protobuf:"bytes,3,opt,name=project,proto3" json:"project,omitempty"`
	// workspace is the name of the workspace where the application will be set as active.
	Workspace string `protobuf:"bytes,4,opt,name=workspace,proto3" json:"workspace,omitempty"`
	// contains filtered or unexported fields
}

SetApplicationActive represents a request to set an application as active. The kind field is the type of the application. The name field is the name of the application. The project field is the name of the project that the application belongs to. The workspace field is the name of the workspace where the application will be set as active.

func (*SetApplicationActive) Descriptor deprecated

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

Deprecated: Use SetApplicationActive.ProtoReflect.Descriptor instead.

func (*SetApplicationActive) GetKind

func (x *SetApplicationActive) GetKind() string

func (*SetApplicationActive) GetName

func (x *SetApplicationActive) GetName() string

func (*SetApplicationActive) GetProject

func (x *SetApplicationActive) GetProject() string

func (*SetApplicationActive) GetWorkspace added in v0.1.18

func (x *SetApplicationActive) GetWorkspace() string

func (*SetApplicationActive) ProtoMessage

func (*SetApplicationActive) ProtoMessage()

func (*SetApplicationActive) ProtoReflect

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

func (*SetApplicationActive) Reset

func (x *SetApplicationActive) Reset()

func (*SetApplicationActive) String

func (x *SetApplicationActive) String() string

type SetProjectActive

type SetProjectActive struct {

	// Kind is the kind of the message.
	Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
	// Workspace is the name of the workspace.
	Workspace string `protobuf:"bytes,2,opt,name=workspace,proto3" json:"workspace,omitempty"`
	// Name is the name of the project.
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

SetProjectActive represents the request to set a project as active in workspace.

func (*SetProjectActive) Descriptor deprecated

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

Deprecated: Use SetProjectActive.ProtoReflect.Descriptor instead.

func (*SetProjectActive) GetKind

func (x *SetProjectActive) GetKind() string

func (*SetProjectActive) GetName

func (x *SetProjectActive) GetName() string

func (*SetProjectActive) GetWorkspace

func (x *SetProjectActive) GetWorkspace() string

func (*SetProjectActive) ProtoMessage

func (*SetProjectActive) ProtoMessage()

func (*SetProjectActive) ProtoReflect

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

func (*SetProjectActive) Reset

func (x *SetProjectActive) Reset()

func (*SetProjectActive) String

func (x *SetProjectActive) String() string

type SetServiceActive

type SetServiceActive struct {

	// kind is the type of the service.
	Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
	// name is the name of the service.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// application is the name of the application that the service belongs to.
	Application string `protobuf:"bytes,3,opt,name=application,proto3" json:"application,omitempty"`
	// project is the name of the project that the service belongs to.
	Project string `protobuf:"bytes,4,opt,name=project,proto3" json:"project,omitempty"`
	// workspace is the name of the workspace that the service belongs to.
	Workspace string `protobuf:"bytes,5,opt,name=workspace,proto3" json:"workspace,omitempty"`
	// contains filtered or unexported fields
}

SetServiceActive message is used to set a service as active. It requires the kind of service, a name, application, and project. The name, application, and project fields have a minimum length of 3 and a maximum length of 50 characters.

func (*SetServiceActive) Descriptor deprecated

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

Deprecated: Use SetServiceActive.ProtoReflect.Descriptor instead.

func (*SetServiceActive) GetApplication

func (x *SetServiceActive) GetApplication() string

func (*SetServiceActive) GetKind

func (x *SetServiceActive) GetKind() string

func (*SetServiceActive) GetName

func (x *SetServiceActive) GetName() string

func (*SetServiceActive) GetProject

func (x *SetServiceActive) GetProject() string

func (*SetServiceActive) GetWorkspace added in v0.1.18

func (x *SetServiceActive) GetWorkspace() string

func (*SetServiceActive) ProtoMessage

func (*SetServiceActive) ProtoMessage()

func (*SetServiceActive) ProtoReflect

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

func (*SetServiceActive) Reset

func (x *SetServiceActive) Reset()

func (*SetServiceActive) String

func (x *SetServiceActive) String() string

Jump to

Keyboard shortcuts

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