output

package
v0.0.4-rc3 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2018 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Deployment

type Deployment struct {
	Injectors              []apply.ConfigInjector
	ClusterRoleBindings    map[string]*rbacv1.ClusterRoleBinding
	ClusterRoles           map[string]*rbacv1.ClusterRole
	ConfigMaps             map[string]*v1.ConfigMap
	DaemonSets             map[string]*appsv1.DaemonSet
	Deployments            map[string]*appsv1.Deployment
	DestinationRules       map[string]*IstioObject
	PersistentVolumeClaims map[string]*v1.PersistentVolumeClaim
	PodDisruptionBudgets   map[string]*v1beta12.PodDisruptionBudget
	RoleBindings           map[string]*rbacv1.RoleBinding
	Roles                  map[string]*rbacv1.Role
	ServiceAccounts        map[string]*v1.ServiceAccount
	Services               map[string]*v1.Service
	StatefulSets           map[string]*appsv1.StatefulSet
	VirtualServices        map[string]*IstioObject
	ServiceEntries         map[string]*IstioObject
}

func NewDeployment

func NewDeployment() *Deployment

func (*Deployment) Deploy

func (d *Deployment) Deploy(ns, groupID string) error

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 ServiceSet

type ServiceSet struct {
	Service   *v1beta1.Service
	Revisions []*v1beta1.Service
}

type Services

type Services map[string]*ServiceSet

func (Services) List

func (s Services) List() []*v1beta1.Service

Source Files

  • types.go

Jump to

Keyboard shortcuts

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