models

package
v0.0.14 Latest Latest
Warning

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

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

Documentation

Overview

Package models defines the different object models used in EdgeCluster

Package models defines the different object models used in EdgeCluster

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EdgeCluster

type EdgeCluster struct {
	TenantID               string
	Name                   string
	ClusterPublicIPAddress string
}

EdgeCluster defines the Edge Cluster object

func (EdgeCluster) Validate

func (val EdgeCluster) Validate() error

Validate validates the EdgeCluster and return error if the validation failes Returns error if validation failes

type EdgeClusterWithCursor added in v0.0.10

type EdgeClusterWithCursor struct {
	EdgeClusterID string
	EdgeCluster   EdgeCluster
	Cursor        string
}

EdgeClusterWithCursor implements the pair of the edge cluster with a cursor that determines the location of the edge cluster in the repository.

Jump to

Keyboard shortcuts

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