client-go: kmodules.xyz/client-go/dynamic/object Index | Files

package object

import "kmodules.xyz/client-go/dynamic/object"

Index

Package Files

object.go

func GetObservedGeneration Uses

func GetObservedGeneration(obj map[string]interface{}) int64

func NestedArray Uses

func NestedArray(obj map[string]interface{}, fields ...string) []interface{}

func NestedObject Uses

func NestedObject(obj map[string]interface{}, fields ...string) map[string]interface{}

func SetCondition Uses

func SetCondition(status map[string]interface{}, condition *StatusCondition)

func SetStatusCondition Uses

func SetStatusCondition(obj map[string]interface{}, condition *StatusCondition)

type StatusCondition Uses

type StatusCondition struct {
    Type    string `json:"type"`
    Status  string `json:"status"`
    Reason  string `json:"reason,omitempty"`
    Message string `json:"message,omitempty"`
}

func GetStatusCondition Uses

func GetStatusCondition(obj map[string]interface{}, conditionType string) *StatusCondition

func NewStatusCondition Uses

func NewStatusCondition(obj map[string]interface{}) *StatusCondition

func (*StatusCondition) Object Uses

func (c *StatusCondition) Object() map[string]interface{}

Package object imports 4 packages (graph). Updated 2020-09-30. Refresh now. Tools for package owners.