k8sdoc

package
v0.9.13 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2019 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Container

type Container struct {
	Image string `yaml:"image"`
}

type Doc

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

type ImagePullSecret

type ImagePullSecret map[string]string

type Metadata

type Metadata struct {
	Name string `yaml:"name"`
}

type PodSpec

type PodSpec struct {
	Containers       []Container       `yaml:"containers,omitempty"` // don't write empty array into patches
	ImagePullSecrets []ImagePullSecret `yaml:"imagePullSecrets"`
}

type Spec

type Spec struct {
	Template Template `yaml:"template"`
}

type Template

type Template struct {
	Spec PodSpec `yaml:"spec"`
}

Jump to

Keyboard shortcuts

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