resources

package
v0.15.18 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2017 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DependenciesCreate

func DependenciesCreate(p *project.Project) (project.ResourceSet, error)

func HostsCreate

func HostsCreate(p *project.Project) (project.ResourceSet, error)

func KubernetesResourcesCreate added in v0.15.2

func KubernetesResourcesCreate(p *project.Project) (project.ResourceSet, error)

func SecretsCreate

func SecretsCreate(p *project.Project) (project.ResourceSet, error)

func ServicesCreate

func ServicesCreate(p *project.Project) (project.ResourceSet, error)

func VolumesCreate

func VolumesCreate(p *project.Project) (project.ResourceSet, error)

Types

type Dependencies

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

func (*Dependencies) Initialize

func (h *Dependencies) Initialize(ctx context.Context, _ options.Options) error

type Dependency

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

func (*Dependency) EnsureItExists

func (d *Dependency) EnsureItExists(ctx context.Context) error

type Host

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

func (*Host) EnsureItExists

func (h *Host) EnsureItExists(ctx context.Context) error

type Hosts

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

func (*Hosts) Initialize

func (h *Hosts) Initialize(ctx context.Context, _ options.Options) error

type KubernetesResources added in v0.15.2

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

func (*KubernetesResources) Initialize added in v0.15.2

func (h *KubernetesResources) Initialize(ctx context.Context, _ options.Options) error

type Secret

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

func (*Secret) EnsureItExists

func (s *Secret) EnsureItExists(ctx context.Context) error

type Secrets

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

func (*Secrets) Initialize

func (s *Secrets) Initialize(ctx context.Context, _ options.Options) error

type Service

type Service interface {
	Create(ctx context.Context, options options.Options) error
	Up(ctx context.Context, options options.Options) error

	//Config() *config.ServiceConfig
	Name() string
}

type Services

type Services struct {
	Project      *project.Project
	Services     map[string]Service
	ServiceOrder []string
}

func (*Services) Initialize

func (s *Services) Initialize(ctx context.Context, options options.Options) error

func (*Services) Start

func (s *Services) Start(ctx context.Context, options options.Options) error

type Volume

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

func NewVolume

func NewVolume(p *project.Project, name string, config *config.VolumeConfig) *Volume

func (*Volume) EnsureItExists

func (v *Volume) EnsureItExists(ctx context.Context) error

func (*Volume) Inspect

func (v *Volume) Inspect(ctx context.Context) (*client.VolumeTemplate, error)

Inspect looks up a volume template

func (*Volume) Remove

func (v *Volume) Remove(ctx context.Context) error

type Volumes

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

func (*Volumes) Initialize

func (v *Volumes) Initialize(ctx context.Context, _ options.Options) error

func (*Volumes) Remove

func (v *Volumes) Remove(ctx context.Context) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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