deploy

package
v0.0.3-rc3 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2018 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Deploy

func Deploy(namespace string, stack *StackResources, injectors ...apply.ConfigInjector) error

func IstioObjects

func IstioObjects(namespace string, stack *StackResources) ([]runtime.Object, error)

func MergeRevisionToService

func MergeRevisionToService(service *v1beta1.Service, revision string) (*v1beta1.ServiceUnversionedSpec, error)

func Mesh

func Mesh(namespace string, stack *StackResources) error

Types

type IstioObject

type IstioObject struct {
	types.Namespaced

	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec interface{} `json:"spec,omitempty"`
}

func (*IstioObject) DeepCopyObject

func (i *IstioObject) DeepCopyObject() runtime.Object

type StackResources

type StackResources struct {
	Configs  []*v1beta1.Config
	Services []*v1beta1.Service
	Volumes  []*v1beta1.Volume
	RouteSet []*v1beta1.RouteSet
}

Jump to

Keyboard shortcuts

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