cluster

package
v0.3.11 Latest Latest
Warning

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

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

Documentation

Overview

Package cluster is the client.Panorama.GkeCluster namespace.

Normalized object: Entry

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cluster

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

Cluster is the client.Panorama.GkeCluster namespace.

func (*Cluster) Delete

func (c *Cluster) Delete(group string, e ...interface{}) error

Delete removes the given objects.

Objects can be a string or an Entry object.

func (*Cluster) Edit

func (c *Cluster) Edit(group string, e Entry) error

Edit performs EDIT to create / update one object.

func (*Cluster) Get

func (c *Cluster) Get(group, name string) (Entry, error)

Get performs GET to retrieve information for the given uid.

func (*Cluster) GetList

func (c *Cluster) GetList(group string) ([]string, error)

GetList performs GET to retrieve a list of values.

func (*Cluster) Initialize

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

Initialize is invoked by client.Initialize().

func (*Cluster) Set

func (c *Cluster) Set(group string, e ...Entry) error

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

func (*Cluster) Show

func (c *Cluster) Show(group, name string) (Entry, error)

Show performs SHOW to retrieve information for the given uid.

func (*Cluster) ShowList

func (c *Cluster) ShowList(group string) ([]string, error)

ShowList performs SHOW to retrieve a list of values.

type Entry

type Entry struct {
	Name              string
	GcpZone           string
	ClusterCredential string
}

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

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.

Directories

Path Synopsis
Package group is the client.Panorama.GkeClusterGroup namespace.
Package group is the client.Panorama.GkeClusterGroup namespace.

Jump to

Keyboard shortcuts

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