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: 1 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/kingsport +k8s:defaulter-gen=TypeMeta +groupName=kingsport.k8s.io

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Festival

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

	Spec   FestivalSpec   `json:"spec,omitempty"`
	Status FestivalStatus `json:"status,omitempty"`
}

Festival +k8s:openapi-gen=true +resource:path=festivals,strategy=FestivalStrategy,shortname=fs

type FestivalSpec

type FestivalSpec struct {
	// Year when the festival was held, may be negative (BC)
	Year int `json:"year,omitempty"`
	// Invited holds the number of invited attendees
	Invited uint `json:"invited,omitempty"`
}

FestivalSpec defines the desired state of Festival

type FestivalStatus

type FestivalStatus struct {
	// Attended holds the actual number of attendees
	Attended uint `json:"attended,omitempty"`
}

FestivalStatus defines the observed state of Festival

Jump to

Keyboard shortcuts

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