v1alpha1

package
Version: v0.0.0-...-909d7fb Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2021 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CRDVersion string = "v1alpha1"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Base

type Base struct {
	Name            string      `json:"name"`
	Container       string      `json:"container"`
	Env             string      `json:"env"`
	Version         string      `json:"version"`
	Uniqueish       bool        `json:"uniqueish"`
	Singleton       bool        `json:"singleton"`
	Contact         string      `json:"contact"`
	Repo            string      `json:"repo"`
	ArbitraryConfig interface{} `json:"arbitrary_config"`
	ResourceFamily  string      `json:"resource_family"`

	// The following are optional values, if they don't exist/ are
	// null then we ignore them
	Storage     Storage `json:"storage,omitempty"`
	Preinstall  string  `json:"preinstall,omitempty"`
	Postinstall string  `json:"postinstall,omitempty"`
}

Base contains the options and keys all anko CRDs include, including logic for templating bits and bobs, along with defaults where necessary.

Base is embedded into Cronjob, HTTP, and GRPC

type Storage

type Storage struct {
	Claim      string `json:"claim"`
	MountPoint string `json:"mount_point"`
}

Storage represents additional config necessary for accessing StorageClaims

Source Files

Jump to

Keyboard shortcuts

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