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: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Backend

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

func NewBackend

func NewBackend(componentResolver resolver.Interface) *Backend

func (*Backend) Builds

func (*Backend) Create

func (b *Backend) Create(systemID v1.SystemID, definitionURL string) (*v1.System, error)

func (*Backend) Delete

func (b *Backend) Delete(systemID v1.SystemID) error

func (*Backend) Deploys

func (*Backend) Get

func (b *Backend) Get(systemID v1.SystemID) (*v1.System, error)

func (*Backend) Jobs

func (*Backend) List

func (b *Backend) List() ([]v1.System, error)

func (*Backend) NodePools

func (*Backend) Secrets

func (*Backend) Services

func (*Backend) Teardowns

type BuildBackend

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

func (*BuildBackend) CreateFromPath

func (b *BuildBackend) CreateFromPath(p tree.Path) (*v1.Build, error)

func (*BuildBackend) CreateFromVersion

func (b *BuildBackend) CreateFromVersion(v v1.Version) (*v1.Build, error)

func (*BuildBackend) Get

func (b *BuildBackend) Get(id v1.BuildID) (*v1.Build, error)

func (*BuildBackend) List

func (b *BuildBackend) List() ([]v1.Build, error)

func (*BuildBackend) Logs

func (b *BuildBackend) Logs(
	id v1.BuildID,
	path tree.Path,
	sidecar *string,
	logOptions *v1.ContainerLogOptions,
) (io.ReadCloser, error)

type DeployBackend

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

func (*DeployBackend) CreateFromBuild

func (b *DeployBackend) CreateFromBuild(id v1.BuildID) (*v1.Deploy, error)

func (*DeployBackend) CreateFromPath

func (b *DeployBackend) CreateFromPath(p tree.Path) (*v1.Deploy, error)

func (*DeployBackend) CreateFromVersion

func (b *DeployBackend) CreateFromVersion(v v1.Version) (*v1.Deploy, error)

func (*DeployBackend) Get

func (b *DeployBackend) Get(id v1.DeployID) (*v1.Deploy, error)

func (*DeployBackend) List

func (b *DeployBackend) List() ([]v1.Deploy, error)

type JobBackend

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

func (*JobBackend) Get

func (b *JobBackend) Get(id v1.JobID) (*v1.Job, error)

func (*JobBackend) List

func (b *JobBackend) List() ([]v1.Job, error)

func (*JobBackend) Logs

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

func (*JobBackend) Run

func (b *JobBackend) Run(
	path tree.Path,
	command []string,
	environment definitionv1.ContainerEnvironment,
) (*v1.Job, error)

type NodePoolBackend

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

func (*NodePoolBackend) Get

func (*NodePoolBackend) List

func (b *NodePoolBackend) List() ([]v1.NodePool, error)

type SecretBackend

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

func (*SecretBackend) Get

func (b *SecretBackend) Get(path tree.PathSubcomponent) (*v1.Secret, error)

func (*SecretBackend) List

func (b *SecretBackend) List() ([]v1.Secret, error)

Secrets

func (*SecretBackend) Set

func (b *SecretBackend) Set(path tree.PathSubcomponent, value string) error

func (*SecretBackend) Unset

func (b *SecretBackend) Unset(path tree.PathSubcomponent) error

type ServiceBackend

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

func (*ServiceBackend) Get

func (b *ServiceBackend) Get(id v1.ServiceID) (*v1.Service, error)

func (*ServiceBackend) GetByPath

func (b *ServiceBackend) GetByPath(path tree.Path) (*v1.Service, error)

func (*ServiceBackend) List

func (b *ServiceBackend) List() ([]v1.Service, error)

Services

func (*ServiceBackend) Logs

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

type TeardownBackend

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

func (*TeardownBackend) Create

func (b *TeardownBackend) Create() (*v1.Teardown, error)

func (*TeardownBackend) Get

func (b *TeardownBackend) Get(id v1.TeardownID) (*v1.Teardown, error)

func (*TeardownBackend) List

func (b *TeardownBackend) List() ([]v1.Teardown, error)

Jump to

Keyboard shortcuts

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