deploy

package
v0.0.1-rc1 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2018 License: Apache-2.0 Imports: 25 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
}

Source Files

  • configs.go
  • deploy.go
  • deploy_mesh.go
  • istio_deploy.go
  • istio_destinations.go
  • istio_virtualservice.go
  • service_container.go
  • service_daemonset.go
  • service_deployment.go
  • service_nodeport.go
  • service_pdb.go
  • service_pod.go
  • service_role.go
  • service_scale.go
  • service_service.go
  • service_statefulset.go
  • service_volumes.go
  • services.go
  • types.go
  • volumes.go

Jump to

Keyboard shortcuts

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