customresource

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package customresource contains component definition

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handle

type Handle interface {
	ApplyDefaults()
	Validate() error
	Components() []component.Component
	UpdateRsrcStatus(interface{}, error) bool
	NewRsrc() Handle
	NewStatus() interface{}
}

Handle is an interface for operating on CRs

type HandleValue

type HandleValue struct {
	Handle
}

HandleValue is to add methods for an interface object

func (*HandleValue) Labels

func (hv *HandleValue) Labels() map[string]string

Labels return custom resource label

Jump to

Keyboard shortcuts

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