example

package
v0.0.0-...-d9da918 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2024 License: Apache-2.0, Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	VERSION = "0.0.0.dev"
)

Functions

func EnsureCritterThirdPartyResource

func EnsureCritterThirdPartyResource(client *kubernetes.Clientset) error

func NewCritterClientForConfig

func NewCritterClientForConfig(c *rest.Config) (*rest.RESTClient, error)

Types

type Critter

type Critter struct {
	unversioned.TypeMeta `json:",inline"`
	Metadata             api.ObjectMeta `json:"metadata"`

	Spec CritterSpec `json:"spec"`
}

func (*Critter) GetObjectKind

func (c *Critter) GetObjectKind() unversioned.ObjectKind

func (*Critter) GetObjectMeta

func (c *Critter) GetObjectMeta() meta.Object

func (*Critter) UnmarshalJSON

func (e *Critter) UnmarshalJSON(data []byte) error

type CritterCopy

type CritterCopy Critter

type CritterList

type CritterList struct {
	unversioned.TypeMeta `json:",inline"`
	Metadata             unversioned.ListMeta `json:"metadata"`

	Items []Critter `json:"items"`
}

func (*CritterList) GetListMeta

func (cl *CritterList) GetListMeta() unversioned.List

func (*CritterList) GetObjectKind

func (cl *CritterList) GetObjectKind() unversioned.ObjectKind

func (*CritterList) UnmarshalJSON

func (el *CritterList) UnmarshalJSON(data []byte) error

type CritterListCopy

type CritterListCopy CritterList

type CritterSpec

type CritterSpec struct {
	Owner string `json:"owner"`
	Color string `json:"color"`
}

type Debugger

type Debugger struct {
	// contains filtered or unexported fields
}

func (*Debugger) Run

func (d *Debugger) Run(stopCh <-chan struct{}, wg *sync.WaitGroup)

type Example

type Example struct {
	Options
	// contains filtered or unexported fields
}

func New

func New(options Options) *Example

func (*Example) Run

func (example *Example) Run(stopCh <-chan struct{}, wg *sync.WaitGroup)

type Options

type Options struct {
	KubeConfig string
}

type ZooKeeper

type ZooKeeper struct {
	// contains filtered or unexported fields
}

func (*ZooKeeper) Run

func (z *ZooKeeper) Run(stopCh <-chan struct{}, wg *sync.WaitGroup)

Jump to

Keyboard shortcuts

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