Back to godoc.org
istio.io/istio/pkg/test/framework/components/deployment

package deployment

v0.0.0 (df8ea82)
Latest Go to latest
Published: May 18, 2020 | License: Apache-2.0 | Module: istio.io/istio

Index

type Config

type Config struct {
	Name string

	// Namespace of deployment. If left empty, default will be used.
	Namespace namespace.Instance

	// The yaml contents to deploy.
	Yaml string

	// Cluster to be used in a multicluster environment
	Cluster resource.Cluster
}

type Instance

type Instance interface {
	resource.Resource

	// Name of the deployment, for debugging purposes.
	Name() string

	// Namespace of the deployment, if any.
	Namespace() namespace.Instance
}

Instance of a deployment. Wraps over pkg/test/deployment instances for test framework integration purposes.

func New

func New(ctx resource.Context, cfg Config) (i Instance, err error)

New returns a new instance of deployment.

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
f or F : Jump to identifier