Documentation ¶
Index ¶
- type Backend
- func (b *Backend) Builds(id v1.SystemID) backendv1.SystemBuildBackend
- func (b *Backend) Create(systemID v1.SystemID, definitionURL string) (*v1.System, error)
- func (b *Backend) Delete(systemID v1.SystemID) error
- func (b *Backend) Deploys(id v1.SystemID) backendv1.SystemDeployBackend
- func (b *Backend) Get(systemID v1.SystemID) (*v1.System, error)
- func (b *Backend) Jobs(id v1.SystemID) backendv1.SystemJobBackend
- func (b *Backend) List() ([]v1.System, error)
- func (b *Backend) NodePools(id v1.SystemID) backendv1.SystemNodePoolBackend
- func (b *Backend) Secrets(id v1.SystemID) backendv1.SystemSecretBackend
- func (b *Backend) Services(id v1.SystemID) backendv1.SystemServiceBackend
- func (b *Backend) Teardowns(id v1.SystemID) backendv1.SystemTeardownBackend
- type BuildBackend
- func (b *BuildBackend) CreateFromPath(p tree.Path) (*v1.Build, error)
- func (b *BuildBackend) CreateFromVersion(v v1.Version) (*v1.Build, error)
- func (b *BuildBackend) Get(id v1.BuildID) (*v1.Build, error)
- func (b *BuildBackend) List() ([]v1.Build, error)
- func (b *BuildBackend) Logs(id v1.BuildID, path tree.Path, sidecar *string, ...) (io.ReadCloser, error)
- type DeployBackend
- func (b *DeployBackend) CreateFromBuild(id v1.BuildID) (*v1.Deploy, error)
- func (b *DeployBackend) CreateFromPath(p tree.Path) (*v1.Deploy, error)
- func (b *DeployBackend) CreateFromVersion(v v1.Version) (*v1.Deploy, error)
- func (b *DeployBackend) Get(id v1.DeployID) (*v1.Deploy, error)
- func (b *DeployBackend) List() ([]v1.Deploy, error)
- type JobBackend
- type NodePoolBackend
- type SecretBackend
- type ServiceBackend
- func (b *ServiceBackend) Get(id v1.ServiceID) (*v1.Service, error)
- func (b *ServiceBackend) GetByPath(path tree.Path) (*v1.Service, error)
- func (b *ServiceBackend) List() ([]v1.Service, error)
- func (b *ServiceBackend) Logs(id v1.ServiceID, sidecar *string, instance string, ...) (io.ReadCloser, error)
- type TeardownBackend
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 (*Backend) NodePools ¶
func (b *Backend) NodePools(id v1.SystemID) backendv1.SystemNodePoolBackend
type BuildBackend ¶
type BuildBackend struct {
// contains filtered or unexported fields
}
func (*BuildBackend) CreateFromPath ¶
func (*BuildBackend) CreateFromVersion ¶
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 (*DeployBackend) CreateFromPath ¶
func (*DeployBackend) CreateFromVersion ¶
type JobBackend ¶
type JobBackend struct {
// contains filtered or unexported fields
}
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 (b *NodePoolBackend) Get(path tree.PathSubcomponent) (*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) 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) 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) Get ¶
func (b *TeardownBackend) Get(id v1.TeardownID) (*v1.Teardown, error)
Click to show internal directories.
Click to hide internal directories.