v1beta1

package
v0.0.0-...-ba22a63 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

+k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=sigs.k8s.io/apiserver-builder-alpha/example/basic/pkg/apis/olympus +k8s:defaulter-gen=TypeMeta +groupName=olympus.k8s.io

Index

Constants

This section is empty.

Variables

View Source
var AddToScheme = func(scheme *runtime.Scheme) error {
	metav1.AddToGroupVersion(scheme, schema.GroupVersion{
		Group:   "olympus.k8s.io",
		Version: "v1beta1",
	})

	scheme.AddKnownTypes(schema.GroupVersion{
		Group:   "olympus.k8s.io",
		Version: "v1beta1",
	}, &Poseidon{}, &PoseidonList{})
	return nil
}

Functions

This section is empty.

Types

type Poseidon

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

	Spec   PoseidonSpec   `json:"spec,omitempty"`
	Status PoseidonStatus `json:"status,omitempty"`
}

Poseidon +k8s:openapi-gen=true +resource:path=poseidons,strategy=PoseidonStrategy

func (*Poseidon) GetField

func (in *Poseidon) GetField(fieldName string) string

func (*Poseidon) GetGroupVersionResource

func (in *Poseidon) GetGroupVersionResource() schema.GroupVersionResource

func (*Poseidon) GetObjectMeta

func (in *Poseidon) GetObjectMeta() *metav1.ObjectMeta

func (*Poseidon) GetStatus

func (in *Poseidon) GetStatus() resource.StatusSubResource

func (*Poseidon) IndexingFields

func (in *Poseidon) IndexingFields() []string

func (*Poseidon) IsStorageVersion

func (in *Poseidon) IsStorageVersion() bool

func (*Poseidon) NamespaceScoped

func (in *Poseidon) NamespaceScoped() bool

func (*Poseidon) New

func (in *Poseidon) New() runtime.Object

func (*Poseidon) NewList

func (in *Poseidon) NewList() runtime.Object

type PoseidonList

type PoseidonList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Poseidon `json:"items"`
}

+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*PoseidonList) GetListMeta

func (in *PoseidonList) GetListMeta() *metav1.ListMeta

type PoseidonSpec

type PoseidonSpec struct {
	PodSpec    v1.PodTemplate
	Deployment appsv1.Deployment
}

PoseidonSpec defines the desired state of Poseidon

type PoseidonStatus

type PoseidonStatus struct {
}

PoseidonStatus defines the observed state of Poseidon

func (PoseidonStatus) CopyTo

func (PoseidonStatus) SubResourceName

func (in PoseidonStatus) SubResourceName() string

Jump to

Keyboard shortcuts

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