agent

package
v0.0.0-...-73f03d9 Latest Latest
Warning

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

Go to latest
Published: May 20, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Agent

type Agent struct {
	agentpb.UnimplementedAgentServer
	// contains filtered or unexported fields
}

func NewAgent

func NewAgent(log logging.Logger) (*Agent, error)

func (*Agent) ClimonAppDelete

func (a *Agent) ClimonAppDelete(ctx context.Context, request *agentpb.ClimonDeleteRequest) (*agentpb.JobResponse, error)

func (*Agent) ClimonAppInstall

func (a *Agent) ClimonAppInstall(ctx context.Context, request *agentpb.ClimonInstallRequest) (*agentpb.JobResponse, error)

func (*Agent) ClusterAdd

func (a *Agent) ClusterAdd(ctx context.Context, request *agentpb.ClusterRequest) (*agentpb.JobResponse, error)

func (*Agent) ClusterDelete

func (a *Agent) ClusterDelete(ctx context.Context, request *agentpb.ClusterRequest) (*agentpb.JobResponse, error)

func (*Agent) DeployerAppDelete

func (a *Agent) DeployerAppDelete(ctx context.Context, request *agentpb.ApplicationDeleteRequest) (*agentpb.JobResponse, error)

func (*Agent) DeployerAppInstall

func (a *Agent) DeployerAppInstall(ctx context.Context, request *agentpb.ApplicationInstallRequest) (*agentpb.JobResponse, error)

func (*Agent) ProjectAdd

func (a *Agent) ProjectAdd(ctx context.Context, request *agentpb.ProjectAddRequest) (*agentpb.JobResponse, error)

func (*Agent) ProjectDelete

func (a *Agent) ProjectDelete(ctx context.Context, request *agentpb.ProjectDeleteRequest) (*agentpb.JobResponse, error)

func (*Agent) RepositoryAdd

func (a *Agent) RepositoryAdd(ctx context.Context, request *agentpb.RepositoryAddRequest) (*agentpb.JobResponse, error)

func (*Agent) RepositoryDelete

func (a *Agent) RepositoryDelete(ctx context.Context, request *agentpb.RepositoryDeleteRequest) (*agentpb.JobResponse, error)

func (*Agent) StoreCred

func (a *Agent) StoreCred(ctx context.Context, request *agentpb.StoreCredRequest) (*agentpb.StoreCredResponse, error)

func (*Agent) SubmitJob

func (a *Agent) SubmitJob(ctx context.Context, request *agentpb.JobRequest) (*agentpb.JobResponse, error)

type Vault

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

func GetVaultServClient

func GetVaultServClient() (*Vault, error)

func (*Vault) StoreCred

Jump to

Keyboard shortcuts

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