Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Namespace = "kbase"
)
Functions ¶
func MaybeCreate ¶
func MaybeCreate(client Client, obj NamesapcedObject)
func MaybeUpdate ¶
func MaybeUpdate(client Client, update func(NamesapcedObject) NamesapcedObject)
func NewRequestBody ¶
func NewRequestBody(obj interface{}) io.ReadCloser
func SetLogLevel ¶
func SetLogLevel(level int)
Types ¶
type Client ¶
func NewAPIClient ¶
type Config ¶
func NewDefaultConfig ¶
func NewDefaultConfig() Config
Click to show internal directories.
Click to hide internal directories.