v1alpha1

package
v0.9.2 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2020 License: Apache-2.0 Imports: 0 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	APIVersion string   `json:"apiVersion"`
	Kind       string   `json:"kind"`
	Metadata   Metadata `json:"metadata"`
	Spec       Spec     `json:"spec"`
}

Config holds the configuration variables for config version v1alpha1 ApiVersion and Kind are currently unused, this may change in the future.

func New

func New() *Config

New creates a new Config object with internal values already set

type Metadata

type Metadata struct {
	Name   string            `json:"name,omitempty"`
	Labels map[string]string `json:"labels,omitempty"`
}

Metadata is meant for humans and not parsed

type Spec

type Spec struct {
	APIServer    string `json:"apiServer"`
	Namespace    string `json:"namespace"`
	DiffStrategy string `json:"diffStrategy,omitempty"`
}

Spec defines Kubernetes properties

Jump to

Keyboard shortcuts

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