ambassador

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdminService

type AdminService struct {
	Create      bool              `yaml:"create"`
	Type        string            `yaml:"type"`
	Port        int               `yaml:"port"`
	Annotations map[string]string `yaml:"annotations"`
}

type Ambassador

type Ambassador struct {
	ApplicationDirectoryPath string
	// contains filtered or unexported fields
}

func New

func New(logger logging.Logger, toolsDirectoryPath string) *Ambassador

func (*Ambassador) Reconcile

func (a *Ambassador) Reconcile(overlay string, specNamespace string, helm *template.Helm, spec *toolsetsv1beta1.Ambassador) error

type Autoscaling

type Autoscaling struct {
	Enabled     bool      `yaml:"enabled"`
	MinReplicas int       `yaml:"minReplicas"`
	MaxReplicas int       `yaml:"maxReplicas"`
	Metrics     []*Metric `yaml:"metrics"`
}

type Crds

type Crds struct {
	Enabled bool `yaml:"enabled"`
	Create  bool `yaml:"create"`
	Keep    bool `yaml:"keep"`
}

type Image

type Image struct {
	Repository string `yaml:"repository"`
	Tag        string `yaml:"tag"`
	PullPolicy string `yaml:"pullPolicy"`
}

type Metric

type Metric struct {
	Type     string    `yaml:"type"`
	Resource *Resource `yaml:"resource"`
}

type Namespace

type Namespace struct {
	Name string `yaml:"name,omitempty"`
}

type Port

type Port struct {
	Name       string `yaml:"name"`
	Port       int    `yaml:"port"`
	TargetPort int    `yaml:"targetPort"`
	NodePort   int    `yaml:"nodePort"`
}

type Pro

type Pro struct {
	Enabled bool   `yaml:"enabled"`
	Image   *Image `yaml:"image"`
	Ports   struct {
		Auth      int `yaml:"auth"`
		Ratelimit int `yaml:"ratelimit"`
	} `yaml:"ports"`
	LogLevel   string `yaml:"logLevel"`
	LicenseKey struct {
		Value  string `yaml:"value"`
		Secret struct {
			Enabled bool `yaml:"enabled"`
			Create  bool `yaml:"create"`
		} `yaml:"secret"`
	} `yaml:"licenseKey"`
	Env struct {
	} `yaml:"env"`
	Resources struct {
	} `yaml:"resources"`
	AuthService struct {
		Enabled                bool        `yaml:"enabled"`
		OptionalConfigurations interface{} `yaml:"optional_configurations"`
	} `yaml:"authService"`
	RateLimit struct {
		Enabled bool `yaml:"enabled"`
		Redis   struct {
			Annotations struct {
				Deployment struct {
				} `yaml:"deployment"`
				Service struct {
				} `yaml:"service"`
			} `yaml:"annotations"`
			Resources struct {
			} `yaml:"resources"`
		} `yaml:"redis"`
	} `yaml:"rateLimit"`
	DevPortal struct {
		Enabled bool `yaml:"enabled"`
	} `yaml:"devPortal"`
}

type PrometheusExporter

type PrometheusExporter struct {
	Enabled    bool   `yaml:"enabled"`
	Repository string `yaml:"repository"`
	Tag        string `yaml:"tag"`
	PullPolicy string `yaml:"pullPolicy"`
	Resources  struct {
	} `yaml:"resources"`
	Configuration string `yaml:"configuration"`
}

type Rbac

type Rbac struct {
	Create              bool `yaml:"create"`
	PodSecurityPolicies struct {
	} `yaml:"podSecurityPolicies"`
}

type Resource

type Resource struct {
	Name                     string `yaml:"name"`
	TargetAverageUtilization int    `yaml:"targetAverageUtilization"`
}

type Scope

type Scope struct {
	SingleNamespace bool `yaml:"singleNamespace"`
}

type SecurityContext

type SecurityContext struct {
	RunAsUser int `yaml:"runAsUser"`
}

type Service

type Service struct {
	Type        string            `yaml:"type"`
	Ports       []*Port           `yaml:"ports"`
	Annotations map[string]string `yaml:"annotations"`
}

type ServiceAccount

type ServiceAccount struct {
	Create bool        `yaml:"create"`
	Name   interface{} `yaml:"name"`
}

type Values

type Values struct {
	ReplicaCount          int                 `yaml:"replicaCount"`
	DaemonSet             bool                `yaml:"daemonSet"`
	Autoscaling           *Autoscaling        `yaml:"autoscaling"`
	PodDisruptionBudget   struct{}            `yaml:"podDisruptionBudget"`
	Namespace             *Namespace          `yaml:"namespace"`
	Env                   map[string]string   `yaml:"env"`
	ImagePullSecrets      []interface{}       `yaml:"imagePullSecrets"`
	SecurityContext       *SecurityContext    `yaml:"securityContext"`
	Image                 *Image              `yaml:"image"`
	NameOverride          string              `yaml:"nameOverride"`
	FullnameOverride      string              `yaml:"fullnameOverride"`
	DNSPolicy             string              `yaml:"dnsPolicy"`
	HostNetwork           bool                `yaml:"hostNetwork"`
	Service               *Service            `yaml:"service"`
	AdminService          *AdminService       `yaml:"adminService"`
	Rbac                  *Rbac               `yaml:"rbac"`
	Scope                 *Scope              `yaml:"scope"`
	ServiceAccount        *ServiceAccount     `yaml:"serviceAccount"`
	InitContainers        []interface{}       `yaml:"initContainers"`
	SidecarContainers     []interface{}       `yaml:"sidecarContainers"`
	Volumes               []interface{}       `yaml:"volumes"`
	VolumeMounts          []interface{}       `yaml:"volumeMounts"`
	PodLabels             map[string]string   `yaml:"podLabels"`
	PodAnnotations        map[string]string   `yaml:"podAnnotations"`
	DeploymentAnnotations map[string]string   `yaml:"deploymentAnnotations"`
	Resources             struct{}            `yaml:"resources"`
	PriorityClassName     string              `yaml:"priorityClassName"`
	NodeSelector          struct{}            `yaml:"nodeSelector"`
	Tolerations           []interface{}       `yaml:"tolerations"`
	Affinity              struct{}            `yaml:"affinity"`
	AmbassadorConfig      string              `yaml:"ambassadorConfig"`
	Crds                  *Crds               `yaml:"crds"`
	Pro                   *Pro                `yaml:"pro"`
	PrometheusExporter    *PrometheusExporter `yaml:"prometheusExporter"`
}

Jump to

Keyboard shortcuts

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