generate

package
v0.18.2 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2019 License: Apache-2.0 Imports: 1 Imported by: 9

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Chart

type Chart struct {
	ApiVersion  string   `json:"apiVersion"`
	Description string   `json:"description"`
	Name        string   `json:"name"`
	Version     string   `json:"version"`
	Home        string   `json:"home"`
	Icon        string   `json:"icon"`
	Sources     []string `json:"sources"`
}

type Config

type Config struct {
	Namespace      *Namespace              `json:"namespace,omitempty"`
	Rbac           *Rbac                   `json:"rbac,omitempty"`
	Crds           *Crds                   `json:"crds,omitempty"`
	Settings       *Settings               `json:"settings,omitempty"`
	Gloo           *Gloo                   `json:"gloo,omitempty"`
	Discovery      *Discovery              `json:"discovery,omitempty"`
	Gateway        *Gateway                `json:"gateway,omitempty"`
	GatewayProxies map[string]GatewayProxy `json:"gatewayProxies,omitempty"`
	Ingress        *Ingress                `json:"ingress,omitempty"`
	IngressProxy   *IngressProxy           `json:"ingressProxy,omitempty"`
	K8s            *K8s                    `json:"k8s,omitempty"`
}

type Crds added in v0.12.0

type Crds struct {
	Create bool `json:"create"`
}

type DaemonSetSpec added in v0.17.3

type DaemonSetSpec struct {
	HostPort bool `json:"hostPort"`
}

type DeploymentSpec

type DeploymentSpec struct {
	Replicas  int                   `json:"replicas"`
	Resources *ResourceRequirements `json:"resources"`
}

type Discovery

type Discovery struct {
	Deployment *DiscoveryDeployment `json:"deployment,omitempty"`
	FdsMode    string               `json:"fdsMode"`
}

type DiscoveryDeployment

type DiscoveryDeployment struct {
	Image *Image `json:"image,omitempty"`
	*DeploymentSpec
}

type Gateway

type Gateway struct {
	Enabled       *bool                 `json:"enabled"`
	Upgrade       *bool                 `json:"upgrade"`
	Deployment    *GatewayDeployment    `json:"deployment,omitempty"`
	ConversionJob *GatewayConversionJob `json:"conversionJob,omitempty"`
}

type GatewayConversionJob added in v0.18.0

type GatewayConversionJob struct {
	Image *Image `json:"image,omitempty"`
	*JobSpec
}

type GatewayDeployment

type GatewayDeployment struct {
	Image *Image `json:"image,omitempty"`
	*DeploymentSpec
}

type GatewayProxy

type GatewayProxy struct {
	Kind        *GatewayProxyKind        `json:"kind,omitempty"`
	PodTemplate *GatewayProxyPodTemplate `json:"podTemplate,omitempty"`
	ConfigMap   *GatewayProxyConfigMap   `json:"configMap,omitempty"`
	Service     *GatewayProxyService     `json:"service,omitempty"`
	Tracing     *Tracing                 `json:"tracing,omitempty"`
}

type GatewayProxyConfigMap

type GatewayProxyConfigMap struct {
	Data map[string]string `json:"data"`
}

type GatewayProxyKind added in v0.17.3

type GatewayProxyKind struct {
	Deployment *DeploymentSpec `json:"deployment,omitempty"`
	DaemonSet  *DaemonSetSpec  `json:"daemonSet,omitempty"`
}

type GatewayProxyPodTemplate added in v0.17.3

type GatewayProxyPodTemplate struct {
	Image            *Image                `json:"image,omitempty"`
	HttpPort         string                `json:"httpPort,omitempty"`
	HttpsPort        string                `json:"httpsPort,omitempty"`
	ExtraPorts       []interface{}         `json:"extraPorts,omitempty"`
	ExtraAnnotations map[string]string     `json:"extraAnnotations,omitempty"`
	NodeName         string                `json:"nodeName,omitempty"`
	NodeSelector     map[string]string     `json:"nodeSelector,omitempty"`
	Stats            bool                  `json:"stats"`
	Tolerations      []*appsv1.Toleration  `json:"tolerations,omitEmpty"`
	Probes           bool                  `json:"probes"`
	Resources        *ResourceRequirements `json:"resources"`
}

