kapp

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewResource

func NewResource(logger logger.Logger) *schema.Resource

Types

type Kapp

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

func (*Kapp) Delete

func (t *Kapp) Delete() (string, string, error)

func (*Kapp) Deploy

func (t *Kapp) Deploy() (string, string, error)

func (*Kapp) Diff

func (t *Kapp) Diff() (string, string, error)

type Kubeconfig

type Kubeconfig interface {
	AsString() (string, string, error)
}

type Resource

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

func (Resource) Create

func (r Resource) Create(d *schema.ResourceData, meta interface{}) error

func (Resource) CustomizeDiff

func (r Resource) CustomizeDiff(diff *schema.ResourceDiff, meta interface{}) error

func (Resource) Delete

func (r Resource) Delete(d *schema.ResourceData, meta interface{}) error

func (Resource) Read

func (r Resource) Read(d *schema.ResourceData, meta interface{}) error

func (Resource) Update

func (r Resource) Update(d *schema.ResourceData, meta interface{}) error

type ResourceData

type ResourceData interface {
	Get(key string) interface{}
	GetOk(key string) (interface{}, bool)
}

type SettableDiff

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

func (SettableDiff) Get

func (d SettableDiff) Get(key string) interface{}

func (SettableDiff) GetOk

func (d SettableDiff) GetOk(key string) (interface{}, bool)

func (SettableDiff) Set

func (d SettableDiff) Set(key string, val interface{}) error

type SettableResourceData

type SettableResourceData interface {
	ResourceData
	Set(key string, val interface{}) error
}

Jump to

Keyboard shortcuts

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