Documentation
¶
Index ¶
- func DataSourceSchemaWrap(s map[string]*schema.Schema) map[string]*schema.Schema
- func HasDeleted(events watch.Interface) bool
- func If(condition bool, trueVal, falseVal interface{}) interface{}
- func IsValidName(i interface{}, k string) ([]string, []error)
- func MapMerge(dst map[string]string, prefix string, values map[string]interface{}) map[string]string
- func NamespacedSchemaWrap(s map[string]*schema.Schema, system bool)
- func NewObjectMeta(namespace, name string) metav1.ObjectMeta
- func NonNamespacedSchemaWrap(s map[string]*schema.Schema)
- func ResourceConstruct(d *schema.ResourceData, c Constructor) (interface{}, error)
- func ResourceStatesSet(d *schema.ResourceData, getter *importer.StateGetter) error
- func WatchOptions(name string, timeoutSeconds int64) metav1.ListOptions
- type Constructor
- type Processor
- type Processors
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DataSourceSchemaWrap ¶ added in v0.3.0
func HasDeleted ¶ added in v0.6.0
func IsValidName ¶
func NewObjectMeta ¶
func NewObjectMeta(namespace, name string) metav1.ObjectMeta
func NonNamespacedSchemaWrap ¶
func ResourceConstruct ¶
func ResourceConstruct(d *schema.ResourceData, c Constructor) (interface{}, error)
func ResourceStatesSet ¶
func ResourceStatesSet(d *schema.ResourceData, getter *importer.StateGetter) error
func WatchOptions ¶ added in v0.6.0
func WatchOptions(name string, timeoutSeconds int64) metav1.ListOptions
Types ¶
type Constructor ¶
type Constructor interface { Setup() Processors Result() (interface{}, error) Validate() error }
type Processors ¶
type Processors []Processor
func NewProcessors ¶
func NewProcessors() Processors
func (Processors) Bool ¶
func (p Processors) Bool(key string, dst *bool, required bool) Processors
func (Processors) Description ¶
func (p Processors) Description(annotations *map[string]string) Processors
func (Processors) String ¶
func (p Processors) String(key string, dst *string, required bool) Processors
func (Processors) Tags ¶
func (p Processors) Tags(labels *map[string]string) Processors
Click to show internal directories.
Click to hide internal directories.