group

package
v0.3.6 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2019 License: ISC Imports: 3 Imported by: 2

Documentation

Overview

Package group is the client.Panorama.GkeClusterGroup namespace.

Normalized object: Entry

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Entry

type Entry struct {
	Name                 string
	Description          string
	GcpProjectCredential string
	DeviceGroup          string
	TemplateStack        string
}

Entry is a normalized, version independent representation of a GKE cluster group.

func (*Entry) Copy

func (o *Entry) Copy(s Entry)

Copy copies the information from source Entry `s` to this object. As the Name field relates to the XPATH of this object, this field is not copied.

type Group

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

Group is the client.Panorama.GkeClusterGroup namespace.

func (*Group) Delete

func (c *Group) Delete(e ...interface{}) error

Delete removes the given objects.

Objects can be a string or an Entry object.

func (*Group) Edit

func (c *Group) Edit(e Entry) error

Edit performs EDIT to create / update one object.

func (*Group) Get

func (c *Group) Get(name string) (Entry, error)

Get performs GET to retrieve information for the given uid.

func (*Group) GetList

func (c *Group) GetList() ([]string, error)

GetList performs GET to retrieve a list of values.

func (*Group) Initialize

func (c *Group) Initialize(con util.XapiClient)

Initialize is invoked by client.Initialize().

func (*Group) Set

func (c *Group) Set(e ...Entry) error

Set performs SET to create / update one or more objects.

func (*Group) Show

func (c *Group) Show(name string) (Entry, error)

Show performs SHOW to retrieve information for the given uid.

func (*Group) ShowList

func (c *Group) ShowList() ([]string, error)

ShowList performs SHOW to retrieve a list of values.

func (*Group) ShowPortMapping

func (c *Group) ShowPortMapping(group interface{}) ([]map[string]string, error)

ShowPortMapping returns the service port mappings.

Jump to

Keyboard shortcuts

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