v1

package
v1.16.1 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

+groupName=innsmouth.k8s.io

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeepOne

type DeepOne struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   DeepOneSpec   `json:"spec,omitempty"`
	Status DeepOneStatus `json:"status,omitempty"`
}

+k8s:openapi-gen=true +resource:path=deepones DeepOne defines a resident of innsmouth

type DeepOneSpec

type DeepOneSpec struct {
	// fish_required defines the number of fish required by the DeepOne.
	FishRequired int `json:"fish_required,omitempty"`

	Sample               SampleElem                       `json:"sample,omitempty"`
	SamplePointer        *SamplePointerElem               `json:"sample_pointer,omitempty"`
	SampleList           []SampleListElem                 `json:"sample_list,omitempty"`
	SamplePointerList    []*SampleListPointerElem         `json:"sample_pointer_list,omitempty"`
	SampleMap            map[string]SampleMapElem         `json:"sample_map,omitempty"`
	SamplePointerMap     map[string]*SampleMapPointerElem `json:"sample_pointer_map,omitempty"`
	SamplePrimitiveAlias SamplePrimitiveAlias

	// Example of using a constant
	Const      common.CustomType            `json:"const,omitempty"`
	ConstPtr   *common.CustomType           `json:"constPtr,omitempty"`
	ConstSlice []common.CustomType          `json:"constSlice,omitempty"`
	ConstMap   map[string]common.CustomType `json:"constMap,omitempty"`
}

DeepOnesSpec defines the desired state of DeepOne

type DeepOneStatus

type DeepOneStatus struct {
	// actual_fish defines the number of fish caught by the DeepOne.
	ActualFish int `json:"actual_fish,omitempty"`
}

DeepOneStatus defines the observed state of DeepOne

type SampleElem

type SampleElem struct {
	Sub SampleSubElem `json:"sub,omitempty"`
}

type SampleListElem

type SampleListElem struct {
	Sub []SampleListSubElem `json:"sub,omitempty"`
}

type SampleListPointerElem

type SampleListPointerElem struct {
	Sub []*SampleListPointerSubElem `json:"sub,omitempty"`
}

type SampleListPointerSubElem

type SampleListPointerSubElem struct {
	Foo string `json:"foo,omitempty"`
}

type SampleListSubElem

type SampleListSubElem struct {
	Foo string `json:"foo,omitempty"`
}

type SampleMapElem

type SampleMapElem struct {
	Sub map[string]SampleMapSubElem `json:"sub,omitempty"`
}

type SampleMapPointerElem

type SampleMapPointerElem struct {
	Sub map[string]*SampleMapPointerSubElem `json:"sub,omitempty"`
}

type SampleMapPointerSubElem

type SampleMapPointerSubElem struct {
	Foo string `json:"foo,omitempty"`
}

type SampleMapSubElem

type SampleMapSubElem struct {
	Foo string `json:"foo,omitempty"`
}

type SamplePointerElem

type SamplePointerElem struct {
	Sub *SamplePointerSubElem `json:"sub,omitempty"`
}

type SamplePointerSubElem

type SamplePointerSubElem struct {
	Foo string `json:"foo,omitempty"`
}

type SamplePrimitiveAlias

type SamplePrimitiveAlias int64

type SampleSubElem

type SampleSubElem struct {
	Foo string `json:"foo,omitempty"`
}

Jump to

Keyboard shortcuts

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