v1

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Interface

type Interface interface {
	Systems() SystemBackend
}

type SystemBuildBackend

type SystemBuildBackend interface {
	CreateFromPath(tree.Path) (*v1.Build, error)
	CreateFromVersion(v1.Version) (*v1.Build, error)
	List() ([]v1.Build, error)
	Get(v1.BuildID) (*v1.Build, error)
	Logs(id v1.BuildID, path tree.Path, sidecar *string, options *v1.ContainerLogOptions) (io.ReadCloser, error)
}

type SystemDeployBackend

type SystemDeployBackend interface {
	CreateFromBuild(v1.BuildID) (*v1.Deploy, error)
	CreateFromPath(tree.Path) (*v1.Deploy, error)
	CreateFromVersion(v1.Version) (*v1.Deploy, error)
	List() ([]v1.Deploy, error)
	Get(v1.DeployID) (*v1.Deploy, error)
}

type SystemJobBackend

type SystemJobBackend interface {
	Run(path tree.Path, command []string, environment definitionv1.ContainerEnvironment) (*v1.Job, error)
	List() ([]v1.Job, error)
	Get(v1.JobID) (*v1.Job, error)
	Logs(id v1.JobID, sidecar *string, options *v1.ContainerLogOptions) (io.ReadCloser, error)
}

type SystemNodePoolBackend

type SystemNodePoolBackend interface {
	List() ([]v1.NodePool, error)
	Get(path tree.PathSubcomponent) (*v1.NodePool, error)
}

type SystemSecretBackend

type SystemSecretBackend interface {
	List() ([]v1.Secret, error)
	Get(tree.PathSubcomponent) (*v1.Secret, error)
	Set(path tree.PathSubcomponent, value string) error
	Unset(tree.PathSubcomponent) error
}

type SystemServiceBackend

type SystemServiceBackend interface {
	List() ([]v1.Service, error)
	Get(v1.ServiceID) (*v1.Service, error)
	GetByPath(tree.Path) (*v1.Service, error)
	Logs(
		id v1.ServiceID,
		sidecar *string,
		instance string,
		options *v1.ContainerLogOptions,
	) (io.ReadCloser, error)
}

type SystemTeardownBackend

type SystemTeardownBackend interface {
	Create() (*v1.Teardown, error)
	List() ([]v1.Teardown, error)
	Get(v1.TeardownID) (*v1.Teardown, error)
}

Jump to

Keyboard shortcuts

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