mocks

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2017 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Resource = helm_releases.Release{
	Name:      "my-release-name",
	Namespace: "my-namespace",
	Chart: &chart.Chart{
		Metadata: &chart.Metadata{
			Name:    "my-chart",
			Version: "1.2.3",
			Icon:    "chart-icon",
		},
	},
	Info: &helm_releases.Info{
		LastDeployed: &timestamp.Timestamp{},
		Status: &helm_releases.Status{
			Code:      200,
			Resources: "my-resources",
			Notes:     "my-notes",
		},
	},
}

Resource represents a Helm release resource

Functions

func NewMockCharts

func NewMockCharts() data.Charts

NewMockCharts returns a new mockCharts

func NewMockedBrokenClient

func NewMockedBrokenClient() data.Client

NewMockedBrokenClient Fails to initialize

func NewMockedClient

func NewMockedClient() data.Client

NewMockedClient returns a mocked version of the Helm Client

Types

This section is empty.

Jump to

Keyboard shortcuts

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