system

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2018 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 BuildClient

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

func NewBuildClient

func NewBuildClient(c rest.Client, apiServerURL string, systemID v1.SystemID) *BuildClient

func (*BuildClient) CreateFromPath

func (c *BuildClient) CreateFromPath(path tree.Path) (*v1.Build, error)

func (*BuildClient) CreateFromVersion

func (c *BuildClient) CreateFromVersion(version v1.Version) (*v1.Build, error)

func (*BuildClient) Get

func (c *BuildClient) Get(id v1.BuildID) (*v1.Build, error)

func (*BuildClient) List

func (c *BuildClient) List() ([]v1.Build, error)

func (*BuildClient) Logs

func (c *BuildClient) Logs(
	id v1.BuildID,
	path tree.Path,
	sidecar *string,
	options *v1.ContainerLogOptions,
) (io.ReadCloser, error)

type DeployClient

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

func NewDeployClient

func NewDeployClient(c rest.Client, apiServerURL string, systemID v1.SystemID) *DeployClient

func (*DeployClient) CreateFromBuild

func (c *DeployClient) CreateFromBuild(id v1.BuildID) (*v1.Deploy, error)

func (*DeployClient) CreateFromPath

func (c *DeployClient) CreateFromPath(path tree.Path) (*v1.Deploy, error)

func (*DeployClient) CreateFromVersion

func (c *DeployClient) CreateFromVersion(version v1.Version) (*v1.Deploy, error)

func (*DeployClient) Get

func (c *DeployClient) Get(id v1.DeployID) (*v1.Deploy, error)

func (*DeployClient) List

func (c *DeployClient) List() ([]v1.Deploy, error)

type JobClient

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

func NewJobClient

func NewJobClient(c rest.Client, apiServerURL string, systemID v1.SystemID) *JobClient

func (*JobClient) Create

func (c *JobClient) Create(path tree.Path, command []string, environment definitionv1.ContainerEnvironment) (*v1.Job, error)

func (*JobClient) Get

func (c *JobClient) Get(id v1.JobID) (*v1.Job, error)

func (*JobClient) List

func (c *JobClient) List() ([]v1.Job, error)

func (*JobClient) Logs

func (c *JobClient) Logs(
	id v1.JobID,
	sidecar *string,
	logOptions *v1.ContainerLogOptions,
) (io.ReadCloser, error)

type SecretClient

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

func NewSecretClient

func NewSecretClient(c rest.Client, apiServerURL string, systemID v1.SystemID) *SecretClient

func (*SecretClient) Get

func (c *SecretClient) Get(path tree.PathSubcomponent) (*v1.Secret, error)

func (*SecretClient) List

func (c *SecretClient) List() ([]v1.Secret, error)

func (*SecretClient) Set

func (c *SecretClient) Set(path tree.PathSubcomponent, value string) error

func (*SecretClient) Unset

func (c *SecretClient) Unset(path tree.PathSubcomponent) error

type ServiceClient

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

func NewServiceClient

func NewServiceClient(c rest.Client, apiServerURL string, systemID v1.SystemID) *ServiceClient

func (*ServiceClient) Get

func (c *ServiceClient) Get(id v1.ServiceID) (*v1.Service, error)

func (*ServiceClient) GetByPath

func (c *ServiceClient) GetByPath(path tree.Path) (*v1.Service, error)

func (*ServiceClient) List

func (c *ServiceClient) List() ([]v1.Service, error)

func (*ServiceClient) Logs

func (c *ServiceClient) Logs(
	id v1.ServiceID,
	instance, sidecar *string,
	logOptions *v1.ContainerLogOptions,
) (io.ReadCloser, error)

type TeardownClient

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

func NewTeardownClient

func NewTeardownClient(c rest.Client, apiServerURL string, systemID v1.SystemID) *TeardownClient

func (*TeardownClient) Create

func (c *TeardownClient) Create() (*v1.Teardown, error)

func (*TeardownClient) Get

func (c *TeardownClient) Get(id v1.TeardownID) (*v1.Teardown, error)

func (*TeardownClient) List

func (c *TeardownClient) List() ([]v1.Teardown, error)

Jump to

Keyboard shortcuts

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