client

package
v4.2.519+incompatible Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsResponseStatusOK added in v0.9.166

func IsResponseStatusOK(s *status.Status) (bool, error)

IsResponseStatusOK returns true when s.Code equals Code_OK, or return false with error

Types

type K8SResource

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

func NewK8SResource

func NewK8SResource(clusterUID string) *K8SResource

NewK8SResource return K8SResource instance

func (*K8SResource) CreateAlamedaWatchedResource

func (repo *K8SResource) CreateAlamedaWatchedResource(resources []*datahub_resources.Controller) error

func (*K8SResource) DeleteAlamedaWatchedResource added in v0.3.12

func (repo *K8SResource) DeleteAlamedaWatchedResource(arg interface{}) error

func (*K8SResource) ListAlamedaWatchedResource added in v0.3.12

func (repo *K8SResource) ListAlamedaWatchedResource(namespace,
	name string) ([]*datahub_resources.Controller, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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