type GatewayProxyService

type GatewayProxyService struct {
	Type                  string            `json:"type,omitempty"`
	HttpPort              string            `json:"httpPort,omitempty"`
	HttpsPort             string            `json:"httpsPort,omitempty"`
	ClusterIP             string            `json:"clusterIP,omitempty"`
	ExtraAnnotations      map[string]string `json:"extraAnnotations,omitempty"`
	ExternalTrafficPolicy string            `json:"externalTrafficPolicy,omitempty"`
}

type Gloo

type Gloo struct {
	Deployment *GlooDeployment `json:"deployment,omitempty"`
}

type GlooDeployment

type GlooDeployment struct {
	Image   *Image `json:"image,omitempty"`
	XdsPort string `json:"xdsPort,omitempty"`
	*DeploymentSpec
}

type Image

type Image struct {
	Tag        string `json:"tag"`
	Repository string `json:"repository"`
	PullPolicy string `json:"pullPolicy"`
	PullSecret string `json:"pullSecret,omitempty"`
}

Common

type Ingress

type Ingress struct {
	Enabled    *bool              `json:"enabled"`
	Deployment *IngressDeployment `json:"deployment,omitempty"`
}

type IngressDeployment

type IngressDeployment struct {
	Image *Image `json:"image,omitempty"`
	*DeploymentSpec
}

type IngressProxy

type IngressProxy struct {
	Deployment *IngressProxyDeployment `json:"deployment,omitempty"`
	ConfigMap  *IngressProxyConfigMap  `json:"configMap,omitempty"`
	Tracing    *string                 `json:"tracing,omitempty"`
}

type IngressProxyConfigMap

type IngressProxyConfigMap struct {
	Data map[string]string `json:"data,omitempty"`
}

type IngressProxyDeployment

type IngressProxyDeployment struct {
	Image            *Image            `json:"image,omitempty"`
	HttpPort         string            `json:"httpPort,omitempty"`
	HttpsPort        string            `json:"httpsPort,omitempty"`
	ExtraPorts       []interface{}     `json:"extraPorts,omitempty"`
	ExtraAnnotations map[string]string `json:"extraAnnotations,omitempty"`
	*DeploymentSpec
}

type Integrations

type Integrations struct {
	Knative *Knative `json:"knative"`
}

type JobSpec added in v0.18.0

type JobSpec struct {
	*PodSpec
}

type K8s added in v0.13.34

type K8s struct {
	ClusterName string `json:"clusterName"`
}

type Knative

type Knative struct {
	Enabled *bool         `json:"enabled"`
	Proxy   *KnativeProxy `json:"proxy,omitempty"`
}

type KnativeProxy

type KnativeProxy struct {
	Image     *Image  `json:"image,omitempty"`
	HttpPort  string  `json:"httpPort,omitempty"`
	HttpsPort string  `json:"httpsPort,omitempty"`
	Tracing   *string `json:"tracing,omitempty"`
	*DeploymentSpec
}

type Namespace

type Namespace struct {
	Create bool `json:"create"`
}

type PodSpec added in v0.18.0

type PodSpec struct {
	RestartPolicy string `json:"restartPolicy,omitempty"`
}

type Rbac

type Rbac struct {
	Create bool `json:"create"`
}

type ResourceAllocation added in v0.18.1

type ResourceAllocation struct {
	Memory string `json:"memory"`
	CPU    string `json:"cpu"`
}

type ResourceRequirements added in v0.18.1

type ResourceRequirements struct {
	Limits   *ResourceAllocation `json:"limits"`
	Requests *ResourceAllocation `json:"requests"`
}

type Settings

type Settings struct {
	WatchNamespaces []string      `json:"watchNamespaces,omitempty"`
	WriteNamespace  string        `json:"writeNamespace,omitempty"`
	Integrations    *Integrations `json:"integrations,omitempty"`
	Create          bool          `json:"create,omitempty"`
	Extensions      interface{}   `json:"extensions,omitempty"`
}

type Tracing added in v0.18.2

type Tracing struct {
	Provider string `json:"provider",omitempty`
	Cluster  string `json:"cluster",omitempty`
}

Jump to

Keyboard shortcuts

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