client

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2015 License: Apache-2.0 Imports: 8 Imported by: 298

Documentation

Index

Constants

View Source
const (
	SELF       = "self"
	COLLECTION = "collection"
)
View Source
const (
	ACCOUNT_TYPE = "account"
)
View Source
const (
	ACTIVE_SETTING_TYPE = "activeSetting"
)
View Source
const (
	ADD_LOAD_BALANCER_INPUT_TYPE = "addLoadBalancerInput"
)
View Source
const (
	ADD_REMOVE_CLUSTER_HOST_INPUT_TYPE = "addRemoveClusterHostInput"
)
View Source
const (
	ADD_REMOVE_LOAD_BALANCER_HOST_INPUT_TYPE = "addRemoveLoadBalancerHostInput"
)
View Source
const (
	ADD_REMOVE_LOAD_BALANCER_LISTENER_INPUT_TYPE = "addRemoveLoadBalancerListenerInput"
)
View Source
const (
	ADD_REMOVE_LOAD_BALANCER_TARGET_INPUT_TYPE = "addRemoveLoadBalancerTargetInput"
)
View Source
const (
	AGENT_TYPE = "agent"
)
View Source
const (
	API_KEY_TYPE = "apiKey"
)
View Source
const (
	CERTIFICATE_TYPE = "certificate"
)
View Source
const (
	CLUSTER_TYPE = "cluster"
)
View Source
const (
	CONFIG_ITEM_STATUS_TYPE = "configItemStatus"
)
View Source
const (
	CONFIG_ITEM_TYPE = "configItem"
)
View Source
const (
	CONTAINER_EVENT_TYPE = "containerEvent"
)
View Source
const (
	CONTAINER_EXEC_TYPE = "containerExec"
)
View Source
const (
	CONTAINER_LOGS_TYPE = "containerLogs"
)
View Source
const (
	CONTAINER_TYPE = "container"
)
View Source
const (
	CREDENTIAL_TYPE = "credential"
)
View Source
const (
	DATABASECHANGELOGLOCK_TYPE = "databasechangeloglock"
)
View Source
const (
	DATABASECHANGELOG_TYPE = "databasechangelog"
)
View Source
const (
	DIGITALOCEAN_CONFIG_TYPE = "digitaloceanConfig"
)
View Source
const (
	EXTENSION_IMPLEMENTATION_TYPE = "extensionImplementation"
)
View Source
const (
	EXTENSION_POINT_TYPE = "extensionPoint"
)
View Source
const (
	EXTERNAL_HANDLER_EXTERNAL_HANDLER_PROCESS_MAP_TYPE = "externalHandlerExternalHandlerProcessMap"
)
View Source
const (
	EXTERNAL_HANDLER_PROCESS_TYPE = "externalHandlerProcess"
)
View Source
const (
	EXTERNAL_HANDLER_TYPE = "externalHandler"
)
View Source
const (
	GITHUBCONFIG_TYPE = "githubconfig"
)
View Source
const (
	GLOBAL_LOAD_BALANCER_HEALTH_CHECK_TYPE = "globalLoadBalancerHealthCheck"
)
View Source
const (
	GLOBAL_LOAD_BALANCER_POLICY_TYPE = "globalLoadBalancerPolicy"
)
View Source
const (
	GLOBAL_LOAD_BALANCER_TYPE = "globalLoadBalancer"
)
View Source
const (
	HOST_ACCESS_TYPE = "hostAccess"
)
View Source
const (
	HOST_TYPE = "host"
)
View Source
const (
	IMAGE_TYPE = "image"
)
View Source
const (
	INSTANCE_CONSOLE_INPUT_TYPE = "instanceConsoleInput"
)
View Source
const (
	INSTANCE_CONSOLE_TYPE = "instanceConsole"
)
View Source
const (
	INSTANCE_LINK_TYPE = "instanceLink"
)
View Source
const (
	INSTANCE_STOP_TYPE = "instanceStop"
)
View Source
const (
	INSTANCE_TYPE = "instance"
)
View Source
const (
	IP_ADDRESS_ASSOCIATE_INPUT_TYPE = "ipAddressAssociateInput"
)
View Source
const (
	IP_ADDRESS_TYPE = "ipAddress"
)
View Source
const (
	LOAD_BALANCER_APP_COOKIE_STICKINESS_POLICY_TYPE = "loadBalancerAppCookieStickinessPolicy"
)
View Source
const (
	LOAD_BALANCER_CONFIG_TYPE = "loadBalancerConfig"
)
View Source
const (
	LOAD_BALANCER_COOKIE_STICKINESS_POLICY_TYPE = "loadBalancerCookieStickinessPolicy"
)
View Source
const (
	LOAD_BALANCER_HEALTH_CHECK_TYPE = "loadBalancerHealthCheck"
)
View Source
const (
	LOAD_BALANCER_LISTENER_TYPE = "loadBalancerListener"
)
View Source
const (
	LOAD_BALANCER_POLICY_TYPE = "loadBalancerPolicy"
)
View Source
const (
	LOAD_BALANCER_TARGET_TYPE = "loadBalancerTarget"
)
View Source
const (
	LOAD_BALANCER_TYPE = "loadBalancer"
)
View Source
const (
	MACHINE_TYPE = "machine"
)
View Source
const (
	MOUNT_TYPE = "mount"
)
View Source
const (
	NETWORK_TYPE = "network"
)
View Source
const (
	PHYSICAL_HOST_TYPE = "physicalHost"
)
View Source
const (
	PORT_TYPE = "port"
)
View Source
const (
	PROCESS_DEFINITION_TYPE = "processDefinition"
)
View Source
const (
	PROCESS_EXECUTION_TYPE = "processExecution"
)
View Source
const (
	PROCESS_INSTANCE_TYPE = "processInstance"
)
View Source
const (
	PROJECT_TYPE = "project"
)
View Source
const (
	PUBLISH_TYPE = "publish"
)
View Source
const (
	REGISTER_TYPE = "register"
)
View Source
const (
	REGISTRATION_TOKEN_TYPE = "registrationToken"
)
View Source
const (
	REGISTRY_CREDENTIAL_TYPE = "registryCredential"
)
View Source
const (
	REGISTRY_TYPE = "registry"
)
View Source
const (
	REMOVE_LOAD_BALANCER_INPUT_TYPE = "removeLoadBalancerInput"
)
View Source
const (
	RESOURCE_DEFINITION_TYPE = "resourceDefinition"
)
View Source
const (
	RESTART_POLICY_TYPE = "restartPolicy"
)
View Source
const (
	SETTING_TYPE = "setting"
)
View Source
const (
	SET_LOAD_BALANCER_HOSTS_INPUT_TYPE = "setLoadBalancerHostsInput"
)
View Source
const (
	SET_LOAD_BALANCER_LISTENERS_INPUT_TYPE = "setLoadBalancerListenersInput"
)
View Source
const (
	SET_LOAD_BALANCER_TARGETS_INPUT_TYPE = "setLoadBalancerTargetsInput"
)
View Source
const (
	STATS_ACCESS_TYPE = "statsAccess"
)
View Source
const (
	STORAGE_POOL_TYPE = "storagePool"
)
View Source
const (
	SUBSCRIBE_TYPE = "subscribe"
)
View Source
const (
	TASK_INSTANCE_TYPE = "taskInstance"
)
View Source
const (
	TASK_TYPE = "task"
)
View Source
const (
	TYPE_DOCUMENTATION_TYPE = "typeDocumentation"
)
View Source
const (
	VIRTUALBOX_CONFIG_TYPE = "virtualboxConfig"
)
View Source
const (
	VOLUME_TYPE = "volume"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Account

type Account struct {
	Resource

	Created string `json:"created,omitempty"`

	Data map[string]interface{} `json:"data,omitempty"`

	Description string `json:"description,omitempty"`

	ExternalId string `json:"externalId,omitempty"`

	ExternalIdType string `json:"externalIdType,omitempty"`

	Kind string `json:"kind,omitempty"`

	Name string `json:"name,omitempty"`

	RemoveTime string `json:"removeTime,omitempty"`

	Removed string `json:"removed,omitempty"`

	State string `json:"state,omitempty"`

	Transitioning string `json:"transitioning,omitempty"`

	TransitioningMessage string `json:"transitioningMessage,omitempty"`

	TransitioningProgress int `json:"transitioningProgress,omitempty"`

	Uuid string `json:"uuid,omitempty"`
}

type AccountClient

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

func (*AccountClient) ActionActivate

func (c *AccountClient) ActionActivate(resource *Account) (*Account, error)

func (*AccountClient) ActionCreate

func (c *AccountClient) ActionCreate(resource *Account) (*Account, error)

func (*AccountClient) ActionDeactivate

func (c *AccountClient) ActionDeactivate(resource *Account) (*Account, error)

func (*AccountClient) ActionPurge

func (c *AccountClient) ActionPurge(resource *Account) (*Account, error)

func (*AccountClient) ActionRemove

func (c *AccountClient) ActionRemove(resource *Account) (*Account, error)

func (*AccountClient) ActionRestore

func (c *AccountClient) ActionRestore(resource *Account) (*Account, error)

func (*AccountClient) ActionUpdate

func (c *AccountClient) ActionUpdate(resource *Account) (*Account, error)

func (*AccountClient) ById

func (c *AccountClient) ById(id string) (*Account, error)

func (*AccountClient) Create

func (c *AccountClient) Create(container *Account) (*Account, error)

func (*AccountClient) Delete

func (c *AccountClient) Delete(container *Account) error

func (*AccountClient) List

func (c *AccountClient) List(opts *ListOpts) (*AccountCollection, error)

func (*AccountClient) Update

func (c *AccountClient) Update(existing *Account, updates interface{}) (*Account, error)

type AccountCollection

type AccountCollection struct {
	Collection
	Data []Account `json:"data,omitempty"`
}

type AccountOperations

type AccountOperations interface {
	List(opts *ListOpts) (*AccountCollection, error)
	Create(opts *Account) (*Account, error)
	Update(existing *Account, updates interface{}) (*Account, error)
	ById(id string) (*Account, error)
	Delete(container *Account) error
	ActionActivate(*Account) (*Account, error)
	ActionCreate(*Account) (*Account, error)
	ActionDeactivate(*Account) (*Account, error)
	ActionPurge(*Account) (*Account, error)
	ActionRemove(*Account) (*Account, error)
	ActionRestore(*Account) (*Account, error)
	ActionUpdate(*Account) (*Account, error)
}

type Action

type Action struct {
	Input  string `json:"input,omitempty"`
	Output string `json:"output,omitempty"`
}

type ActiveSetting

type ActiveSetting struct {
	Resource

	ActiveValue interface{} `json:"activeValue,omitempty"`

	InDb bool `json:"inDb,omitempty"`

	Name string `json:"name,omitempty"`

	Source string `json:"source,omitempty"`

	Value string `json:"value,omitempty"`
}

type ActiveSettingClient

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

func (*ActiveSettingClient) ById

func (*ActiveSettingClient) Create

func (c *ActiveSettingClient) Create(container *ActiveSetting) (*ActiveSetting, error)

func (*ActiveSettingClient) Delete

func (c *ActiveSettingClient) Delete(container *ActiveSetting) error

func (*ActiveSettingClient) List

func (*ActiveSettingClient) Update

func (c *ActiveSettingClient) Update(existing *ActiveSetting, updates interface{}) (*ActiveSetting, error)

type ActiveSettingCollection

type ActiveSettingCollection struct {
	Collection
	Data []ActiveSetting `json:"data,omitempty"`
}

type ActiveSettingOperations

type ActiveSettingOperations interface {
	List(opts *ListOpts) (*ActiveSettingCollection, error)
	Create(opts *ActiveSetting) (*ActiveSetting, error)
	Update(existing *ActiveSetting, updates interface{}) (*ActiveSetting, error)
	ById(id string) (*ActiveSetting, error)
	Delete(container *ActiveSetting) error
}

type AddLoadBalancerInput

type AddLoadBalancerInput struct {
	Resource

	LoadBalancerId string `json:"loadBalancerId,omitempty"`

	Weight int `json:"weight,omitempty"`
}

type AddLoadBalancerInputClient

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

func (*AddLoadBalancerInputClient) ById

func (*AddLoadBalancerInputClient) Create

func (*AddLoadBalancerInputClient) Delete

func (*AddLoadBalancerInputClient) List

func (*AddLoadBalancerInputClient) Update

func (c *AddLoadBalancerInputClient) Update(existing *AddLoadBalancerInput, updates interface{}) (*AddLoadBalancerInput, error)

type AddLoadBalancerInputCollection

type AddLoadBalancerInputCollection struct {
	Collection
	Data []AddLoadBalancerInput `json:"data,omitempty"`
}

type AddLoadBalancerInputOperations

type AddLoadBalancerInputOperations interface {
	List(opts *ListOpts) (*AddLoadBalancerInputCollection, error)
	Create(opts *AddLoadBalancerInput) (*AddLoadBalancerInput, error)
	Update(existing *AddLoadBalancerInput, updates interface{}) (*AddLoadBalancerInput, error)
	ById(id string) (*AddLoadBalancerInput, error)
	Delete(container *AddLoadBalancerInput) error
}

type AddRemoveClusterHostInput

type AddRemoveClusterHostInput struct {
	Resource

	HostId string `json:"hostId,omitempty"`
}

type AddRemoveClusterHostInputClient

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

func (*AddRemoveClusterHostInputClient) ById

func (*AddRemoveClusterHostInputClient) Create

func (*AddRemoveClusterHostInputClient) Delete

func (*AddRemoveClusterHostInputClient) List

func (*AddRemoveClusterHostInputClient) Update

func (c *AddRemoveClusterHostInputClient) Update(existing *AddRemoveClusterHostInput, updates interface{}) (*AddRemoveClusterHostInput, error)

type AddRemoveClusterHostInputCollection

type AddRemoveClusterHostInputCollection struct {
	Collection
	Data []AddRemoveClusterHostInput `json:"data,omitempty"`
}

type AddRemoveClusterHostInputOperations

type AddRemoveClusterHostInputOperations interface {
	List(opts *ListOpts) (*AddRemoveClusterHostInputCollection, error)
	Create(opts *AddRemoveClusterHostInput) (*AddRemoveClusterHostInput, error)
	Update(existing *AddRemoveClusterHostInput, updates interface{}) (*AddRemoveClusterHostInput, error)
	ById(id string) (*AddRemoveClusterHostInput, error)
	Delete(container *AddRemoveClusterHostInput) error
}

type AddRemoveLoadBalancerHostInput

type AddRemoveLoadBalancerHostInput struct {
	Resource

	HostId string `json:"hostId,omitempty"`
}

type AddRemoveLoadBalancerHostInputClient

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

func (*AddRemoveLoadBalancerHostInputClient) ById

func (*AddRemoveLoadBalancerHostInputClient) Create

func (*AddRemoveLoadBalancerHostInputClient) Delete

func (*AddRemoveLoadBalancerHostInputClient) List

func (*AddRemoveLoadBalancerHostInputClient) Update

type AddRemoveLoadBalancerHostInputCollection

type AddRemoveLoadBalancerHostInputCollection struct {
	Collection
	Data []AddRemoveLoadBalancerHostInput `json:"data,omitempty"`
}

type AddRemoveLoadBalancerListenerInput

type AddRemoveLoadBalancerListenerInput struct {
	Resource

	LoadBalancerListenerId string `json:"loadBalancerListenerId,omitempty"`
}

type AddRemoveLoadBalancerListenerInputClient

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

func (*AddRemoveLoadBalancerListenerInputClient) ById

func (*AddRemoveLoadBalancerListenerInputClient) Create

func (*AddRemoveLoadBalancerListenerInputClient) Delete

func (*AddRemoveLoadBalancerListenerInputClient) List

func (*AddRemoveLoadBalancerListenerInputClient) Update

type AddRemoveLoadBalancerListenerInputCollection

type AddRemoveLoadBalancerListenerInputCollection struct {
	Collection
	Data []AddRemoveLoadBalancerListenerInput `json:"data,omitempty"`
}

type AddRemoveLoadBalancerTargetInput

type AddRemoveLoadBalancerTargetInput struct {
	Resource

	InstanceId string `json:"instanceId,omitempty"`

	IpAddress string `json:"ipAddress,omitempty"`
}

type AddRemoveLoadBalancerTargetInputClient

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

func (*AddRemoveLoadBalancerTargetInputClient) ById

func (*AddRemoveLoadBalancerTargetInputClient) Create

func (*AddRemoveLoadBalancerTargetInputClient) Delete

func (*AddRemoveLoadBalancerTargetInputClient) List

func (*AddRemoveLoadBalancerTargetInputClient) Update

type AddRemoveLoadBalancerTargetInputCollection

type AddRemoveLoadBalancerTargetInputCollection struct {
	Collection
	Data []AddRemoveLoadBalancerTargetInput `json:"data,omitempty"`
}

type Agent

type Agent struct {
	Resource

	AccountId string `json:"accountId,omitempty"`

	Created string `json:"created,omitempty"`

	Data map[string]interface{} `json:"data,omitempty"`

	Description string `json:"description,omitempty"`

	Kind string `json:"kind,omitempty"`

	ManagedConfig bool `json:"managedConfig,omitempty"`

	Name string `json:"name,omitempty"`

	RemoveTime string `json:"removeTime,omitempty"`

	Removed string `json:"removed,omitempty"`

	State string `json:"state,omitempty"`

	Transitioning string `json:"transitioning,omitempty"`

	TransitioningMessage string `json:"transitioningMessage,omitempty"`

	TransitioningProgress int `json:"transitioningProgress,omitempty"`

	Uri string `json:"uri,omitempty"`

	Uuid string `json:"uuid,omitempty"`
}

type AgentClient

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

func (*AgentClient) ActionActivate

func (c *AgentClient) ActionActivate(resource *Agent) (*Agent, error)

func (*AgentClient) ActionCreate

func (c *AgentClient) ActionCreate(resource *Agent) (*Agent, error)

func (*AgentClient) ActionDeactivate

func (c *AgentClient) ActionDeactivate(resource *Agent) (*Agent, error)

func (*AgentClient) ActionPurge

func (c *AgentClient) ActionPurge(resource *Agent) (*Agent, error)

func (*AgentClient) ActionReconnect

func (c *AgentClient) ActionReconnect(resource *Agent) (*Agent, error)

func (*AgentClient) ActionRemove

func (c *AgentClient) ActionRemove(resource *Agent) (*Agent, error)

func (*AgentClient) ActionRestore

func (c *AgentClient) ActionRestore(resource *Agent) (*Agent, error)

func (*AgentClient) ActionUpdate

func (c *AgentClient) ActionUpdate(resource *Agent) (*Agent, error)

func (*AgentClient) ById

func (c *AgentClient) ById(id string) (*Agent, error)

func (*AgentClient) Create

func (c *AgentClient) Create(container *Agent) (*Agent, error)

func (*AgentClient) Delete

func (c *AgentClient) Delete(container *Agent) error

func (*AgentClient) List

func (c *AgentClient) List(opts *ListOpts) (*AgentCollection, error)

func (*AgentClient) Update

func (c *AgentClient) Update(existing *Agent, updates interface{}) (*Agent, error)

type AgentCollection

type AgentCollection struct {
	Collection
	Data []Agent `json:"data,omitempty"`
}

type AgentOperations

type AgentOperations interface {
	List(opts *ListOpts) (*AgentCollection, error)
	Create(opts *Agent) (*Agent, error)
	Update(existing *Agent, updates interface{}) (*Agent, error)
	ById(id string) (*Agent, error)
	Delete(container *Agent) error
	ActionActivate(*Agent) (*Agent, error)
	ActionCreate(*Agent) (*Agent, error)
	ActionDeactivate(*Agent) (*Agent, error)
	ActionPurge(*Agent) (*Agent, error)
	ActionReconnect(*Agent) (*Agent, error)
	ActionRemove(*Agent) (*Agent, error)
	ActionRestore(*Agent) (*Agent, error)
	ActionUpdate(*Agent) (*Agent, error)
}

type ApiError

type ApiError struct {
	StatusCode int
	Url        string
	Msg        string
	Status     string
	Body       string
}

func (*ApiError) Error

func (e *ApiError) Error() string

type ApiKey

type ApiKey struct {
	Resource

	AccountId string `json:"accountId,omitempty"`

	Created string `json:"created,omitempty"`

	Data map[string]interface{} `json:"data,omitempty"`

	Description string `json:"description,omitempty"`

	Kind string `json:"kind,omitempty"`

	Name string `json:"name,omitempty"`

	PublicValue string `json:"publicValue,omitempty"`

	RemoveTime string `json:"removeTime,omitempty"`

	Removed string `json:"removed,omitempty"`

	SecretValue string `json:"secretValue,omitempty"`

	State string `json:"state,omitempty"`

	Transitioning string `json:"transitioning,omitempty"`

	TransitioningMessage string `json:"transitioningMessage,omitempty"`

	TransitioningProgress int `json:"transitioningProgress,omitempty"`

	Uuid string `json:"uuid,omitempty"`
}

type ApiKeyClient

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

func (*ApiKeyClient) ById

func (c *ApiKeyClient) ById(id string) (*ApiKey, error)

func (*ApiKeyClient) Create

func (c *ApiKeyClient) Create(container *ApiKey) (*ApiKey, error)

func (*ApiKeyClient) Delete

func (c *ApiKeyClient) Delete(container *ApiKey) error

func (*ApiKeyClient) List

func (c *ApiKeyClient) List(opts *ListOpts) (*ApiKeyCollection, error)

func (*ApiKeyClient) Update

func (c *ApiKeyClient) Update(existing *ApiKey, updates interface{}) (*ApiKey, error)

type ApiKeyCollection

type ApiKeyCollection struct {
	Collection
	Data []ApiKey `json:"data,omitempty"`
}

type ApiKeyOperations

type ApiKeyOperations interface {
	List(opts *ListOpts) (*ApiKeyCollection, error)
	Create(opts *ApiKey) (*ApiKey, error)
	Update(existing *ApiKey, updates interface{}) (*ApiKey, error)
	ById(id string) (*ApiKey, error)
	Delete(container *ApiKey) error
}

type Certificate

type Certificate struct {
	Resource

	AccountId string `json:"accountId,omitempty"`

	Cert string `json:"cert,omitempty"`

	CertChain string `json:"certChain,omitempty"`

	Created string `json:"created,omitempty"`

	Data map[string]interface{} `json:"data,omitempty"`

	Description string `json:"description,omitempty"`

	Key string `json:"key,omitempty"`

	Kind string `json:"kind,omitempty"`

	Name string `json:"name,omitempty"`

	RemoveTime string `json:"removeTime,omitempty"`

	Removed string `json:"removed,omitempty"`

	State string `json:"state,omitempty"`

	Uuid string `json:"uuid,omitempty"`
}

type CertificateClient

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

func (*CertificateClient) ById

func (c *CertificateClient) ById(id string) (*Certificate, error)

func (*CertificateClient) Create

func (c *CertificateClient) Create(container *Certificate) (*Certificate, error)

func (*CertificateClient) Delete

func (c *CertificateClient) Delete(container *Certificate) error

func (*CertificateClient) List

func (*CertificateClient) Update

func (c *CertificateClient) Update(existing *Certificate, updates interface{}) (*Certificate, error)

type CertificateCollection

type CertificateCollection struct {
	Collection
	Data []Certificate `json:"data,omitempty"`
}

type CertificateOperations

type CertificateOperations interface {
	List(opts *ListOpts) (*CertificateCollection, error)
	Create(opts *Certificate) (*Certificate, error)
	Update(existing *Certificate, updates interface{}) (*Certificate, error)
	ById(id string) (*Certificate, error)
	Delete(container *Certificate) error
}

type ClientOpts

type ClientOpts struct {
	Url       string
	AccessKey string
	SecretKey string
}

type Cluster

type Cluster struct {
	Resource

	AccountId string `json:"accountId,omitempty"`

	AgentId string `json:"agentId,omitempty"`

	ApiProxy string `json:"apiProxy,omitempty"`

	CertificateId string `json:"certificateId,omitempty"`

	ComputeTotal int `json:"computeTotal,omitempty"`

	Created string `json:"created,omitempty"`

	Data map[string]interface{} `json:"data,omitempty"`

	Description string `json:"description,omitempty"`

	DiscoverySpec string `json:"discoverySpec,omitempty"`

	Info interface{} `json:"info,omitempty"`

	Kind string `json:"kind,omitempty"`

	Name string `json:"name,omitempty"`

	PhysicalHostId string `json:"physicalHostId,omitempty"`

	Port int `json:"port,omitempty"`

	RemoveTime string `json:"removeTime,omitempty"`

	Removed string `json:"removed,omitempty"`

	State string `json:"state,omitempty"`

	Transitioning string `json:"transitioning,omitempty"`

	TransitioningMessage string `json:"transitioningMessage,omitempty"`

	TransitioningProgress int `json:"transitioningProgress,omitempty"`

	Uuid string `json:"uuid,omitempty"`
}

type ClusterClient

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

func (*ClusterClient) ById

func (c *ClusterClient) ById(id string) (*Cluster, error)

func (*ClusterClient) Create

func (c *ClusterClient) Create(container *Cluster) (*Cluster, error)

func (*ClusterClient) Delete

func (c *ClusterClient) Delete(container *Cluster) error

func (*ClusterClient) List

func (c *ClusterClient) List(opts *ListOpts) (*ClusterCollection, error)

func (*ClusterClient) Update

func (c *ClusterClient) Update(existing *Cluster, updates interface{}) (*Cluster, error)

type ClusterCollection

type ClusterCollection struct {
	Collection
	Data []Cluster `json:"data,omitempty"`
}

type ClusterOperations

type ClusterOperations interface {
	List(opts *ListOpts) (*ClusterCollection, error)
	Create(opts *Cluster) (*Cluster, error)
	Update(existing *Cluster, updates interface{}) (*Cluster, error)
	ById(id string) (*Cluster, error)
	Delete(container *Cluster) error
}

type Collection

type Collection struct {
	Type         string                 `json:"type,omitempty"`
	ResourceType string                 `json:"resourceType,omitempty"`
	Links        map[string]string      `json:"links,omitempty"`
	CreateTypes  map[string]string      `json:"createTypes,omitempty"`
	Actions      map[string]string      `json:"actions,omitempty"`
	SortLinks    map[string]string      `json:"sortLinks,omitempty"`
	Pagination   *Pagination            `json:"pagination,omitempty"`
	Sort         *Sort                  `json:"sort,omitempty"`
	Filters      map[string][]Condition `json:"filters,omitempty"`
}

type Condition

type Condition struct {
	Modifier string      `json:"modifier,omitempty"`
	Value    interface{} `json:"value,omitempty"`
}

type ConfigItem

type ConfigItem struct {
	Resource

	Name string `json:"name,omitempty"`

	SourceVersion string `json:"sourceVersion,omitempty"`
}

type ConfigItemClient

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

func (*ConfigItemClient) ById

func (c *ConfigItemClient) ById(id string) (*ConfigItem, error)

func (*ConfigItemClient) Create

func (c *ConfigItemClient) Create(container *ConfigItem) (*ConfigItem, error)

func (*ConfigItemClient) Delete

func (c *ConfigItemClient) Delete(container *ConfigItem) error

func (*ConfigItemClient) List

func (*ConfigItemClient) Update

func (c *ConfigItemClient) Update(existing *ConfigItem, updates interface{}) (*ConfigItem, error)

type ConfigItemCollection

type ConfigItemCollection struct {
	Collection
	Data []ConfigItem `json:"data,omitempty"`
}

type ConfigItemOperations

type ConfigItemOperations interface {
	List(opts *ListOpts) (*ConfigItemCollection, error)
	Create(opts *ConfigItem) (*ConfigItem, error)
	Update(existing *ConfigItem, updates interface{}) (*ConfigItem, error)
	ById(id string) (*ConfigItem, error)
	Delete(container *ConfigItem) error
}

type ConfigItemStatus

type ConfigItemStatus struct {
	Resource

	AgentId string `json:"agentId,omitempty"`

	AppliedUpdated string `json:"appliedUpdated,omitempty"`

	AppliedVersion int `json:"appliedVersion,omitempty"`

	Name string `json:"name,omitempty"`

	RequestedUpdated string `json:"requestedUpdated,omitempty"`

	RequestedVersion int `json:"requestedVersion,omitempty"`

	SourceVersion string `json:"sourceVersion,omitempty"`
}

type ConfigItemStatusClient

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

func (*ConfigItemStatusClient) ById

func (*ConfigItemStatusClient) Create

func (*ConfigItemStatusClient) Delete

func (c *ConfigItemStatusClient) Delete(container *ConfigItemStatus) error

func (*ConfigItemStatusClient) List

func (*ConfigItemStatusClient) Update

func (c *ConfigItemStatusClient) Update(existing *ConfigItemStatus, updates interface{}) (*ConfigItemStatus, error)

type ConfigItemStatusCollection

type ConfigItemStatusCollection struct {
	Collection
	Data []ConfigItemStatus `json:"data,omitempty"`
}

type ConfigItemStatusOperations

type ConfigItemStatusOperations interface {
	List(opts *ListOpts) (*ConfigItemStatusCollection, error)
	Create(opts *ConfigItemStatus) (*ConfigItemStatus, error)
	Update(existing *ConfigItemStatus, updates interface{}) (*ConfigItemStatus, error)
	ById(id string) (*ConfigItemStatus, error)
	Delete(container *ConfigItemStatus) error
}

type Container

type Container struct {
	Resource

	AccountId string `json:"accountId,omitempty"`

	AgentId string `json:"agentId,omitempty"`

	AllocationState string `json:"allocationState,omitempty"`

	CapAdd []string `json:"capAdd,omitempty"`

	CapDrop []string `json:"capDrop,omitempty"`

	Command string `json:"command,omitempty"`

	CommandArgs []string `json:"commandArgs,omitempty"`

	Count int `json:"count,omitempty"`

	CpuSet string `json:"cpuSet,omitempty"`

	CpuShares int `json:"cpuShares,omitempty"`

	Created string `json:"created,omitempty"`

	Data map[string]interface{} `json:"data,omitempty"`

	DataVolumes []string `json:"dataVolumes,omitempty"`

	DataVolumesFrom []string `json:"dataVolumesFrom,omitempty"`

	Description string `json:"description,omitempty"`

	Devices []string `json:"devices,omitempty"`

	Directory string `json:"directory,omitempty"`

	Dns []string `json:"dns,omitempty"`

	DnsSearch []string `json:"dnsSearch,omitempty"`

	DomainName string `json:"domainName,omitempty"`

	EntryPoint []string `json:"entryPoint,omitempty"`

	Environment map[string]interface{} `json:"environment,omitempty"`

	FirstRunning string `json:"firstRunning,omitempty"`

	Hostname string `json:"hostname,omitempty"`

	ImageUuid string `json:"imageUuid,omitempty"`

	InstanceLinks map[string]interface{} `json:"instanceLinks,omitempty"`

	Kind string `json:"kind,omitempty"`

	LxcConf map[string]interface{} `json:"lxcConf,omitempty"`

	Memory int `json:"memory,omitempty"`

	MemorySwap int `json:"memorySwap,omitempty"`

	Name string `json:"name,omitempty"`

	NetworkIds []string `json:"networkIds,omitempty"`

	Ports []string `json:"ports,omitempty"`

	PrimaryIpAddress string `json:"primaryIpAddress,omitempty"`

	Privileged bool `json:"privileged,omitempty"`

	PublishAllPorts bool `json:"publishAllPorts,omitempty"`

	RegistryCredentialId string `json:"registryCredentialId,omitempty"`

	RemoveTime string `json:"removeTime,omitempty"`

	Removed string `json:"removed,omitempty"`

	RequestedHostId string `json:"requestedHostId,omitempty"`

	RestartPolicy RestartPolicy `json:"restartPolicy,omitempty"`

	StartOnCreate bool `json:"startOnCreate,omitempty"`

	State string `json:"state,omitempty"`

	StdinOpen bool `json:"stdinOpen,omitempty"`

	SystemContainer string `json:"systemContainer,omitempty"`

	Token string `json:"token,omitempty"`

	Transitioning string `json:"transitioning,omitempty"`

	TransitioningMessage string `json:"transitioningMessage,omitempty"`

	TransitioningProgress int `json:"transitioningProgress,omitempty"`

	Tty bool `json:"tty,omitempty"`

	User string `json:"user,omitempty"`

	Uuid string `json:"uuid,omitempty"`
}

type ContainerClient

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

func (*ContainerClient) ById

func (c *ContainerClient) ById(id string) (*Container, error)

func (*ContainerClient) Create

func (c *ContainerClient) Create(container *Container) (*Container, error)

func (*ContainerClient) Delete

func (c *ContainerClient) Delete(container *Container) error

func (*ContainerClient) List

func (*ContainerClient) Update

func (c *ContainerClient) Update(existing *Container, updates interface{}) (*Container, error)

type ContainerCollection

type ContainerCollection struct {
	Collection
	Data []Container `json:"data,omitempty"`
}

type ContainerEvent

type ContainerEvent struct {
	Resource

	AccountId string `json:"accountId,omitempty"`

	Created string `json:"created,omitempty"`

	Data map[string]interface{} `json:"data,omitempty"`

	DockerInspect interface{} `json:"dockerInspect,omitempty"`

	ExternalFrom string `json:"externalFrom,omitempty"`

	ExternalId string `json:"externalId,omitempty"`

	ExternalStatus string `json:"externalStatus,omitempty"`

	ExternalTimestamp int `json:"externalTimestamp,omitempty"`

	HostId string `json:"hostId,omitempty"`

	Kind string `json:"kind,omitempty"`

	ReportedHostUuid string `json:"reportedHostUuid,omitempty"`

	State string `json:"state,omitempty"`

	Transitioning string `json:"transitioning,omitempty"`

	TransitioningMessage string `json:"transitioningMessage,omitempty"`

	TransitioningProgress int `json:"transitioningProgress,omitempty"`
}

type ContainerEventClient

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

func (*ContainerEventClient) ActionCreate

func (c *ContainerEventClient) ActionCreate(resource *ContainerEvent) (*ContainerEvent, error)

func (*ContainerEventClient) ActionRemove

func (c *ContainerEventClient) ActionRemove(resource *ContainerEvent) (*ContainerEvent, error)

func (*ContainerEventClient) ById

func (*ContainerEventClient) Create

func (c *ContainerEventClient) Create(container *ContainerEvent) (*ContainerEvent, error)

func (*ContainerEventClient) Delete

func (c *ContainerEventClient) Delete(container *ContainerEvent) error

func (*ContainerEventClient) List

func (*ContainerEventClient) Update

func (c *ContainerEventClient) Update(existing *ContainerEvent, updates interface{}) (*ContainerEvent, error)

type ContainerEventCollection

type ContainerEventCollection struct {
	Collection
	Data []ContainerEvent `json:"data,omitempty"`
}

type ContainerEventOperations

type ContainerEventOperations interface {
	List(opts *ListOpts) (*ContainerEventCollection, error)
	Create(opts *ContainerEvent) (*ContainerEvent, error)
	Update(existing *ContainerEvent, updates interface{}) (*ContainerEvent, error)
	ById(id string) (*ContainerEvent, error)
	Delete(container *ContainerEvent) error
	ActionCreate(*ContainerEvent) (*ContainerEvent, error)
	ActionRemove(*ContainerEvent) (*ContainerEvent, error)
}

type ContainerExec

type ContainerExec struct {
	Resource

	AttachStdin bool `json:"attachStdin,omitempty"`

	AttachStdout bool `json:"attachStdout,omitempty"`

	Command []string `json:"command,omitempty"`

	Tty bool `json:"tty,omitempty"`
}

type ContainerExecClient

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

func (*ContainerExecClient) ById

func (*ContainerExecClient) Create

func (c *ContainerExecClient) Create(container *ContainerExec) (*ContainerExec, error)

func (*ContainerExecClient) Delete

func (c *ContainerExecClient) Delete(container *ContainerExec) error

func (*ContainerExecClient) List

func (*ContainerExecClient) Update

func (c *ContainerExecClient) Update(existing *ContainerExec, updates interface{}) (*ContainerExec, error)

type ContainerExecCollection

type ContainerExecCollection struct {
	Collection
	Data []ContainerExec `json:"data,omitempty"`
}

type ContainerExecOperations

type ContainerExecOperations interface {
	List(opts *ListOpts) (*ContainerExecCollection, error)
	Create(opts *ContainerExec) (*ContainerExec, error)
	Update(existing *ContainerExec, updates interface{}) (*ContainerExec, error)
	ById(id string) (*ContainerExec, error)
	Delete(container *ContainerExec) error
}

type ContainerLogs

type ContainerLogs struct {
	Resource

	Follow bool `json:"follow,omitempty"`

	Lines int `json:"lines,omitempty"`
}

type ContainerLogsClient

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

func (*ContainerLogsClient) ById

func (*ContainerLogsClient) Create

func (c *ContainerLogsClient) Create(container *ContainerLogs) (*ContainerLogs, error)

func (*ContainerLogsClient) Delete

func (c *ContainerLogsClient) Delete(container *ContainerLogs) error

func (*ContainerLogsClient) List

func (*ContainerLogsClient) Update

func (c *ContainerLogsClient) Update(existing *ContainerLogs, updates interface{}) (*ContainerLogs, error)

type ContainerLogsCollection

type ContainerLogsCollection struct {
	Collection
	Data []ContainerLogs `json:"data,omitempty"`
}

type ContainerLogsOperations

type ContainerLogsOperations interface {
	List(opts *ListOpts) (*ContainerLogsCollection, error)
	Create(opts *ContainerLogs) (*ContainerLogs, error)
	Update(existing *ContainerLogs, updates interface{}) (*ContainerLogs, error)
	ById(id string) (*ContainerLogs, error)
	Delete(container *ContainerLogs) error
}

type ContainerOperations

type ContainerOperations interface {
	List(opts *ListOpts) (*ContainerCollection, error)
	Create(opts *Container) (*Container, error)
	Update(existing *Container, updates interface{}) (*Container, error)
	ById(id string) (*Container, error)
	Delete(container *Container) error
}

type Credential

type Credential struct {
	Resource

	AccountId string `json:"accountId,omitempty"`

	Created string `json:"created,omitempty"`

	Data map[string]interface{} `json:"data,omitempty"`

	Description string `json:"description,omitempty"`

	Kind string `json:"kind,omitempty"`

	Name string `json:"name,omitempty"`

	PublicValue string `json:"publicValue,omitempty"`

	RemoveTime string `json:"removeTime,omitempty"`

	Removed string `json:"removed,omitempty"`

	SecretValue string `json:"secretValue,omitempty"`

	State string `json:"state,omitempty"`

	Transitioning string `json:"transitioning,omitempty"`

	TransitioningMessage string `json:"transitioningMessage,omitempty"`

	TransitioningProgress int `json:"transitioningProgress,omitempty"`

	Uuid string `json:"uuid,omitempty"`
}

type CredentialClient

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

func (*CredentialClient) ActionActivate

func (c *CredentialClient) ActionActivate(resource *Credential) (*Credential, error)

func (*CredentialClient) ActionCreate

func (c *CredentialClient) ActionCreate(resource *Credential) (*Credential, error)

func (*CredentialClient) ActionDeactivate

func (c *CredentialClient) ActionDeactivate(resource *Credential) (*Credential, error)

func (*CredentialClient) ActionPurge

func (c *CredentialClient) ActionPurge(resource *Credential) (*Credential, error)

func (*CredentialClient) ActionRemove

func (c *CredentialClient) ActionRemove(resource *Credential) (*Credential, error)

func (*CredentialClient) ActionRestore

func (c *CredentialClient) ActionRestore(resource *Credential) (*Credential, error)

func (*CredentialClient) ActionUpdate

func (c *CredentialClient) ActionUpdate(resource *Credential) (*Credential, error)

func (*CredentialClient) ById

func (c *CredentialClient) ById(id string) (*Credential, error)

func (*CredentialClient) Create

func (c *CredentialClient) Create(container *Credential) (*Credential, error)

func (*CredentialClient) Delete

func (c *CredentialClient) Delete(container *Credential) error

func (*CredentialClient) List

func (*CredentialClient) Update

func (c *CredentialClient) Update(existing *Credential, updates interface{}) (*Credential, error)

type CredentialCollection

type CredentialCollection struct {
	Collection
	Data []Credential `json:"data,omitempty"`
}

type CredentialOperations

type CredentialOperations interface {
	List(opts *ListOpts) (*CredentialCollection, error)
	Create(opts *Credential) (*Credential, error)
	Update(existing *Credential, updates interface{}) (*Credential, error)
	ById(id string) (*Credential, error)
	Delete(container *Credential) error
	ActionActivate(*Credential) (*Credential, error)
	ActionCreate(*Credential) (*Credential, error)
	ActionDeactivate(*Credential) (*Credential, error)
	ActionPurge(*Credential) (*Credential, error)
	ActionRemove(*Credential) (*Credential, error)
	ActionRestore(*Credential) (*Credential, error)
	ActionUpdate(*Credential) (*Credential, error)
}

type Databasechangelog

type Databasechangelog struct {
	Resource

	Author string `json:"author,omitempty"`

	Comments string `json:"comments,omitempty"`

	Dateexecuted string `json:"dateexecuted,omitempty"`

	Description string `json:"description,omitempty"`

	Exectype string `json:"exectype,omitempty"`

	Filename string `json:"filename,omitempty"`

	Liquibase string `json:"liquibase,omitempty"`

	Md5sum string `json:"md5sum,omitempty"`

	Orderexecuted int `json:"orderexecuted,omitempty"`

	Tag string `json:"tag,omitempty"`
}

type DatabasechangelogClient

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

func (*DatabasechangelogClient) ById

func (*DatabasechangelogClient) Create

func (*DatabasechangelogClient) Delete

func (c *DatabasechangelogClient) Delete(container *Databasechangelog) error

func (*DatabasechangelogClient) List

func (*DatabasechangelogClient) Update

func (c *DatabasechangelogClient) Update(existing *Databasechangelog, updates interface{}) (*Databasechangelog, error)

type DatabasechangelogCollection

type DatabasechangelogCollection struct {
	Collection
	Data []Databasechangelog `json:"data,omitempty"`
}

type DatabasechangelogOperations

type DatabasechangelogOperations interface {
	List(opts *ListOpts) (*DatabasechangelogCollection, error)
	Create(opts *Databasechangelog) (*Databasechangelog, error)
	Update(existing *Databasechangelog, updates interface{}) (*Databasechangelog, error)
	ById(id string) (*Databasechangelog, error)
	Delete(container *Databasechangelog) error
}

type Databasechangeloglock

type Databasechangeloglock struct {
	Resource

	Locked bool `json:"locked,omitempty"`

	Lockedby string `json:"lockedby,omitempty"`

	Lockgranted string `json:"lockgranted,omitempty"`
}

type DatabasechangeloglockClient

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

func (*DatabasechangeloglockClient) ById

func (*DatabasechangeloglockClient) Create

func (*DatabasechangeloglockClient) Delete

func (*DatabasechangeloglockClient) List

func (*DatabasechangeloglockClient) Update

func (c *DatabasechangeloglockClient) Update(existing *Databasechangeloglock, updates interface{}) (*Databasechangeloglock, error)

type DatabasechangeloglockCollection

type DatabasechangeloglockCollection struct {
	Collection
	Data []Databasechangeloglock `json:"data,omitempty"`
}

type DatabasechangeloglockOperations

type DatabasechangeloglockOperations interface {
	List(opts *ListOpts) (*DatabasechangeloglockCollection, error)
	Create(opts *Databasechangeloglock) (*Databasechangeloglock, error)
	Update(existing *Databasechangeloglock, updates interface{}) (*Databasechangeloglock, error)
	ById(id string) (*Databasechangeloglock, error)
	Delete(container *Databasechangeloglock) error
}

type DigitaloceanConfig

type DigitaloceanConfig struct {
	Resource

	AccessToken string `json:"accessToken,omitempty"`

	Image string `json:"image,omitempty"`

	Region string `json:"region,omitempty"`

	Size string `json:"size,omitempty"`
}

type DigitaloceanConfigClient

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

func (*DigitaloceanConfigClient) ById

func (*DigitaloceanConfigClient) Create

func (*DigitaloceanConfigClient) Delete

func (c *DigitaloceanConfigClient) Delete(container *DigitaloceanConfig) error

func (*DigitaloceanConfigClient) List

func (*DigitaloceanConfigClient) Update

func (c *DigitaloceanConfigClient) Update(existing *DigitaloceanConfig, updates interface{}) (*DigitaloceanConfig, error)

type DigitaloceanConfigCollection

type DigitaloceanConfigCollection struct {
	Collection
	Data []DigitaloceanConfig `json:"data,omitempty"`
}

type DigitaloceanConfigOperations

type DigitaloceanConfigOperations interface {
	List(opts *ListOpts) (*DigitaloceanConfigCollection, error)
	Create(opts *DigitaloceanConfig) (*DigitaloceanConfig, error)
	Update(existing *DigitaloceanConfig, updates interface{}) (*DigitaloceanConfig, error)
	ById(id string) (*DigitaloceanConfig, error)
	Delete(container *DigitaloceanConfig) error
}

type ExtensionImplementation

type ExtensionImplementation struct {
	Resource

	ClassName string `json:"className,omitempty"`

	Name string `json:"name,omitempty"`

	Properties map[string]interface{} `json:"properties,omitempty"`
}

type ExtensionImplementationClient

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

func (*ExtensionImplementationClient) ById

func (*ExtensionImplementationClient) Create

func (*ExtensionImplementationClient) Delete

func (*ExtensionImplementationClient) List

func (*ExtensionImplementationClient) Update

func (c *ExtensionImplementationClient) Update(existing *ExtensionImplementation, updates interface{}) (*ExtensionImplementation, error)

type ExtensionImplementationCollection

type ExtensionImplementationCollection struct {
	Collection
	Data []ExtensionImplementation `json:"data,omitempty"`
}

type ExtensionImplementationOperations

type ExtensionImplementationOperations interface {
	List(opts *ListOpts) (*ExtensionImplementationCollection, error)
	Create(opts *ExtensionImplementation) (*ExtensionImplementation, error)
	Update(existing *ExtensionImplementation, updates interface{}) (*ExtensionImplementation, error)
	ById(id string) (*ExtensionImplementation, error)
	Delete(container *ExtensionImplementation) error
}

type ExtensionPoint

type ExtensionPoint struct {
	Resource

	ExcludeSetting string `json:"excludeSetting,omitempty"`

	Implementations []interface{} `json:"implementations,omitempty"`

	IncludeSetting string `json:"includeSetting,omitempty"`

	ListSetting string `json:"listSetting,omitempty"`

	Name string `json:"name,omitempty"`
}

type ExtensionPointClient

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

func (*ExtensionPointClient) ById

func (*ExtensionPointClient) Create

func (c *ExtensionPointClient) Create(container *ExtensionPoint) (*ExtensionPoint, error)

func (*ExtensionPointClient) Delete

func (c *ExtensionPointClient) Delete(container *ExtensionPoint) error

func (*ExtensionPointClient) List

func (*ExtensionPointClient) Update

func (c *ExtensionPointClient) Update(existing *ExtensionPoint, updates interface{}) (*ExtensionPoint, error)

type ExtensionPointCollection

type ExtensionPointCollection struct {
	Collection
	Data []ExtensionPoint `json:"data,omitempty"`
}

type ExtensionPointOperations

type ExtensionPointOperations interface {
	List(opts *ListOpts) (*ExtensionPointCollection, error)
	Create(opts *ExtensionPoint) (*ExtensionPoint, error)
	Update(existing *ExtensionPoint, updates interface{}) (*ExtensionPoint, error)
	ById(id string) (*ExtensionPoint, error)
	Delete(container *ExtensionPoint) error
}

type ExternalHandler

type ExternalHandler struct {
	Resource

	Created string `json:"created,omitempty"`

	Data map[string]interface{} `json:"data,omitempty"`

	Description string `json:"description,omitempty"`

	Kind string `json:"kind,omitempty"`

	Name string `json:"name,omitempty"`

	Priority int `json:"priority,omitempty"`

	ProcessNames []string `json:"processNames,omitempty"`

	RemoveTime string `json:"removeTime,omitempty"`

	Removed string `json:"removed,omitempty"`

	Retries int `json:"retries,omitempty"`

	State string `json:"state,omitempty"`

	TimeoutMillis int `json:"timeoutMillis,omitempty"`

	Transitioning string `json:"transitioning,omitempty"`

	TransitioningMessage string `json:"transitioningMessage,omitempty"`

	TransitioningProgress int `json:"transitioningProgress,omitempty"`

	Uuid string `json:"uuid,omitempty"`
}

type ExternalHandlerClient

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

func (*ExternalHandlerClient) ActionActivate

func (c *ExternalHandlerClient) ActionActivate(resource *ExternalHandler) (*ExternalHandler, error)

func (*ExternalHandlerClient) ActionCreate

func (c *ExternalHandlerClient) ActionCreate(resource *ExternalHandler) (*ExternalHandler, error)

func (*ExternalHandlerClient) ActionDeactivate

func (c *ExternalHandlerClient) ActionDeactivate(resource *ExternalHandler) (*ExternalHandler, error)

func (*ExternalHandlerClient) ActionPurge

func (c *ExternalHandlerClient) ActionPurge(resource *ExternalHandler) (*ExternalHandler, error)

func (*ExternalHandlerClient) ActionRemove

func (c *ExternalHandlerClient) ActionRemove(resource *ExternalHandler) (*ExternalHandler, error)

func (*ExternalHandlerClient) ActionRestore

func (c *ExternalHandlerClient) ActionRestore(resource *ExternalHandler) (*ExternalHandler, error)

func (*ExternalHandlerClient) ActionUpdate

func (c *ExternalHandlerClient) ActionUpdate(resource *ExternalHandler) (*ExternalHandler, error)

func (*ExternalHandlerClient) ById

func (*ExternalHandlerClient) Create

func (c *ExternalHandlerClient) Create(container *ExternalHandler) (*ExternalHandler, error)

func (*ExternalHandlerClient) Delete

func (c *ExternalHandlerClient) Delete(container *ExternalHandler) error

func (*ExternalHandlerClient) List

func (*ExternalHandlerClient) Update

func (c *ExternalHandlerClient) Update(existing *ExternalHandler, updates interface{}) (*ExternalHandler, error)

type ExternalHandlerCollection

type ExternalHandlerCollection struct {
	Collection
	Data []ExternalHandler `json:"data,omitempty"`
}

type ExternalHandlerExternalHandlerProcessMap

type ExternalHandlerExternalHandlerProcessMap struct {
	Resource

	Created string `json:"created,omitempty"`

	Data map[string]interface{} `json:"data,omitempty"`

	Description string `json:"description,omitempty"`

	ExternalHandlerId string `json:"externalHandlerId,omitempty"`

	ExternalHandlerProcessId string `json:"externalHandlerProcessId,omitempty"`

	Kind string `json:"kind,omitempty"`

	Name string `json:"name,omitempty"`

	RemoveTime string `json:"removeTime,omitempty"`

	Removed string `json:"removed,omitempty"`

	State string `json:"state,omitempty"`

	Transitioning string `json:"transitioning,omitempty"`

	TransitioningMessage string `json:"transitioningMessage,omitempty"`

	TransitioningProgress int `json:"transitioningProgress,omitempty"`

	Uuid string `json:"uuid,omitempty"`
}

type ExternalHandlerExternalHandlerProcessMapClient

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

func (*ExternalHandlerExternalHandlerProcessMapClient) ActionActivate

func (*ExternalHandlerExternalHandlerProcessMapClient) ActionCreate

func (*ExternalHandlerExternalHandlerProcessMapClient) ActionDeactivate

func (*ExternalHandlerExternalHandlerProcessMapClient) ActionPurge

func (*ExternalHandlerExternalHandlerProcessMapClient) ActionRemove

func (*ExternalHandlerExternalHandlerProcessMapClient) ActionRestore

func (*ExternalHandlerExternalHandlerProcessMapClient) ActionUpdate

func (*ExternalHandlerExternalHandlerProcessMapClient) ById

func (*ExternalHandlerExternalHandlerProcessMapClient) Create

func (*ExternalHandlerExternalHandlerProcessMapClient) Delete

func (*ExternalHandlerExternalHandlerProcessMapClient) List

func (*ExternalHandlerExternalHandlerProcessMapClient) Update

type ExternalHandlerExternalHandlerProcessMapCollection

type ExternalHandlerExternalHandlerProcessMapCollection struct {
	Collection
	Data []ExternalHandlerExternalHandlerProcessMap `json:"data,omitempty"`
}

type ExternalHandlerOperations

type ExternalHandlerOperations interface {
	List(opts *ListOpts) (*ExternalHandlerCollection, error)
	Create(opts *ExternalHandler) (*ExternalHandler, error)
	Update(existing *ExternalHandler, updates interface{}) (*ExternalHandler, error)
	ById(id string) (*ExternalHandler, error)
	Delete(container *ExternalHandler) error
	ActionActivate(*ExternalHandler) (*ExternalHandler, error)
	ActionCreate(*ExternalHandler) (*ExternalHandler, error)
	ActionDeactivate(*ExternalHandler) (*ExternalHandler, error)
	ActionPurge(*ExternalHandler) (*ExternalHandler, error)
	ActionRemove(*ExternalHandler) (*ExternalHandler, error)
	ActionRestore(*ExternalHandler) (*ExternalHandler, error)
	ActionUpdate(*ExternalHandler) (*ExternalHandler, error)
}

type ExternalHandlerProcess

type ExternalHandlerProcess struct {
	Resource

	Created string `json:"created,omitempty"`

	Data map[string]interface{} `json:"data,omitempty"`

	Description string `json:"description,omitempty"`

	Kind string `json:"kind,omitempty"`

	Name string `json:"name,omitempty"`

	RemoveTime string `json:"removeTime,omitempty"`

	Removed string `json:"removed,omitempty"`

	State string `json:"state,omitempty"`

	Transitioning string `json:"transitioning,omitempty"`

	TransitioningMessage string `json:"transitioningMessage,omitempty"`

	TransitioningProgress int `json:"transitioningProgress,omitempty"`

	Uuid string `json:"uuid,omitempty"`
}

type ExternalHandlerProcessClient

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

func (*ExternalHandlerProcessClient) ActionActivate

func (*ExternalHandlerProcessClient) ActionCreate

func (*ExternalHandlerProcessClient) ActionDeactivate

func (*ExternalHandlerProcessClient) ActionPurge

func (*ExternalHandlerProcessClient) ActionRemove

func (*ExternalHandlerProcessClient) ActionRestore

func (*ExternalHandlerProcessClient) ActionUpdate

func (*ExternalHandlerProcessClient) ById

func (*ExternalHandlerProcessClient) Create

func (*ExternalHandlerProcessClient) Delete

func (*ExternalHandlerProcessClient) List

func (*ExternalHandlerProcessClient) Update

func (c *ExternalHandlerProcessClient) Update(existing *ExternalHandlerProcess, updates interface{}) (*ExternalHandlerProcess, error)

type ExternalHandlerProcessCollection

type ExternalHandlerProcessCollection struct {
	Collection
	Data []ExternalHandlerProcess `json:"data,omitempty"`
}

type Field

type Field struct {
	Type         string      `json:"type,omitempty"`
	Default      interface{} `json:"default,omitempty"`
	Unique       bool        `json:"unique,omitempty"`
	Nullable     bool        `json:"nullable,omitempty"`
	Create       bool        `json:"create,omitempty"`
	Required     bool        `json:"required,omitempty"`
	Update       bool        `json:"update,omitempty"`
	MinLength    *int64      `json:"minLength,omitempty"`
	MaxLength    *int64      `json:"maxLength,omitempty"`
	Min          *int64      `json:"min,omitempty"`
	Max          *int64      `json:"max,omitempty"`
	Options      []string    `json:"options,omitempty"`
	ValidChars   string      `json:"validChars,omitempty"`
	InvalidChars string      `json:"invalidChars,omitempty"`
}

type Filter

type Filter struct {
	Modifiers []string `json:"modifiers,omitempty"`
}

type Githubconfig

type Githubconfig struct {
	Resource

	AllowedOrganizations []string `json:"allowedOrganizations,omitempty"`

	AllowedUsers []string `json:"allowedUsers,omitempty"`

	ClientId string `json:"clientId,omitempty"`

	ClientSecret string `json:"clientSecret,omitempty"`

	Enabled bool `json:"enabled,omitempty"`
}

type GithubconfigClient

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

func (*GithubconfigClient) ById

func (c *GithubconfigClient) ById(id string) (*Githubconfig, error)

func (*GithubconfigClient) Create

func (c *GithubconfigClient) Create(container *Githubconfig) (*Githubconfig, error)

func (*GithubconfigClient) Delete

func (c *GithubconfigClient) Delete(container *Githubconfig) error

func (*GithubconfigClient) List

func (*GithubconfigClient) Update

func (c *GithubconfigClient) Update(existing *Githubconfig, updates interface{}) (*Githubconfig, error)

type GithubconfigCollection

type GithubconfigCollection struct {
	Collection
	Data []Githubconfig `json:"data,omitempty"`
}

type GithubconfigOperations

type GithubconfigOperations interface {
	List(opts *ListOpts) (*GithubconfigCollection, error)
	Create(opts *Githubconfig) (*Githubconfig, error)
	Update(existing *Githubconfig, updates interface{}) (*Githubconfig, error)
	ById(id string) (*Githubconfig, error)
	Delete(container *Githubconfig) error
}

type GlobalLoadBalancer

type GlobalLoadBalancer struct {
	Resource

	AccountId string `json:"accountId,omitempty"`

	Created string `json:"created,omitempty"`

	Data map[string]interface{} `json:"data,omitempty"`

	Description string `json:"description,omitempty"`

	GlobalLoadBalancerHealthCheck []interface{} `json:"globalLoadBalancerHealthCheck,omitempty"`

	GlobalLoadBalancerPolicy []interface{} `json:"globalLoadBalancerPolicy,omitempty"`

	Kind string `json:"kind,omitempty"`

	Name string `json:"name,omitempty"`

	RemoveTime string `json:"removeTime,omitempty"`

	Removed string `json:"removed,omitempty"`

	State string `json:"state,omitempty"`

	Transitioning string `json:"transitioning,omitempty"`

	TransitioningMessage string `json:"transitioningMessage,omitempty"`

	TransitioningProgress int `json:"transitioningProgress,omitempty"`

	Uuid string `json:"uuid,omitempty"`
}

type GlobalLoadBalancerClient

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

func (*GlobalLoadBalancerClient) ActionCreate

func (*GlobalLoadBalancerClient) ActionRemove

func (*GlobalLoadBalancerClient) ById

func (*GlobalLoadBalancerClient) Create

func (*GlobalLoadBalancerClient) Delete

func (c *GlobalLoadBalancerClient) Delete(container *GlobalLoadBalancer) error

func (*GlobalLoadBalancerClient) List

func (*GlobalLoadBalancerClient) Update

func (c *GlobalLoadBalancerClient) Update(existing *GlobalLoadBalancer, updates interface{}) (*GlobalLoadBalancer, error)

type GlobalLoadBalancerCollection

type GlobalLoadBalancerCollection struct {
	Collection
	Data []GlobalLoadBalancer `json:"data,omitempty"`
}

type GlobalLoadBalancerHealthCheck

type GlobalLoadBalancerHealthCheck struct {
	Resource

	Name string `json:"name,omitempty"`
}

type GlobalLoadBalancerHealthCheckClient

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

func (*GlobalLoadBalancerHealthCheckClient) ById

func (*GlobalLoadBalancerHealthCheckClient) Create

func (*GlobalLoadBalancerHealthCheckClient) Delete

func (*GlobalLoadBalancerHealthCheckClient) List

func (*GlobalLoadBalancerHealthCheckClient) Update

type GlobalLoadBalancerHealthCheckCollection

type GlobalLoadBalancerHealthCheckCollection struct {
	Collection
	Data []GlobalLoadBalancerHealthCheck `json:"data,omitempty"`
}

type GlobalLoadBalancerOperations

type GlobalLoadBalancerOperations interface {
	List(opts *ListOpts) (*GlobalLoadBalancerCollection, error)
	Create(opts *GlobalLoadBalancer) (*GlobalLoadBalancer, error)
	Update(existing *GlobalLoadBalancer, updates interface{}) (*GlobalLoadBalancer, error)
	ById(id string) (*GlobalLoadBalancer, error)
	Delete(container *GlobalLoadBalancer) error
	ActionCreate(*GlobalLoadBalancer) (*GlobalLoadBalancer, error)
	ActionRemove(*GlobalLoadBalancer) (*GlobalLoadBalancer, error)
}

type GlobalLoadBalancerPolicy

type GlobalLoadBalancerPolicy struct {
	Resource

	Name string `json:"name,omitempty"`
}

type GlobalLoadBalancerPolicyClient

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

func (*GlobalLoadBalancerPolicyClient) ById

func (*GlobalLoadBalancerPolicyClient) Create

func (*GlobalLoadBalancerPolicyClient) Delete

func (*GlobalLoadBalancerPolicyClient) List

func (*GlobalLoadBalancerPolicyClient) Update

func (c *GlobalLoadBalancerPolicyClient) Update(existing *GlobalLoadBalancerPolicy, updates interface{}) (*GlobalLoadBalancerPolicy, error)

type GlobalLoadBalancerPolicyCollection

type GlobalLoadBalancerPolicyCollection struct {
	Collection
	Data []GlobalLoadBalancerPolicy `json:"data,omitempty"`
}

type GlobalLoadBalancerPolicyOperations

type GlobalLoadBalancerPolicyOperations interface {
	List(opts *ListOpts) (*GlobalLoadBalancerPolicyCollection, error)
	Create(opts *GlobalLoadBalancerPolicy) (*GlobalLoadBalancerPolicy, error)
	Update(existing *GlobalLoadBalancerPolicy, updates interface{}) (*GlobalLoadBalancerPolicy, error)
	ById(id string) (*GlobalLoadBalancerPolicy, error)
	Delete(container *GlobalLoadBalancerPolicy) error
}

type Host

type Host struct {
	Resource

	AccountId string `json:"accountId,omitempty"`

	AgentId string `json:"agentId,omitempty"`

	ApiProxy string `json:"apiProxy,omitempty"`

	ComputeTotal int `json:"computeTotal,omitempty"`

	Created string `json:"created,omitempty"`

	Data map[string]interface{} `json:"data,omitempty"`

	Description string `json:"description,omitempty"`

	Info interface{} `json:"info,omitempty"`

	Kind string `json:"kind,omitempty"`

	Name string `json:"name,omitempty"`

	PhysicalHostId string `json:"physicalHostId,omitempty"`

	RemoveTime string `json:"removeTime,omitempty"`

	Removed string `json:"removed,omitempty"`

	State string `json:"state,omitempty"`

	Transitioning string `json:"transitioning,omitempty"`

	TransitioningMessage string `json:"transitioningMessage,omitempty"`

	TransitioningProgress int `json:"transitioningProgress,omitempty"`

	Uuid string `json:"uuid,omitempty"`
}

type HostAccess

type HostAccess struct {
	Resource

	Token string `json:"token,omitempty"`

	Url string `json:"url,omitempty"`
}

type HostAccessClient

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

func (*HostAccessClient) ById

func (c *HostAccessClient) ById(id string) (*HostAccess, error)

func (*HostAccessClient) Create

func (c *HostAccessClient) Create(container *HostAccess) (*HostAccess, error)

func (*HostAccessClient) Delete

func (c *HostAccessClient) Delete(container *HostAccess) error

func (*HostAccessClient) List

func (*HostAccessClient) Update

func (c *HostAccessClient) Update(existing *HostAccess, updates interface{}) (*HostAccess, error)

type HostAccessCollection

type HostAccessCollection struct {
	Collection
	Data []HostAccess `json:"data,omitempty"`
}

type HostAccessOperations

type HostAccessOperations interface {
	List(opts *ListOpts) (*HostAccessCollection, error)
	Create(opts *HostAccess) (*HostAccess, error)
	Update(existing *HostAccess, updates interface{}) (*HostAccess, error)
	ById(id string) (*HostAccess, error)
	Delete(container *HostAccess) error
}

type HostClient

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

func (*HostClient) ActionActivate

func (c *HostClient) ActionActivate(resource *Host) (*Host, error)

func (*HostClient) ActionCreate

func (c *HostClient) ActionCreate(resource *Host) (*Host, error)

func (*HostClient) ActionDeactivate

func (c *HostClient) ActionDeactivate(resource *Host) (*Host, error)

func (*HostClient) ActionPurge

func (c *HostClient) ActionPurge(resource *Host) (*Host, error)

func (*HostClient) ActionRemove

func (c *HostClient) ActionRemove(resource *Host) (*Host, error)

func (*HostClient) ActionRestore

func (c *HostClient) ActionRestore(resource *Host) (*Host, error)

func (*HostClient) ActionUpdate

func (c *HostClient) ActionUpdate(resource *Host) (*Host, error)

func (*HostClient) ById

func (c *HostClient) ById(id string) (*Host, error)

func (*HostClient) Create

func (c *HostClient) Create(container *Host) (*Host, error)

func (*HostClient) Delete

func (c *HostClient) Delete(container *Host) error

func (*HostClient) List

func (c *HostClient) List(opts *ListOpts) (*HostCollection, error)

func (*HostClient) Update

func (c *HostClient) Update(existing *Host, updates interface{}) (*Host, error)

type HostCollection

type HostCollection struct {
	Collection
	Data []Host `json:"data,omitempty"`
}

type HostOperations

type HostOperations interface {
	List(opts *ListOpts) (*HostCollection, error)
	Create(opts *Host) (*Host, error)
	Update(existing *Host, updates interface{}) (*Host, error)
	ById(id string) (*Host, error)
	Delete(container *Host) error
	ActionActivate(*Host) (*Host, error)
	ActionCreate(*Host) (*Host, error)
	ActionDeactivate(*Host) (*Host, error)
	ActionPurge(*Host) (*Host, error)
	ActionRemove(*Host) (*Host, error)
	ActionRestore(*Host) (*Host, error)
	ActionUpdate(*Host) (*Host, error)
}

type Image

type Image struct {
	Resource

	AccountId string `json:"accountId,omitempty"`

	Created string `json:"created,omitempty"`

	Data map[string]interface{} `json:"data,omitempty"`

	Description string `json:"description,omitempty"`

	Kind string `json:"kind,omitempty"`

	Name string `json:"name,omitempty"`

	RemoveTime string `json:"removeTime,omitempty"`

	Removed string `json:"removed,omitempty"`

	State string `json:"state,omitempty"`

	Transitioning string `json:"transitioning,omitempty"`

	TransitioningMessage string `json:"transitioningMessage,omitempty"`

	TransitioningProgress int `json:"transitioningProgress,omitempty"`

	Uuid string `json:"uuid,omitempty"`
}

type ImageClient

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

func (*ImageClient) ActionActivate

func (c *ImageClient) ActionActivate(resource *Image) (*Image, error)

func (*ImageClient) ActionCreate

func (c *ImageClient) ActionCreate(resource *Image) (*Image, error)

func (*ImageClient) ActionDeactivate

func (c *ImageClient) ActionDeactivate(resource *Image) (*Image, error)

func (*ImageClient) ActionPurge

func (c *ImageClient) ActionPurge(resource *Image) (*Image, error)

func (*ImageClient) ActionRemove

func (c *ImageClient) ActionRemove(resource *Image) (*Image, error)

func (*ImageClient) ActionRestore

func (c *ImageClient) ActionRestore(resource *Image) (*Image, error)

func (*ImageClient) ActionUpdate

func (c *ImageClient) ActionUpdate(resource *Image) (*Image, error)

func (*ImageClient) ById

func (c *ImageClient) ById(id string) (*Image, error)

func (*ImageClient) Create

func (c *ImageClient) Create(container *Image) (*Image, error)

func (*ImageClient) Delete

func (c *ImageClient) Delete(container *Image) error

func (*ImageClient) List

func (c *ImageClient) List(opts *ListOpts) (*ImageCollection, error)

func (*ImageClient) Update

func (c *ImageClient) Update(existing *Image, updates interface{}) (*Image, error)

type ImageCollection

type ImageCollection struct {
	Collection
	Data []Image `json:"data,omitempty"`
}

type ImageOperations

type ImageOperations interface {
	List(opts *ListOpts) (*ImageCollection, error)
	Create(opts *Image) (*Image, error)
	Update(existing *Image, updates interface{}) (*Image, error)
	ById(id string) (*Image, error)
	Delete(container *Image) error
	ActionActivate(*Image) (*Image, error)
	ActionCreate(*Image) (*Image, error)
	ActionDeactivate(*Image) (*Image, error)
	ActionPurge(*Image) (*Image, error)
	ActionRemove(*Image) (*Image, error)
	ActionRestore(*Image) (*Image, error)
	ActionUpdate(*Image) (*Image, error)
}

type Instance

type Instance struct {
	Resource

	AccountId string `json:"accountId,omitempty"`

	Created string `json:"created,omitempty"`

	Data map[string]interface{} `json:"data,omitempty"`

	Description string `json:"description,omitempty"`

	Kind string `json:"kind,omitempty"`

	Name string `json:"name,omitempty"`

	RemoveTime string `json:"removeTime,omitempty"`

	Removed string `json:"removed,omitempty"`

	State string `json:"state,omitempty"`

	Transitioning string `json:"transitioning,omitempty"`

	TransitioningMessage string `json:"transitioningMessage,omitempty"`

	TransitioningProgress int `json:"transitioningProgress,omitempty"`

	Uuid string `json:"uuid,omitempty"`
}

type InstanceClient

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

func (*InstanceClient) ActionAllocate

func (c *InstanceClient) ActionAllocate(resource *Instance) (*Instance, error)

func (*InstanceClient) ActionCreate

func (c *InstanceClient) ActionCreate(resource *Instance) (*Instance, error)

func (*InstanceClient) ActionDeallocate

func (c *InstanceClient) ActionDeallocate(resource *Instance) (*Instance, error)

func (*InstanceClient) ActionMigrate

func (c *InstanceClient) ActionMigrate(resource *Instance) (*Instance, error)

func (*InstanceClient) ActionPurge

func (c *InstanceClient) ActionPurge(resource *Instance) (*Instance, error)

func (*InstanceClient) ActionRemove

func (c *InstanceClient) ActionRemove(resource *Instance) (*Instance, error)

func (*InstanceClient) ActionRestart

func (c *InstanceClient) ActionRestart(resource *Instance) (*Instance, error)

func (*InstanceClient) ActionRestore

func (c *InstanceClient) ActionRestore(resource *Instance) (*Instance, error)

func (*InstanceClient) ActionStart

func (c *InstanceClient) ActionStart(resource *Instance) (*Instance, error)

func (*InstanceClient) ActionUpdate

func (c *InstanceClient) ActionUpdate(resource *Instance) (*Instance, error)

func (*InstanceClient) ById

func (c *InstanceClient) ById(id string) (*Instance, error)

func (*InstanceClient) Create

func (c *InstanceClient) Create(container *Instance) (*Instance, error)

func (*InstanceClient) Delete

func (c *InstanceClient) Delete(container *Instance) error

func (*InstanceClient) List

func (c *InstanceClient) List(opts *ListOpts) (*InstanceCollection, error)

func (*InstanceClient) Update

func (c *InstanceClient) Update(existing *Instance, updates interface{}) (*Instance, error)

type InstanceCollection

type InstanceCollection struct {
	Collection
	Data []Instance `json:"data,omitempty"`
}

type InstanceConsole

type InstanceConsole struct {
	Resource

	Kind string `json:"kind,omitempty"`

	Password string `json:"password,omitempty"`

	Url string `json:"url,omitempty"`
}

type InstanceConsoleClient

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

func (*InstanceConsoleClient) ById

func (*InstanceConsoleClient) Create

func (c *InstanceConsoleClient) Create(container *InstanceConsole) (*InstanceConsole, error)

func (*InstanceConsoleClient) Delete

func (c *InstanceConsoleClient) Delete(container *InstanceConsole) error

func (*InstanceConsoleClient) List

func (*InstanceConsoleClient) Update

func (c *InstanceConsoleClient) Update(existing *InstanceConsole, updates interface{}) (*InstanceConsole, error)

type InstanceConsoleCollection

type InstanceConsoleCollection struct {
	Collection
	Data []InstanceConsole `json:"data,omitempty"`
}

type InstanceConsoleInput

type InstanceConsoleInput struct {
	Resource
}

type InstanceConsoleInputClient

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

func (*InstanceConsoleInputClient) ById

func (*InstanceConsoleInputClient) Create

func (*InstanceConsoleInputClient) Delete

func (*InstanceConsoleInputClient) List

func (*InstanceConsoleInputClient) Update

func (c *InstanceConsoleInputClient) Update(existing *InstanceConsoleInput, updates interface{}) (*InstanceConsoleInput, error)

type InstanceConsoleInputCollection

type InstanceConsoleInputCollection struct {
	Collection
	Data []InstanceConsoleInput `json:"data,omitempty"`
}

type InstanceConsoleInputOperations

type InstanceConsoleInputOperations interface {
	List(opts *ListOpts) (*InstanceConsoleInputCollection, error)
	Create(opts *InstanceConsoleInput) (*InstanceConsoleInput, error)
	Update(existing *InstanceConsoleInput, updates interface{}) (*InstanceConsoleInput, error)
	ById(id string) (*InstanceConsoleInput, error)
	Delete(container *InstanceConsoleInput) error
}

type InstanceConsoleOperations

type InstanceConsoleOperations interface {
	List(opts *ListOpts) (*InstanceConsoleCollection, error)
	Create(opts *InstanceConsole) (*InstanceConsole, error)
	Update(existing *InstanceConsole, updates interface{}) (*InstanceConsole, error)
	ById(id string) (*InstanceConsole, error)
	Delete(container *InstanceConsole) error
}
type InstanceLink struct {
	Resource

	AccountId string `json:"accountId,omitempty"`

	Created string `json:"created,omitempty"`

	Data map[string]interface{} `json:"data,omitempty"`

	Description string `json:"description,omitempty"`

	InstanceId string `json:"instanceId,omitempty"`

	Kind string `json:"kind,omitempty"`

	LinkName string `json:"linkName,omitempty"`

	Name string `json:"name,omitempty"`

	Ports []interface{} `json:"ports,omitempty"`

	RemoveTime string `json:"removeTime,omitempty"`

	Removed string `json:"removed,omitempty"`

	State string `json:"state,omitempty"`

	TargetInstanceId string `json:"targetInstanceId,omitempty"`

	Transitioning string `json:"transitioning,omitempty"`

	TransitioningMessage string `json:"transitioningMessage,omitempty"`

	TransitioningProgress int `json:"transitioningProgress,omitempty"`

	Uuid string `json:"uuid,omitempty"`
}

type InstanceLinkClient

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

func (*InstanceLinkClient) ActionActivate

func (c *InstanceLinkClient) ActionActivate(resource *InstanceLink) (*InstanceLink, error)

func (*InstanceLinkClient) ActionCreate

func (c *InstanceLinkClient) ActionCreate(resource *InstanceLink) (*InstanceLink, error)

func (*InstanceLinkClient) ActionDeactivate

func (c *InstanceLinkClient) ActionDeactivate(resource *InstanceLink) (*InstanceLink, error)

func (*InstanceLinkClient) ActionPurge

func (c *InstanceLinkClient) ActionPurge(resource *InstanceLink) (*InstanceLink, error)

func (*InstanceLinkClient) ActionRemove

func (c *InstanceLinkClient) ActionRemove(resource *InstanceLink) (*InstanceLink, error)

func (*InstanceLinkClient) ActionRestore

func (c *InstanceLinkClient) ActionRestore(resource *InstanceLink) (*InstanceLink, error)

func (*InstanceLinkClient) ActionUpdate

func (c *InstanceLinkClient) ActionUpdate(resource *InstanceLink) (*InstanceLink, error)

func (*InstanceLinkClient) ById

func (c *InstanceLinkClient) ById(id string) (*InstanceLink, error)

func (*InstanceLinkClient) Create

func (c *InstanceLinkClient) Create(container *InstanceLink) (*InstanceLink, error)

func (*InstanceLinkClient) Delete

func (c *InstanceLinkClient) Delete(container *InstanceLink) error

func (*InstanceLinkClient) List

func (*InstanceLinkClient) Update

func (c *InstanceLinkClient) Update(existing *InstanceLink, updates interface{}) (*InstanceLink, error)

type InstanceLinkCollection

type InstanceLinkCollection struct {
	Collection
	Data []InstanceLink `json:"data,omitempty"`
}

type InstanceLinkOperations

type InstanceLinkOperations interface {
	List(opts *ListOpts) (*InstanceLinkCollection, error)
	Create(opts *InstanceLink) (*InstanceLink, error)
	Update(existing *InstanceLink, updates interface{}) (*InstanceLink, error)
	ById(id string) (*InstanceLink, error)
	Delete(container *InstanceLink) error
	ActionActivate(*InstanceLink) (*InstanceLink, error)
	ActionCreate(*InstanceLink) (*InstanceLink, error)
	ActionDeactivate(*InstanceLink) (*InstanceLink, error)
	ActionPurge(*InstanceLink) (*InstanceLink, error)
	ActionRemove(*InstanceLink) (*InstanceLink, error)
	ActionRestore(*InstanceLink) (*InstanceLink, error)
	ActionUpdate(*InstanceLink) (*InstanceLink, error)
}

type InstanceOperations

type InstanceOperations interface {
	List(opts *ListOpts) (*InstanceCollection, error)
	Create(opts *Instance) (*Instance, error)
	Update(existing *Instance, updates interface{}) (*Instance, error)
	ById(id string) (*Instance, error)
	Delete(container *Instance) error
	ActionAllocate(*Instance) (*Instance, error)
	ActionCreate(*Instance) (*Instance, error)
	ActionDeallocate(*Instance) (*Instance, error)
	ActionMigrate(*Instance) (*Instance, error)
	ActionPurge(*Instance) (*Instance, error)
	ActionRemove(*Instance) (*Instance, error)
	ActionRestart(*Instance) (*Instance, error)
	ActionRestore(*Instance) (*Instance, error)
	ActionStart(*Instance) (*Instance, error)
	ActionUpdate(*Instance) (*Instance, error)
}

type InstanceStop

type InstanceStop struct {
	Resource

	DeallocateFromHost bool `json:"deallocateFromHost,omitempty"`

	Remove bool `json:"remove,omitempty"`

	Timeout int `json:"timeout,omitempty"`
}

type InstanceStopClient

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

func (*InstanceStopClient) ById

func (c *InstanceStopClient) ById(id string) (*InstanceStop, error)

func (*InstanceStopClient) Create

func (c *InstanceStopClient) Create(container *InstanceStop) (*InstanceStop, error)

func (*InstanceStopClient) Delete

func (c *InstanceStopClient) Delete(container *InstanceStop) error

func (*InstanceStopClient) List

func (*InstanceStopClient) Update

func (c *InstanceStopClient) Update(existing *InstanceStop, updates interface{}) (*InstanceStop, error)

type InstanceStopCollection

type InstanceStopCollection struct {
	Collection
	Data []InstanceStop `json:"data,omitempty"`
}

type InstanceStopOperations

type InstanceStopOperations interface {
	List(opts *ListOpts) (*InstanceStopCollection, error)
	Create(opts *InstanceStop) (*InstanceStop, error)
	Update(existing *InstanceStop, updates interface{}) (*InstanceStop, error)
	ById(id string) (*InstanceStop, error)
	Delete(container *InstanceStop) error
}

type IpAddress

type IpAddress struct {
	Resource

	AccountId string `json:"accountId,omitempty"`

	Address string `json:"address,omitempty"`

	Created string `json:"created,omitempty"`

	Data map[string]interface{} `json:"data,omitempty"`

	Description string `json:"description,omitempty"`

	Kind string `json:"kind,omitempty"`

	Name string `json:"name,omitempty"`

	NetworkId string `json:"networkId,omitempty"`

	RemoveTime string `json:"removeTime,omitempty"`

	Removed string `json:"removed,omitempty"`

	State string `json:"state,omitempty"`

	Transitioning string `json:"transitioning,omitempty"`

	TransitioningMessage string `json:"transitioningMessage,omitempty"`

	TransitioningProgress int `json:"transitioningProgress,omitempty"`

	Uuid string `json:"uuid,omitempty"`
}

type IpAddressAssociateInput

type IpAddressAssociateInput struct {
	Resource

	IpAddressId string `json:"ipAddressId,omitempty"`
}

type IpAddressAssociateInputClient

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

func (*IpAddressAssociateInputClient) ById

func (*IpAddressAssociateInputClient) Create

func (*IpAddressAssociateInputClient) Delete

func (*IpAddressAssociateInputClient) List

func (*IpAddressAssociateInputClient) Update

func (c *IpAddressAssociateInputClient) Update(existing *IpAddressAssociateInput, updates interface{}) (*IpAddressAssociateInput, error)

type IpAddressAssociateInputCollection

type IpAddressAssociateInputCollection struct {
	Collection
	Data []IpAddressAssociateInput `json:"data,omitempty"`
}

type IpAddressAssociateInputOperations

type IpAddressAssociateInputOperations interface {
	List(opts *ListOpts) (*IpAddressAssociateInputCollection, error)
	Create(opts *IpAddressAssociateInput) (*IpAddressAssociateInput, error)
	Update(existing *IpAddressAssociateInput, updates interface{}) (*IpAddressAssociateInput, error)
	ById(id string) (*IpAddressAssociateInput, error)
	Delete(container *IpAddressAssociateInput) error
}

type IpAddressClient

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

func (*IpAddressClient) ActionActivate

func (c *IpAddressClient) ActionActivate(resource *IpAddress) (*IpAddress, error)

func (*IpAddressClient) ActionCreate

func (c *IpAddressClient) ActionCreate(resource *IpAddress) (*IpAddress, error)

func (*IpAddressClient) ActionDeactivate

func (c *IpAddressClient) ActionDeactivate(resource *IpAddress) (*IpAddress, error)

func (*IpAddressClient) ActionDisassociate

func (c *IpAddressClient) ActionDisassociate(resource *IpAddress) (*IpAddress, error)

func (*IpAddressClient) ActionPurge

func (c *IpAddressClient) ActionPurge(resource *IpAddress) (*IpAddress, error)

func (*IpAddressClient) ActionRemove

func (c *IpAddressClient) ActionRemove(resource *IpAddress) (*IpAddress, error)

func (*IpAddressClient) ActionRestore

func (c *IpAddressClient) ActionRestore(resource *IpAddress) (*IpAddress, error)

func (*IpAddressClient) ActionUpdate

func (c *IpAddressClient) ActionUpdate(resource *IpAddress) (*IpAddress, error)

func (*IpAddressClient) ById

func (c *IpAddressClient) ById(id string) (*IpAddress, error)

func (*IpAddressClient) Create

func (c *IpAddressClient) Create(container *IpAddress) (*IpAddress, error)

func (*IpAddressClient) Delete

func (c *IpAddressClient) Delete(container *IpAddress) error

func (*IpAddressClient) List

func (*IpAddressClient) Update

func (c *IpAddressClient) Update(existing *IpAddress, updates interface{}) (*IpAddress, error)

type IpAddressCollection

type IpAddressCollection struct {
	Collection
	Data []IpAddress `json:"data,omitempty"`
}

type IpAddressOperations

type IpAddressOperations interface {
	List(opts *ListOpts) (*IpAddressCollection, error)
	Create(opts *IpAddress) (*IpAddress, error)
	Update(existing *IpAddress, updates interface{}) (*IpAddress, error)
	ById(id string) (*IpAddress, error)
	Delete(container *IpAddress) error
	ActionActivate(*IpAddress) (*IpAddress, error)
	ActionCreate(*IpAddress) (*IpAddress, error)
	ActionDeactivate(*IpAddress) (*IpAddress, error)
	ActionDisassociate(*IpAddress) (*IpAddress, error)
	ActionPurge(*IpAddress) (*IpAddress, error)
	ActionRemove(*IpAddress) (*IpAddress, error)
	ActionRestore(*IpAddress) (*IpAddress, error)
	ActionUpdate(*IpAddress) (*IpAddress, error)
}

type ListOpts

type ListOpts struct {
	Filters map[string]interface{}
}

func NewListOpts

func NewListOpts() *ListOpts

type LoadBalancer

type LoadBalancer struct {
	Resource

	AccountId string `json:"accountId,omitempty"`

	Created string `json:"created,omitempty"`

	Data map[string]interface{} `json:"data,omitempty"`

	Description string `json:"description,omitempty"`

	GlobalLoadBalancerId string `json:"globalLoadBalancerId,omitempty"`

	Kind string `json:"kind,omitempty"`

	LoadBalancerConfigId string `json:"loadBalancerConfigId,omitempty"`

	Name string `json:"name,omitempty"`

	RemoveTime string `json:"removeTime,omitempty"`

	Removed string `json:"removed,omitempty"`

	State string `json:"state,omitempty"`

	Transitioning string `json:"transitioning,omitempty"`

	TransitioningMessage string `json:"transitioningMessage,omitempty"`

	TransitioningProgress int `json:"transitioningProgress,omitempty"`

	Uuid string `json:"uuid,omitempty"`

	Weight int `json:"weight,omitempty"`
}

type LoadBalancerAppCookieStickinessPolicy

type LoadBalancerAppCookieStickinessPolicy struct {
	Resource

	Cookie string `json:"cookie,omitempty"`

	Length int `json:"length,omitempty"`

	Mode string `json:"mode,omitempty"`

	Name string `json:"name,omitempty"`

	Prefix bool `json:"prefix,omitempty"`

	RequestLearn bool `json:"requestLearn,omitempty"`

	Timeout int `json:"timeout,omitempty"`
}

type LoadBalancerAppCookieStickinessPolicyClient

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

func (*LoadBalancerAppCookieStickinessPolicyClient) ById

func (*LoadBalancerAppCookieStickinessPolicyClient) Create

func (*LoadBalancerAppCookieStickinessPolicyClient) Delete

func (*LoadBalancerAppCookieStickinessPolicyClient) List

func (*LoadBalancerAppCookieStickinessPolicyClient) Update

type LoadBalancerAppCookieStickinessPolicyCollection

type LoadBalancerAppCookieStickinessPolicyCollection struct {
	Collection
	Data []LoadBalancerAppCookieStickinessPolicy `json:"data,omitempty"`
}

type LoadBalancerClient

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

func (*LoadBalancerClient) ActionCreate

func (c *LoadBalancerClient) ActionCreate(resource *LoadBalancer) (*LoadBalancer, error)

func (*LoadBalancerClient) ActionRemove

func (c *LoadBalancerClient) ActionRemove(resource *LoadBalancer) (*LoadBalancer, error)

func (*LoadBalancerClient) ById

func (c *LoadBalancerClient) ById(id string) (*LoadBalancer, error)

func (*LoadBalancerClient) Create

func (c *LoadBalancerClient) Create(container *LoadBalancer) (*LoadBalancer, error)

func (*LoadBalancerClient) Delete

func (c *LoadBalancerClient) Delete(container *LoadBalancer) error

func (*LoadBalancerClient) List

func (*LoadBalancerClient) Update

func (c *LoadBalancerClient) Update(existing *LoadBalancer, updates interface{}) (*LoadBalancer, error)

type LoadBalancerCollection

type LoadBalancerCollection struct {
	Collection
	Data []LoadBalancer `json:"data,omitempty"`
}

type LoadBalancerConfig

type LoadBalancerConfig struct {
	Resource

	AccountId string `json:"accountId,omitempty"`

	AppCookieStickinessPolicy LoadBalancerAppCookieStickinessPolicy `json:"appCookieStickinessPolicy,omitempty"`

	Created string `json:"created,omitempty"`

	Data map[string]interface{} `json:"data,omitempty"`

	Description string `json:"description,omitempty"`

	HealthCheck LoadBalancerHealthCheck `json:"healthCheck,omitempty"`

	Kind string `json:"kind,omitempty"`

	LbCookieStickinessPolicy LoadBalancerCookieStickinessPolicy `json:"lbCookieStickinessPolicy,omitempty"`

	Name string `json:"name,omitempty"`

	RemoveTime string `json:"removeTime,omitempty"`

	Removed string `json:"removed,omitempty"`

	State string `json:"state,omitempty"`

	Transitioning string `json:"transitioning,omitempty"`

	TransitioningMessage string `json:"transitioningMessage,omitempty"`

	TransitioningProgress int `json:"transitioningProgress,omitempty"`

	Uuid string `json:"uuid,omitempty"`
}

type LoadBalancerConfigClient

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

func (*LoadBalancerConfigClient) ActionCreate

func (*LoadBalancerConfigClient) ActionRemove

func (*LoadBalancerConfigClient) ActionUpdate

func (*LoadBalancerConfigClient) ById

func (*LoadBalancerConfigClient) Create

func (*LoadBalancerConfigClient) Delete

func (c *LoadBalancerConfigClient) Delete(container *LoadBalancerConfig) error

func (*LoadBalancerConfigClient) List

func (*LoadBalancerConfigClient) Update

func (c *LoadBalancerConfigClient) Update(existing *LoadBalancerConfig, updates interface{}) (*LoadBalancerConfig, error)

type LoadBalancerConfigCollection

type LoadBalancerConfigCollection struct {
	Collection
	Data []LoadBalancerConfig `json:"data,omitempty"`
}

type LoadBalancerConfigOperations

type LoadBalancerConfigOperations interface {
	List(opts *ListOpts) (*LoadBalancerConfigCollection, error)
	Create(opts *LoadBalancerConfig) (*LoadBalancerConfig, error)
	Update(existing *LoadBalancerConfig, updates interface{}) (*LoadBalancerConfig, error)
	ById(id string) (*LoadBalancerConfig, error)
	Delete(container *LoadBalancerConfig) error
	ActionCreate(*LoadBalancerConfig) (*LoadBalancerConfig, error)
	ActionRemove(*LoadBalancerConfig) (*LoadBalancerConfig, error)
	ActionUpdate(*LoadBalancerConfig) (*LoadBalancerConfig, error)
}

type LoadBalancerCookieStickinessPolicy

type LoadBalancerCookieStickinessPolicy struct {
	Resource

	Cookie string `json:"cookie,omitempty"`

	Domain string `json:"domain,omitempty"`

	Indirect bool `json:"indirect,omitempty"`

	Mode string `json:"mode,omitempty"`

	Name string `json:"name,omitempty"`

	Nocache bool `json:"nocache,omitempty"`

	Postonly bool `json:"postonly,omitempty"`
}

type LoadBalancerCookieStickinessPolicyClient

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

func (*LoadBalancerCookieStickinessPolicyClient) ById

func (*LoadBalancerCookieStickinessPolicyClient) Create

func (*LoadBalancerCookieStickinessPolicyClient) Delete

func (*LoadBalancerCookieStickinessPolicyClient) List

func (*LoadBalancerCookieStickinessPolicyClient) Update

type LoadBalancerCookieStickinessPolicyCollection

type LoadBalancerCookieStickinessPolicyCollection struct {
	Collection
	Data []LoadBalancerCookieStickinessPolicy `json:"data,omitempty"`
}

type LoadBalancerHealthCheck

type LoadBalancerHealthCheck struct {
	Resource

	HealthyThreshold int `json:"healthyThreshold,omitempty"`

	Interval int `json:"interval,omitempty"`

	Name string `json:"name,omitempty"`

	ResponseTimeout int `json:"responseTimeout,omitempty"`

	UnhealthyThreshold int `json:"unhealthyThreshold,omitempty"`

	Uri string `json:"uri,omitempty"`
}

type LoadBalancerHealthCheckClient

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

func (*LoadBalancerHealthCheckClient) ById

func (*LoadBalancerHealthCheckClient) Create

func (*LoadBalancerHealthCheckClient) Delete

func (*LoadBalancerHealthCheckClient) List

func (*LoadBalancerHealthCheckClient) Update

func (c *LoadBalancerHealthCheckClient) Update(existing *LoadBalancerHealthCheck, updates interface{}) (*LoadBalancerHealthCheck, error)

type LoadBalancerHealthCheckCollection

type LoadBalancerHealthCheckCollection struct {
	Collection
	Data []LoadBalancerHealthCheck `json:"data,omitempty"`
}

type LoadBalancerHealthCheckOperations

type LoadBalancerHealthCheckOperations interface {
	List(opts *ListOpts) (*LoadBalancerHealthCheckCollection, error)
	Create(opts *LoadBalancerHealthCheck) (*LoadBalancerHealthCheck, error)
	Update(existing *LoadBalancerHealthCheck, updates interface{}) (*LoadBalancerHealthCheck, error)
	ById(id string) (*LoadBalancerHealthCheck, error)
	Delete(container *LoadBalancerHealthCheck) error
}

type LoadBalancerListener

type LoadBalancerListener struct {
	Resource

	AccountId string `json:"accountId,omitempty"`

	Algorithm string `json:"algorithm,omitempty"`

	Created string `json:"created,omitempty"`

	Data map[string]interface{} `json:"data,omitempty"`

	Description string `json:"description,omitempty"`

	Kind string `json:"kind,omitempty"`

	Name string `json:"name,omitempty"`

	RemoveTime string `json:"removeTime,omitempty"`

	Removed string `json:"removed,omitempty"`

	SourcePort int `json:"sourcePort,omitempty"`

	SourceProtocol string `json:"sourceProtocol,omitempty"`

	State string `json:"state,omitempty"`

	TargetPort int `json:"targetPort,omitempty"`

	TargetProtocol string `json:"targetProtocol,omitempty"`

	Transitioning string `json:"transitioning,omitempty"`

	TransitioningMessage string `json:"transitioningMessage,omitempty"`

	TransitioningProgress int `json:"transitioningProgress,omitempty"`

	Uuid string `json:"uuid,omitempty"`
}

type LoadBalancerListenerClient

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

func (*LoadBalancerListenerClient) ActionCreate

func (*LoadBalancerListenerClient) ActionRemove

func (*LoadBalancerListenerClient) ById

func (*LoadBalancerListenerClient) Create

func (*LoadBalancerListenerClient) Delete

func (*LoadBalancerListenerClient) List

func (*LoadBalancerListenerClient) Update

func (c *LoadBalancerListenerClient) Update(existing *LoadBalancerListener, updates interface{}) (*LoadBalancerListener, error)

type LoadBalancerListenerCollection

type LoadBalancerListenerCollection struct {
	Collection
	Data []LoadBalancerListener `json:"data,omitempty"`
}

type LoadBalancerListenerOperations

type LoadBalancerListenerOperations interface {
	List(opts *ListOpts) (*LoadBalancerListenerCollection, error)
	Create(opts *LoadBalancerListener) (*LoadBalancerListener, error)
	Update(existing *LoadBalancerListener, updates interface{}) (*LoadBalancerListener, error)
	ById(id string) (*LoadBalancerListener, error)
	Delete(container *LoadBalancerListener) error
	ActionCreate(*LoadBalancerListener) (*LoadBalancerListener, error)
	ActionRemove(*LoadBalancerListener) (*LoadBalancerListener, error)
}

type LoadBalancerOperations

type LoadBalancerOperations interface {
	List(opts *ListOpts) (*LoadBalancerCollection, error)
	Create(opts *LoadBalancer) (*LoadBalancer, error)
	Update(existing *LoadBalancer, updates interface{}) (*LoadBalancer, error)
	ById(id string) (*LoadBalancer, error)
	Delete(container *LoadBalancer) error
	ActionCreate(*LoadBalancer) (*LoadBalancer, error)
	ActionRemove(*LoadBalancer) (*LoadBalancer, error)
}

type LoadBalancerPolicy

type LoadBalancerPolicy struct {
	Resource

	Name string `json:"name,omitempty"`
}

type LoadBalancerPolicyClient

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

func (*LoadBalancerPolicyClient) ById

func (*LoadBalancerPolicyClient) Create

func (*LoadBalancerPolicyClient) Delete

func (c *LoadBalancerPolicyClient) Delete(container *LoadBalancerPolicy) error

func (*LoadBalancerPolicyClient) List

func (*LoadBalancerPolicyClient) Update

func (c *LoadBalancerPolicyClient) Update(existing *LoadBalancerPolicy, updates interface{}) (*LoadBalancerPolicy, error)

type LoadBalancerPolicyCollection

type LoadBalancerPolicyCollection struct {
	Collection
	Data []LoadBalancerPolicy `json:"data,omitempty"`
}

type LoadBalancerPolicyOperations

type LoadBalancerPolicyOperations interface {
	List(opts *ListOpts) (*LoadBalancerPolicyCollection, error)
	Create(opts *LoadBalancerPolicy) (*LoadBalancerPolicy, error)
	Update(existing *LoadBalancerPolicy, updates interface{}) (*LoadBalancerPolicy, error)
	ById(id string) (*LoadBalancerPolicy, error)
	Delete(container *LoadBalancerPolicy) error
}

type LoadBalancerTarget

type LoadBalancerTarget struct {
	Resource

	Created string `json:"created,omitempty"`

	Data map[string]interface{} `json:"data,omitempty"`

	Description string `json:"description,omitempty"`

	InstanceId string `json:"instanceId,omitempty"`

	IpAddress string `json:"ipAddress,omitempty"`

	Kind string `json:"kind,omitempty"`

	LoadBalancerId string `json:"loadBalancerId,omitempty"`

	Name string `json:"name,omitempty"`

	RemoveTime string `json:"removeTime,omitempty"`

	Removed string `json:"removed,omitempty"`

	State string `json:"state,omitempty"`

	Transitioning string `json:"transitioning,omitempty"`

	TransitioningMessage string `json:"transitioningMessage,omitempty"`

	TransitioningProgress int `json:"transitioningProgress,omitempty"`

	Uuid string `json:"uuid,omitempty"`
}

type LoadBalancerTargetClient

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

func (*LoadBalancerTargetClient) ActionCreate

func (*LoadBalancerTargetClient) ActionRemove

func (*LoadBalancerTargetClient) ById

func (*LoadBalancerTargetClient) Create

func (*LoadBalancerTargetClient) Delete

func (c *LoadBalancerTargetClient) Delete(container *LoadBalancerTarget) error

func (*LoadBalancerTargetClient) List

func (*LoadBalancerTargetClient) Update

func (c *LoadBalancerTargetClient) Update(existing *LoadBalancerTarget, updates interface{}) (*LoadBalancerTarget, error)

type LoadBalancerTargetCollection

type LoadBalancerTargetCollection struct {
	Collection
	Data []LoadBalancerTarget `json:"data,omitempty"`
}

type LoadBalancerTargetOperations

type LoadBalancerTargetOperations interface {
	List(opts *ListOpts) (*LoadBalancerTargetCollection, error)
	Create(opts *LoadBalancerTarget) (*LoadBalancerTarget, error)
	Update(existing *LoadBalancerTarget, updates interface{}) (*LoadBalancerTarget, error)
	ById(id string) (*LoadBalancerTarget, error)
	Delete(container *LoadBalancerTarget) error
	ActionCreate(*LoadBalancerTarget) (*LoadBalancerTarget, error)
	ActionRemove(*LoadBalancerTarget) (*LoadBalancerTarget, error)
}

type Machine

type Machine struct {
	Resource

	AccountId string `json:"accountId,omitempty"`

	AuthCertificateAuthority string `json:"authCertificateAuthority,omitempty"`

	AuthKey string `json:"authKey,omitempty"`

	Created string `json:"created,omitempty"`

	Data map[string]interface{} `json:"data,omitempty"`

	Description string `json:"description,omitempty"`

	DigitaloceanConfig DigitaloceanConfig `json:"digitaloceanConfig,omitempty"`

	Driver string `json:"driver,omitempty"`

	ExternalId string `json:"externalId,omitempty"`

	ExtractedConfig string `json:"extractedConfig,omitempty"`

	Kind string `json:"kind,omitempty"`

	Name string `json:"name,omitempty"`

	RemoveTime string `json:"removeTime,omitempty"`

	Removed string `json:"removed,omitempty"`

	State string `json:"state,omitempty"`

	Transitioning string `json:"transitioning,omitempty"`

	TransitioningMessage string `json:"transitioningMessage,omitempty"`

	TransitioningProgress int `json:"transitioningProgress,omitempty"`

	Uuid string `json:"uuid,omitempty"`

	VirtualboxConfig VirtualboxConfig `json:"virtualboxConfig,omitempty"`
}

type MachineClient

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

func (*MachineClient) ActionBootstrap

func (c *MachineClient) ActionBootstrap(resource *Machine) (*PhysicalHost, error)

func (*MachineClient) ActionCreate

func (c *MachineClient) ActionCreate(resource *Machine) (*PhysicalHost, error)

func (*MachineClient) ActionRemove

func (c *MachineClient) ActionRemove(resource *Machine) (*PhysicalHost, error)

func (*MachineClient) ActionUpdate

func (c *MachineClient) ActionUpdate(resource *Machine) (*PhysicalHost, error)

func (*MachineClient) ById

func (c *MachineClient) ById(id string) (*Machine, error)

func (*MachineClient) Create

func (c *MachineClient) Create(container *Machine) (*Machine, error)

func (*MachineClient) Delete

func (c *MachineClient) Delete(container *Machine) error

func (*MachineClient) List

func (c *MachineClient) List(opts *ListOpts) (*MachineCollection, error)

func (*MachineClient) Update

func (c *MachineClient) Update(existing *Machine, updates interface{}) (*Machine, error)

type MachineCollection

type MachineCollection struct {
	Collection
	Data []Machine `json:"data,omitempty"`
}

type MachineOperations

type MachineOperations interface {
	List(opts *ListOpts) (*MachineCollection, error)
	Create(opts *Machine) (*Machine, error)
	Update(existing *Machine, updates interface{}) (*Machine, error)
	ById(id string) (*Machine, error)
	Delete(container *Machine) error
	ActionBootstrap(*Machine) (*PhysicalHost, error)
	ActionCreate(*Machine) (*PhysicalHost, error)
	ActionRemove(*Machine) (*PhysicalHost, error)
	ActionUpdate(*Machine) (*PhysicalHost, error)
}

type Mount

type Mount struct {
	Resource

	AccountId string `json:"accountId,omitempty"`

	Created string `json:"created,omitempty"`

	Data map[string]interface{} `json:"data,omitempty"`

	Description string `json:"description,omitempty"`

	InstanceId string `json:"instanceId,omitempty"`

	Kind string `json:"kind,omitempty"`

	Name string `json:"name,omitempty"`

	Path string `json:"path,omitempty"`

	Permissions string `json:"permissions,omitempty"`

	RemoveTime string `json:"removeTime,omitempty"`

	Removed string `json:"removed,omitempty"`

	State string `json:"state,omitempty"`

	Transitioning string `json:"transitioning,omitempty"`

	TransitioningMessage string `json:"transitioningMessage,omitempty"`

	TransitioningProgress int `json:"transitioningProgress,omitempty"`

	Uuid string `json:"uuid,omitempty"`

	VolumeId string `json:"volumeId,omitempty"`
}

type MountClient

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

func (*MountClient) ActionActivate

func (c *MountClient) ActionActivate(resource *Mount) (*Mount, error)

func (*MountClient) ActionCreate

func (c *MountClient) ActionCreate(resource *Mount) (*Mount, error)

func (*MountClient) ActionDeactivate

func (c *MountClient) ActionDeactivate(resource *Mount) (*Mount, error)

func (*MountClient) ActionPurge

func (c *MountClient) ActionPurge(resource *Mount) (*Mount, error)

func (*MountClient) ActionRemove

func (c *MountClient) ActionRemove(resource *Mount) (*Mount, error)

func (*MountClient) ActionRestore

func (c *MountClient) ActionRestore(resource *Mount) (*Mount, error)

func (*MountClient) ActionUpdate

func (c *MountClient) ActionUpdate(resource *Mount) (*Mount, error)

func (*MountClient) ById

func (c *MountClient) ById(id string) (*Mount, error)

func (*MountClient) Create

func (c *MountClient) Create(container *Mount) (*Mount, error)

func (*MountClient) Delete

func (c *MountClient) Delete(container *Mount) error

func (*MountClient) List

func (c *MountClient) List(opts *ListOpts) (*MountCollection, error)

func (*MountClient) Update

func (c *MountClient) Update(existing *Mount, updates interface{}) (*Mount, error)

type MountCollection

type MountCollection struct {
	Collection
	Data []Mount `json:"data,omitempty"`
}

type MountOperations

type MountOperations interface {
	List(opts *ListOpts) (*MountCollection, error)
	Create(opts *Mount) (*Mount, error)
	Update(existing *Mount, updates interface{}) (*Mount, error)
	ById(id string) (*Mount, error)
	Delete(container *Mount) error
	ActionActivate(*Mount) (*Mount, error)
	ActionCreate(*Mount) (*Mount, error)
	ActionDeactivate(*Mount) (*Mount, error)
	ActionPurge(*Mount) (*Mount, error)
	ActionRemove(*Mount) (*Mount, error)
	ActionRestore(*Mount) (*Mount, error)
	ActionUpdate(*Mount) (*Mount, error)
}

type Network

type Network struct {
	Resource

	AccountId string `json:"accountId,omitempty"`

	Created string `json:"created,omitempty"`

	Data map[string]interface{} `json:"data,omitempty"`

	Description string `json:"description,omitempty"`

	Kind string `json:"kind,omitempty"`

	Name string `json:"name,omitempty"`

	RemoveTime string `json:"removeTime,omitempty"`

	Removed string `json:"removed,omitempty"`

	State string `json:"state,omitempty"`

	Transitioning string `json:"transitioning,omitempty"`

	TransitioningMessage string `json:"transitioningMessage,omitempty"`

	TransitioningProgress int `json:"transitioningProgress,omitempty"`

	Uuid string `json:"uuid,omitempty"`
}

type NetworkClient

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

func (*NetworkClient) ActionActivate

func (c *NetworkClient) ActionActivate(resource *Network) (*Network, error)

func (*NetworkClient) ActionCreate

func (c *NetworkClient) ActionCreate(resource *Network) (*Network, error)

func (*NetworkClient) ActionDeactivate

func (c *NetworkClient) ActionDeactivate(resource *Network) (*Network, error)

func (*NetworkClient) ActionPurge

func (c *NetworkClient) ActionPurge(resource *Network) (*Network, error)

func (*NetworkClient) ActionRemove

func (c *NetworkClient) ActionRemove(resource *Network) (*Network, error)

func (*NetworkClient) ActionRestore

func (c *NetworkClient) ActionRestore(resource *Network) (*Network, error)

func (*NetworkClient) ActionUpdate

func (c *NetworkClient) ActionUpdate(resource *Network) (*Network, error)

func (*NetworkClient) ById

func (c *NetworkClient) ById(id string) (*Network, error)

func (*NetworkClient) Create

func (c *NetworkClient) Create(container *Network) (*Network, error)

func (*NetworkClient) Delete

func (c *NetworkClient) Delete(container *Network) error

func (*NetworkClient) List

func (c *NetworkClient) List(opts *ListOpts) (*NetworkCollection, error)

func (*NetworkClient) Update

func (c *NetworkClient) Update(existing *Network, updates interface{}) (*Network, error)

type NetworkCollection

type NetworkCollection struct {
	Collection
	Data []Network `json:"data,omitempty"`
}

type NetworkOperations

type NetworkOperations interface {
	List(opts *ListOpts) (*NetworkCollection, error)
	Create(opts *Network) (*Network, error)
	Update(existing *Network, updates interface{}) (*Network, error)
	ById(id string) (*Network, error)
	Delete(container *Network) error
	ActionActivate(*Network) (*Network, error)
	ActionCreate(*Network) (*Network, error)
	ActionDeactivate(*Network) (*Network, error)
	ActionPurge(*Network) (*Network, error)
	ActionRemove(*Network) (*Network, error)
	ActionRestore(*Network) (*Network, error)
	ActionUpdate(*Network) (*Network, error)
}

type Pagination

type Pagination struct {
	Marker   string `json:"marker,omitempty"`
	First    string `json:"first,omitempty"`
	Previous string `json:"previous,omitempty"`
	Next     string `json:"next,omitempty"`
	Limit    *int64 `json:"limit,omitempty"`
	Total    *int64 `json:"total,omitempty"`
	Partial  bool   `json:"partial,omitempty"`
}

type PhysicalHost

type PhysicalHost struct {
	Resource

	AccountId string `json:"accountId,omitempty"`

	Created string `json:"created,omitempty"`

	Data map[string]interface{} `json:"data,omitempty"`

	Description string `json:"description,omitempty"`

	Kind string `json:"kind,omitempty"`

	Name string `json:"name,omitempty"`

	RemoveTime string `json:"removeTime,omitempty"`

	Removed string `json:"removed,omitempty"`

	State string `json:"state,omitempty"`

	Transitioning string `json:"transitioning,omitempty"`

	TransitioningMessage string `json:"transitioningMessage,omitempty"`

	TransitioningProgress int `json:"transitioningProgress,omitempty"`

	Uuid string `json:"uuid,omitempty"`
}

type PhysicalHostClient

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

func (*PhysicalHostClient) ActionBootstrap

func (c *PhysicalHostClient) ActionBootstrap(resource *PhysicalHost) (*PhysicalHost, error)

func (*PhysicalHostClient) ActionCreate

func (c *PhysicalHostClient) ActionCreate(resource *PhysicalHost) (*PhysicalHost, error)

func (*PhysicalHostClient) ActionRemove

func (c *PhysicalHostClient) ActionRemove(resource *PhysicalHost) (*PhysicalHost, error)

func (*PhysicalHostClient) ActionUpdate

func (c *PhysicalHostClient) ActionUpdate(resource *PhysicalHost) (*PhysicalHost, error)

func (*PhysicalHostClient) ById

func (c *PhysicalHostClient) ById(id string) (*PhysicalHost, error)

func (*PhysicalHostClient) Create

func (c *PhysicalHostClient) Create(container *PhysicalHost) (*PhysicalHost, error)

func (*PhysicalHostClient) Delete

func (c *PhysicalHostClient) Delete(container *PhysicalHost) error

func (*PhysicalHostClient) List

func (*PhysicalHostClient) Update

func (c *PhysicalHostClient) Update(existing *PhysicalHost, updates interface{}) (*PhysicalHost, error)

type PhysicalHostCollection

type PhysicalHostCollection struct {
	Collection
	Data []PhysicalHost `json:"data,omitempty"`
}

type PhysicalHostOperations

type PhysicalHostOperations interface {
	List(opts *ListOpts) (*PhysicalHostCollection, error)
	Create(opts *PhysicalHost) (*PhysicalHost, error)
	Update(existing *PhysicalHost, updates interface{}) (*PhysicalHost, error)
	ById(id string) (*PhysicalHost, error)
	Delete(container *PhysicalHost) error
	ActionBootstrap(*PhysicalHost) (*PhysicalHost, error)
	ActionCreate(*PhysicalHost) (*PhysicalHost, error)
	ActionRemove(*PhysicalHost) (*PhysicalHost, error)
	ActionUpdate(*PhysicalHost) (*PhysicalHost, error)
}

type Port

type Port struct {
	Resource

	AccountId string `json:"accountId,omitempty"`

	Created string `json:"created,omitempty"`

	Data map[string]interface{} `json:"data,omitempty"`

	Description string `json:"description,omitempty"`

	InstanceId string `json:"instanceId,omitempty"`

	Kind string `json:"kind,omitempty"`

	Name string `json:"name,omitempty"`

	PrivateIpAddressId string `json:"privateIpAddressId,omitempty"`

	PrivatePort int `json:"privatePort,omitempty"`

	Protocol string `json:"protocol,omitempty"`

	PublicIpAddressId string `json:"publicIpAddressId,omitempty"`

	PublicPort int `json:"publicPort,omitempty"`

	RemoveTime string `json:"removeTime,omitempty"`

	Removed string `json:"removed,omitempty"`

	State string `json:"state,omitempty"`

	Transitioning string `json:"transitioning,omitempty"`

	TransitioningMessage string `json:"transitioningMessage,omitempty"`

	TransitioningProgress int `json:"transitioningProgress,omitempty"`

	Uuid string `json:"uuid,omitempty"`
}

type PortClient

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

func (*PortClient) ActionActivate

func (c *PortClient) ActionActivate(resource *Port) (*Port, error)

func (*PortClient) ActionCreate

func (c *PortClient) ActionCreate(resource *Port) (*Port, error)

func (*PortClient) ActionDeactivate

func (c *PortClient) ActionDeactivate(resource *Port) (*Port, error)

func (*PortClient) ActionPurge

func (c *PortClient) ActionPurge(resource *Port) (*Port, error)

func (*PortClient) ActionRemove

func (c *PortClient) ActionRemove(resource *Port) (*Port, error)

func (*PortClient) ActionRestore

func (c *PortClient) ActionRestore(resource *Port) (*Port, error)

func (*PortClient) ActionUpdate

func (c *PortClient) ActionUpdate(resource *Port) (*Port, error)

func (*PortClient) ById

func (c *PortClient) ById(id string) (*Port, error)

func (*PortClient) Create

func (c *PortClient) Create(container *Port) (*Port, error)

func (*PortClient) Delete

func (c *PortClient) Delete(container *Port) error

func (*PortClient) List

func (c *PortClient) List(opts *ListOpts) (*PortCollection, error)

func (*PortClient) Update

func (c *PortClient) Update(existing *Port, updates interface{}) (*Port, error)

type PortCollection

type PortCollection struct {
	Collection
	Data []Port `json:"data,omitempty"`
}

type PortOperations

type PortOperations interface {
	List(opts *ListOpts) (*PortCollection, error)
	Create(opts *Port) (*Port, error)
	Update(existing *Port, updates interface{}) (*Port, error)
	ById(id string) (*Port, error)
	Delete(container *Port) error
	ActionActivate(*Port) (*Port, error)
	ActionCreate(*Port) (*Port, error)
	ActionDeactivate(*Port) (*Port, error)
	ActionPurge(*Port) (*Port, error)
	ActionRemove(*Port) (*Port, error)
	ActionRestore(*Port) (*Port, error)
	ActionUpdate(*Port) (*Port, error)
}

type ProcessDefinition

type ProcessDefinition struct {
	Resource

	ExtensionBased bool `json:"extensionBased,omitempty"`

	Name string `json:"name,omitempty"`

	PostProcessListeners interface{} `json:"postProcessListeners,omitempty"`

	PreProcessListeners interface{} `json:"preProcessListeners,omitempty"`

	ProcessHandlers interface{} `json:"processHandlers,omitempty"`

	ResourceType string `json:"resourceType,omitempty"`
}

type ProcessDefinitionClient

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

func (*ProcessDefinitionClient) ById

func (*ProcessDefinitionClient) Create

func (*ProcessDefinitionClient) Delete

func (c *ProcessDefinitionClient) Delete(container *ProcessDefinition) error

func (*ProcessDefinitionClient) List

func (*ProcessDefinitionClient) Update

func (c *ProcessDefinitionClient) Update(existing *ProcessDefinition, updates interface{}) (*ProcessDefinition, error)

type ProcessDefinitionCollection

type ProcessDefinitionCollection struct {
	Collection
	Data []ProcessDefinition `json:"data,omitempty"`
}

type ProcessDefinitionOperations

type ProcessDefinitionOperations interface {
	List(opts *ListOpts) (*ProcessDefinitionCollection, error)
	Create(opts *ProcessDefinition) (*ProcessDefinition, error)
	Update(existing *ProcessDefinition, updates interface{}) (*ProcessDefinition, error)
	ById(id string) (*ProcessDefinition, error)
	Delete(container *ProcessDefinition) error
}

type ProcessExecution

type ProcessExecution struct {
	Resource

	Log map[string]interface{} `json:"log,omitempty"`

	ProcessInstanceId string `json:"processInstanceId,omitempty"`

	Uuid string `json:"uuid,omitempty"`
}

type ProcessExecutionClient

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

func (*ProcessExecutionClient) ById

func (*ProcessExecutionClient) Create

func (*ProcessExecutionClient) Delete

func (c *ProcessExecutionClient) Delete(container *ProcessExecution) error

func (*ProcessExecutionClient) List

func (*ProcessExecutionClient) Update

func (c *ProcessExecutionClient) Update(existing *ProcessExecution, updates interface{}) (*ProcessExecution, error)

type ProcessExecutionCollection

type ProcessExecutionCollection struct {
	Collection
	Data []ProcessExecution `json:"data,omitempty"`
}

type ProcessExecutionOperations

type ProcessExecutionOperations interface {
	List(opts *ListOpts) (*ProcessExecutionCollection, error)
	Create(opts *ProcessExecution) (*ProcessExecution, error)
	Update(existing *ProcessExecution, updates interface{}) (*ProcessExecution, error)
	ById(id string) (*ProcessExecution, error)
	Delete(container *ProcessExecution) error
}

type ProcessInstance

type ProcessInstance struct {
	Resource

	Data map[string]interface{} `json:"data,omitempty"`

	EndTime string `json:"endTime,omitempty"`

	ExitReason string `json:"exitReason,omitempty"`

	Phase string `json:"phase,omitempty"`

	Priority int `json:"priority,omitempty"`

	ProcessName string `json:"processName,omitempty"`

	ResourceId string `json:"resourceId,omitempty"`

	ResourceType string `json:"resourceType,omitempty"`

	Result string `json:"result,omitempty"`

	RunningProcessServerId string `json:"runningProcessServerId,omitempty"`

	StartProcessServerId string `json:"startProcessServerId,omitempty"`

	StartTime string `json:"startTime,omitempty"`
}

type ProcessInstanceClient

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

func (*ProcessInstanceClient) ById

func (*ProcessInstanceClient) Create

func (c *ProcessInstanceClient) Create(container *ProcessInstance) (*ProcessInstance, error)

func (*ProcessInstanceClient) Delete

func (c *ProcessInstanceClient) Delete(container *ProcessInstance) error

func (*ProcessInstanceClient) List

func (*ProcessInstanceClient) Update

func (c *ProcessInstanceClient) Update(existing *ProcessInstance, updates interface{}) (*ProcessInstance, error)

type ProcessInstanceCollection

type ProcessInstanceCollection struct {
	Collection
	Data []ProcessInstance `json:"data,omitempty"`
}

type ProcessInstanceOperations

type ProcessInstanceOperations interface {
	List(opts *ListOpts) (*ProcessInstanceCollection, error)
	Create(opts *ProcessInstance) (*ProcessInstance, error)
	Update(existing *ProcessInstance, updates interface{}) (*ProcessInstance, error)
	ById(id string) (*ProcessInstance, error)
	Delete(container *ProcessInstance) error
}

type Project

type Project struct {
	Resource

	Created string `json:"created,omitempty"`

	Data map[string]interface{} `json:"data,omitempty"`

	Description string `json:"description,omitempty"`

	ExternalId string `json:"externalId,omitempty"`

	ExternalIdType string `json:"externalIdType,omitempty"`

	Kind string `json:"kind,omitempty"`

	Name string `json:"name,omitempty"`

	RemoveTime string `json:"removeTime,omitempty"`

	Removed string `json:"removed,omitempty"`

	State string `json:"state,omitempty"`

	Transitioning string `json:"transitioning,omitempty"`

	TransitioningMessage string `json:"transitioningMessage,omitempty"`

	TransitioningProgress int `json:"transitioningProgress,omitempty"`

	Uuid string `json:"uuid,omitempty"`
}

type ProjectClient

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

func (*ProjectClient) ById

func (c *ProjectClient) ById(id string) (*Project, error)

func (*ProjectClient) Create

func (c *ProjectClient) Create(container *Project) (*Project, error)

func (*ProjectClient) Delete

func (c *ProjectClient) Delete(container *Project) error

func (*ProjectClient) List

func (c *ProjectClient) List(opts *ListOpts) (*ProjectCollection, error)

func (*ProjectClient) Update

func (c *ProjectClient) Update(existing *Project, updates interface{}) (*Project, error)

type ProjectCollection

type ProjectCollection struct {
	Collection
	Data []Project `json:"data,omitempty"`
}

type ProjectOperations

type ProjectOperations interface {
	List(opts *ListOpts) (*ProjectCollection, error)
	Create(opts *Project) (*Project, error)
	Update(existing *Project, updates interface{}) (*Project, error)
	ById(id string) (*Project, error)
	Delete(container *Project) error
}

type Publish

type Publish struct {
	Resource

	Data map[string]interface{} `json:"data,omitempty"`

	Name string `json:"name,omitempty"`

	PreviousIds []string `json:"previousIds,omitempty"`

	Publisher string `json:"publisher,omitempty"`

	ResourceId string `json:"resourceId,omitempty"`

	ResourceType string `json:"resourceType,omitempty"`

	Time int `json:"time,omitempty"`

	Transitioning string `json:"transitioning,omitempty"`

	TransitioningInternalMessage string `json:"transitioningInternalMessage,omitempty"`

	TransitioningMessage string `json:"transitioningMessage,omitempty"`

	TransitioningProgress int `json:"transitioningProgress,omitempty"`
}

type PublishClient

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

func (*PublishClient) ById

func (c *PublishClient) ById(id string) (*Publish, error)

func (*PublishClient) Create

func (c *PublishClient) Create(container *Publish) (*Publish, error)

func (*PublishClient) Delete

func (c *PublishClient) Delete(container *Publish) error

func (*PublishClient) List

func (c *PublishClient) List(opts *ListOpts) (*PublishCollection, error)

func (*PublishClient) Update

func (c *PublishClient) Update(existing *Publish, updates interface{}) (*Publish, error)

type PublishCollection

type PublishCollection struct {
	Collection
	Data []Publish `json:"data,omitempty"`
}

type PublishOperations

type PublishOperations interface {
	List(opts *ListOpts) (*PublishCollection, error)
	Create(opts *Publish) (*Publish, error)
	Update(existing *Publish, updates interface{}) (*Publish, error)
	ById(id string) (*Publish, error)
	Delete(container *Publish) error
}

type RancherBaseClient

type RancherBaseClient struct {
	Opts    *ClientOpts
	Schemas *Schemas
	Types   map[string]Schema
}

type RancherClient

type RancherClient struct {
	RancherBaseClient

	Subscribe                                SubscribeOperations
	Publish                                  PublishOperations
	RestartPolicy                            RestartPolicyOperations
	LoadBalancerHealthCheck                  LoadBalancerHealthCheckOperations
	LoadBalancerCookieStickinessPolicy       LoadBalancerCookieStickinessPolicyOperations
	LoadBalancerAppCookieStickinessPolicy    LoadBalancerAppCookieStickinessPolicyOperations
	GlobalLoadBalancerPolicy                 GlobalLoadBalancerPolicyOperations
	GlobalLoadBalancerHealthCheck            GlobalLoadBalancerHealthCheckOperations
	Container                                ContainerOperations
	ApiKey                                   ApiKeyOperations
	InstanceStop                             InstanceStopOperations
	InstanceConsole                          InstanceConsoleOperations
	InstanceConsoleInput                     InstanceConsoleInputOperations
	IpAddressAssociateInput                  IpAddressAssociateInputOperations
	Project                                  ProjectOperations
	AddRemoveLoadBalancerListenerInput       AddRemoveLoadBalancerListenerInputOperations
	AddRemoveLoadBalancerTargetInput         AddRemoveLoadBalancerTargetInputOperations
	AddLoadBalancerInput                     AddLoadBalancerInputOperations
	RemoveLoadBalancerInput                  RemoveLoadBalancerInputOperations
	AddRemoveLoadBalancerHostInput           AddRemoveLoadBalancerHostInputOperations
	SetLoadBalancerListenersInput            SetLoadBalancerListenersInputOperations
	SetLoadBalancerTargetsInput              SetLoadBalancerTargetsInputOperations
	SetLoadBalancerHostsInput                SetLoadBalancerHostsInputOperations
	Cluster                                  ClusterOperations
	AddRemoveClusterHostInput                AddRemoveClusterHostInputOperations
	RegistryCredential                       RegistryCredentialOperations
	Registry                                 RegistryOperations
	Account                                  AccountOperations
	Agent                                    AgentOperations
	Certificate                              CertificateOperations
	ConfigItem                               ConfigItemOperations
	ConfigItemStatus                         ConfigItemStatusOperations
	ContainerEvent                           ContainerEventOperations
	Credential                               CredentialOperations
	Databasechangelog                        DatabasechangelogOperations
	Databasechangeloglock                    DatabasechangeloglockOperations
	ExternalHandler                          ExternalHandlerOperations
	ExternalHandlerExternalHandlerProcessMap ExternalHandlerExternalHandlerProcessMapOperations
	ExternalHandlerProcess                   ExternalHandlerProcessOperations
	GlobalLoadBalancer                       GlobalLoadBalancerOperations
	Host                                     HostOperations
	Image                                    ImageOperations
	Instance                                 InstanceOperations
	InstanceLink                             InstanceLinkOperations
	IpAddress                                IpAddressOperations
	LoadBalancer                             LoadBalancerOperations
	LoadBalancerConfig                       LoadBalancerConfigOperations
	LoadBalancerListener                     LoadBalancerListenerOperations
	LoadBalancerTarget                       LoadBalancerTargetOperations
	Mount                                    MountOperations
	Network                                  NetworkOperations
	PhysicalHost                             PhysicalHostOperations
	Port                                     PortOperations
	ProcessExecution                         ProcessExecutionOperations
	ProcessInstance                          ProcessInstanceOperations
	Setting                                  SettingOperations
	StoragePool                              StoragePoolOperations
	Task                                     TaskOperations
	TaskInstance                             TaskInstanceOperations
	Volume                                   VolumeOperations
	TypeDocumentation                        TypeDocumentationOperations
	ContainerExec                            ContainerExecOperations
	ContainerLogs                            ContainerLogsOperations
	HostAccess                               HostAccessOperations
	ActiveSetting                            ActiveSettingOperations
	ExtensionImplementation                  ExtensionImplementationOperations
	ExtensionPoint                           ExtensionPointOperations
	ProcessDefinition                        ProcessDefinitionOperations
	ResourceDefinition                       ResourceDefinitionOperations
	Githubconfig                             GithubconfigOperations
	StatsAccess                              StatsAccessOperations
	VirtualboxConfig                         VirtualboxConfigOperations
	DigitaloceanConfig                       DigitaloceanConfigOperations
	Machine                                  MachineOperations
	Register                                 RegisterOperations
	RegistrationToken                        RegistrationTokenOperations
}

func NewRancherClient

func NewRancherClient(opts *ClientOpts) (*RancherClient, error)

type Register

type Register struct {
	Resource

	AccessKey string `json:"accessKey,omitempty"`

	AccountId string `json:"accountId,omitempty"`

	Created string `json:"created,omitempty"`

	Data map[string]interface{} `json:"data,omitempty"`

	Description string `json:"description,omitempty"`

	Key string `json:"key,omitempty"`

	Kind string `json:"kind,omitempty"`

	Name string `json:"name,omitempty"`

	RemoveTime string `json:"removeTime,omitempty"`

	Removed string `json:"removed,omitempty"`

	SecretKey string `json:"secretKey,omitempty"`

	State string `json:"state,omitempty"`

	Transitioning string `json:"transitioning,omitempty"`

	TransitioningMessage string `json:"transitioningMessage,omitempty"`

	TransitioningProgress int `json:"transitioningProgress,omitempty"`

	Uuid string `json:"uuid,omitempty"`
}

type RegisterClient

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

func (*RegisterClient) ById

func (c *RegisterClient) ById(id string) (*Register, error)

func (*RegisterClient) Create

func (c *RegisterClient) Create(container *Register) (*Register, error)

func (*RegisterClient) Delete

func (c *RegisterClient) Delete(container *Register) error

func (*RegisterClient) List

func (c *RegisterClient) List(opts *ListOpts) (*RegisterCollection, error)

func (*RegisterClient) Update

func (c *RegisterClient) Update(existing *Register, updates interface{}) (*Register, error)

type RegisterCollection

type RegisterCollection struct {
	Collection
	Data []Register `json:"data,omitempty"`
}

type RegisterOperations

type RegisterOperations interface {
	List(opts *ListOpts) (*RegisterCollection, error)
	Create(opts *Register) (*Register, error)
	Update(existing *Register, updates interface{}) (*Register, error)
	ById(id string) (*Register, error)
	Delete(container *Register) error
}

type RegistrationToken

type RegistrationToken struct {
	Resource

	AccountId string `json:"accountId,omitempty"`

	Created string `json:"created,omitempty"`

	Data map[string]interface{} `json:"data,omitempty"`

	Description string `json:"description,omitempty"`

	Kind string `json:"kind,omitempty"`

	Name string `json:"name,omitempty"`

	RemoveTime string `json:"removeTime,omitempty"`

	Removed string `json:"removed,omitempty"`

	State string `json:"state,omitempty"`

	Transitioning string `json:"transitioning,omitempty"`

	TransitioningMessage string `json:"transitioningMessage,omitempty"`

	TransitioningProgress int `json:"transitioningProgress,omitempty"`

	Uuid string `json:"uuid,omitempty"`
}

type RegistrationTokenClient

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

func (*RegistrationTokenClient) ActionActivate

func (c *RegistrationTokenClient) ActionActivate(resource *RegistrationToken) (*Credential, error)

func (*RegistrationTokenClient) ActionCreate

func (c *RegistrationTokenClient) ActionCreate(resource *RegistrationToken) (*Credential, error)

func (*RegistrationTokenClient) ActionDeactivate

func (c *RegistrationTokenClient) ActionDeactivate(resource *RegistrationToken) (*Credential, error)

func (*RegistrationTokenClient) ActionPurge

func (c *RegistrationTokenClient) ActionPurge(resource *RegistrationToken) (*Credential, error)

func (*RegistrationTokenClient) ActionRemove

func (c *RegistrationTokenClient) ActionRemove(resource *RegistrationToken) (*Credential, error)

func (*RegistrationTokenClient) ActionRestore

func (c *RegistrationTokenClient) ActionRestore(resource *RegistrationToken) (*Credential, error)

func (*RegistrationTokenClient) ActionUpdate

func (c *RegistrationTokenClient) ActionUpdate(resource *RegistrationToken) (*Credential, error)

func (*RegistrationTokenClient) ById

func (*RegistrationTokenClient) Create

func (*RegistrationTokenClient) Delete

func (c *RegistrationTokenClient) Delete(container *RegistrationToken) error

func (*RegistrationTokenClient) List

func (*RegistrationTokenClient) Update

func (c *RegistrationTokenClient) Update(existing *RegistrationToken, updates interface{}) (*RegistrationToken, error)

type RegistrationTokenCollection

type RegistrationTokenCollection struct {
	Collection
	Data []RegistrationToken `json:"data,omitempty"`
}

type RegistrationTokenOperations

type RegistrationTokenOperations interface {
	List(opts *ListOpts) (*RegistrationTokenCollection, error)
	Create(opts *RegistrationToken) (*RegistrationToken, error)
	Update(existing *RegistrationToken, updates interface{}) (*RegistrationToken, error)
	ById(id string) (*RegistrationToken, error)
	Delete(container *RegistrationToken) error
	ActionActivate(*RegistrationToken) (*Credential, error)
	ActionCreate(*RegistrationToken) (*Credential, error)
	ActionDeactivate(*RegistrationToken) (*Credential, error)
	ActionPurge(*RegistrationToken) (*Credential, error)
	ActionRemove(*RegistrationToken) (*Credential, error)
	ActionRestore(*RegistrationToken) (*Credential, error)
	ActionUpdate(*RegistrationToken) (*Credential, error)
}

type Registry

type Registry struct {
	Resource

	AccountId string `json:"accountId,omitempty"`

	Created string `json:"created,omitempty"`

	Data map[string]interface{} `json:"data,omitempty"`

	Description string `json:"description,omitempty"`

	Kind string `json:"kind,omitempty"`

	Name string `json:"name,omitempty"`

	RemoveTime string `json:"removeTime,omitempty"`

	Removed string `json:"removed,omitempty"`

	ServerAddress string `json:"serverAddress,omitempty"`

	State string `json:"state,omitempty"`

	Transitioning string `json:"transitioning,omitempty"`

	TransitioningMessage string `json:"transitioningMessage,omitempty"`

	TransitioningProgress int `json:"transitioningProgress,omitempty"`

	Uuid string `json:"uuid,omitempty"`
}

type RegistryClient

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

func (*RegistryClient) ById

func (c *RegistryClient) ById(id string) (*Registry, error)

func (*RegistryClient) Create

func (c *RegistryClient) Create(container *Registry) (*Registry, error)

func (*RegistryClient) Delete

func (c *RegistryClient) Delete(container *Registry) error

func (*RegistryClient) List

func (c *RegistryClient) List(opts *ListOpts) (*RegistryCollection, error)

func (*RegistryClient) Update

func (c *RegistryClient) Update(existing *Registry, updates interface{}) (*Registry, error)

type RegistryCollection

type RegistryCollection struct {
	Collection
	Data []Registry `json:"data,omitempty"`
}

type RegistryCredential

type RegistryCredential struct {
	Resource

	AccountId string `json:"accountId,omitempty"`

	Created string `json:"created,omitempty"`

	Data map[string]interface{} `json:"data,omitempty"`

	Description string `json:"description,omitempty"`

	Email string `json:"email,omitempty"`

	Kind string `json:"kind,omitempty"`

	Name string `json:"name,omitempty"`

	PublicValue string `json:"publicValue,omitempty"`

	RemoveTime string `json:"removeTime,omitempty"`

	Removed string `json:"removed,omitempty"`

	SecretValue string `json:"secretValue,omitempty"`

	State string `json:"state,omitempty"`

	StoragePoolId string `json:"storagePoolId,omitempty"`

	Transitioning string `json:"transitioning,omitempty"`

	TransitioningMessage string `json:"transitioningMessage,omitempty"`

	TransitioningProgress int `json:"transitioningProgress,omitempty"`

	Uuid string `json:"uuid,omitempty"`
}

type RegistryCredentialClient

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

func (*RegistryCredentialClient) ById

func (*RegistryCredentialClient) Create

func (*RegistryCredentialClient) Delete

func (c *RegistryCredentialClient) Delete(container *RegistryCredential) error

func (*RegistryCredentialClient) List

func (*RegistryCredentialClient) Update

func (c *RegistryCredentialClient) Update(existing *RegistryCredential, updates interface{}) (*RegistryCredential, error)

type RegistryCredentialCollection

type RegistryCredentialCollection struct {
	Collection
	Data []RegistryCredential `json:"data,omitempty"`
}

type RegistryCredentialOperations

type RegistryCredentialOperations interface {
	List(opts *ListOpts) (*RegistryCredentialCollection, error)
	Create(opts *RegistryCredential) (*RegistryCredential, error)
	Update(existing *RegistryCredential, updates interface{}) (*RegistryCredential, error)
	ById(id string) (*RegistryCredential, error)
	Delete(container *RegistryCredential) error
}

type RegistryOperations

type RegistryOperations interface {
	List(opts *ListOpts) (*RegistryCollection, error)
	Create(opts *Registry) (*Registry, error)
	Update(existing *Registry, updates interface{}) (*Registry, error)
	ById(id string) (*Registry, error)
	Delete(container *Registry) error
}

type RemoveLoadBalancerInput

type RemoveLoadBalancerInput struct {
	Resource

	LoadBalancerId string `json:"loadBalancerId,omitempty"`
}

type RemoveLoadBalancerInputClient

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

func (*RemoveLoadBalancerInputClient) ById

func (*RemoveLoadBalancerInputClient) Create

func (*RemoveLoadBalancerInputClient) Delete

func (*RemoveLoadBalancerInputClient) List

func (*RemoveLoadBalancerInputClient) Update

func (c *RemoveLoadBalancerInputClient) Update(existing *RemoveLoadBalancerInput, updates interface{}) (*RemoveLoadBalancerInput, error)

type RemoveLoadBalancerInputCollection

type RemoveLoadBalancerInputCollection struct {
	Collection
	Data []RemoveLoadBalancerInput `json:"data,omitempty"`
}

type RemoveLoadBalancerInputOperations

type RemoveLoadBalancerInputOperations interface {
	List(opts *ListOpts) (*RemoveLoadBalancerInputCollection, error)
	Create(opts *RemoveLoadBalancerInput) (*RemoveLoadBalancerInput, error)
	Update(existing *RemoveLoadBalancerInput, updates interface{}) (*RemoveLoadBalancerInput, error)
	ById(id string) (*RemoveLoadBalancerInput, error)
	Delete(container *RemoveLoadBalancerInput) error
}

type Resource

type Resource struct {
	Id      string            `json:"id,omitempty"`
	Type    string            `json:"type,omitempty"`
	Links   map[string]string `json:"links,omitempty"`
	Actions map[string]string `json:"actions,omitempty"`
}

type ResourceDefinition

type ResourceDefinition struct {
	Resource

	Name string `json:"name,omitempty"`
}

type ResourceDefinitionClient

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

func (*ResourceDefinitionClient) ById

func (*ResourceDefinitionClient) Create

func (*ResourceDefinitionClient) Delete

func (c *ResourceDefinitionClient) Delete(container *ResourceDefinition) error

func (*ResourceDefinitionClient) List

func (*ResourceDefinitionClient) Update

func (c *ResourceDefinitionClient) Update(existing *ResourceDefinition, updates interface{}) (*ResourceDefinition, error)

type ResourceDefinitionCollection

type ResourceDefinitionCollection struct {
	Collection
	Data []ResourceDefinition `json:"data,omitempty"`
}

type ResourceDefinitionOperations

type ResourceDefinitionOperations interface {
	List(opts *ListOpts) (*ResourceDefinitionCollection, error)
	Create(opts *ResourceDefinition) (*ResourceDefinition, error)
	Update(existing *ResourceDefinition, updates interface{}) (*ResourceDefinition, error)
	ById(id string) (*ResourceDefinition, error)
	Delete(container *ResourceDefinition) error
}

type RestartPolicy

type RestartPolicy struct {
	Resource

	MaximumRetryCount int `json:"maximumRetryCount,omitempty"`

	Name string `json:"name,omitempty"`
}

type RestartPolicyClient

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

func (*RestartPolicyClient) ById

func (*RestartPolicyClient) Create

func (c *RestartPolicyClient) Create(container *RestartPolicy) (*RestartPolicy, error)

func (*RestartPolicyClient) Delete

func (c *RestartPolicyClient) Delete(container *RestartPolicy) error

func (*RestartPolicyClient) List

func (*RestartPolicyClient) Update

func (c *RestartPolicyClient) Update(existing *RestartPolicy, updates interface{}) (*RestartPolicy, error)

type RestartPolicyCollection

type RestartPolicyCollection struct {
	Collection
	Data []RestartPolicy `json:"data,omitempty"`
}

type RestartPolicyOperations

type RestartPolicyOperations interface {
	List(opts *ListOpts) (*RestartPolicyCollection, error)
	Create(opts *RestartPolicy) (*RestartPolicy, error)
	Update(existing *RestartPolicy, updates interface{}) (*RestartPolicy, error)
	ById(id string) (*RestartPolicy, error)
	Delete(container *RestartPolicy) error
}

type Schema

type Schema struct {
	Resource
	PluralName        string            `json:"pluralName,omitempty"`
	ResourceMethods   []string          `json:"resourceMethods,omitempty"`
	ResourceFields    map[string]Field  `json:"resourceFields,omitempty"`
	ResourceActions   map[string]Action `json:"resourceActions,omitempty"`
	CollectionMethods []string          `json:"collectionMethods,omitempty"`
	CollectionFields  map[string]Field  `json:"collectionFields,omitempty"`
	CollectionActions map[string]Action `json:"collectionActions,omitempty"`
	CollectionFilters map[string]Filter `json:"collectionFilters,omitempty"`
	IncludeableLinks  []string          `json:"includeableLinks,omitempty"`
}

type Schemas

type Schemas struct {
	Collection
	Data []Schema `json:"data,omitempty"`
}

type SetLoadBalancerHostsInput

type SetLoadBalancerHostsInput struct {
	Resource

	HostIds []string `json:"hostIds,omitempty"`
}

type SetLoadBalancerHostsInputClient

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

func (*SetLoadBalancerHostsInputClient) ById

func (*SetLoadBalancerHostsInputClient) Create

func (*SetLoadBalancerHostsInputClient) Delete

func (*SetLoadBalancerHostsInputClient) List

func (*SetLoadBalancerHostsInputClient) Update

func (c *SetLoadBalancerHostsInputClient) Update(existing *SetLoadBalancerHostsInput, updates interface{}) (*SetLoadBalancerHostsInput, error)

type SetLoadBalancerHostsInputCollection

type SetLoadBalancerHostsInputCollection struct {
	Collection
	Data []SetLoadBalancerHostsInput `json:"data,omitempty"`
}

type SetLoadBalancerHostsInputOperations

type SetLoadBalancerHostsInputOperations interface {
	List(opts *ListOpts) (*SetLoadBalancerHostsInputCollection, error)
	Create(opts *SetLoadBalancerHostsInput) (*SetLoadBalancerHostsInput, error)
	Update(existing *SetLoadBalancerHostsInput, updates interface{}) (*SetLoadBalancerHostsInput, error)
	ById(id string) (*SetLoadBalancerHostsInput, error)
	Delete(container *SetLoadBalancerHostsInput) error
}

type SetLoadBalancerListenersInput

type SetLoadBalancerListenersInput struct {
	Resource

	LoadBalancerListenerIds []string `json:"loadBalancerListenerIds,omitempty"`
}

type SetLoadBalancerListenersInputClient

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

func (*SetLoadBalancerListenersInputClient) ById

func (*SetLoadBalancerListenersInputClient) Create

func (*SetLoadBalancerListenersInputClient) Delete

func (*SetLoadBalancerListenersInputClient) List

func (*SetLoadBalancerListenersInputClient) Update

type SetLoadBalancerListenersInputCollection

type SetLoadBalancerListenersInputCollection struct {
	Collection
	Data []SetLoadBalancerListenersInput `json:"data,omitempty"`
}

type SetLoadBalancerTargetsInput

type SetLoadBalancerTargetsInput struct {
	Resource

	InstanceIds []string `json:"instanceIds,omitempty"`

	IpAddresses []string `json:"ipAddresses,omitempty"`
}

type SetLoadBalancerTargetsInputClient

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

func (*SetLoadBalancerTargetsInputClient) ById

func (*SetLoadBalancerTargetsInputClient) Create

func (*SetLoadBalancerTargetsInputClient) Delete

func (*SetLoadBalancerTargetsInputClient) List

func (*SetLoadBalancerTargetsInputClient) Update

type SetLoadBalancerTargetsInputCollection

type SetLoadBalancerTargetsInputCollection struct {
	Collection
	Data []SetLoadBalancerTargetsInput `json:"data,omitempty"`
}

type SetLoadBalancerTargetsInputOperations

type SetLoadBalancerTargetsInputOperations interface {
	List(opts *ListOpts) (*SetLoadBalancerTargetsInputCollection, error)
	Create(opts *SetLoadBalancerTargetsInput) (*SetLoadBalancerTargetsInput, error)
	Update(existing *SetLoadBalancerTargetsInput, updates interface{}) (*SetLoadBalancerTargetsInput, error)
	ById(id string) (*SetLoadBalancerTargetsInput, error)
	Delete(container *SetLoadBalancerTargetsInput) error
}

type Setting

type Setting struct {
	Resource

	Name string `json:"name,omitempty"`

	Value string `json:"value,omitempty"`
}

type SettingClient

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

func (*SettingClient) ById

func (c *SettingClient) ById(id string) (*Setting, error)

func (*SettingClient) Create

func (c *SettingClient) Create(container *Setting) (*Setting, error)

func (*SettingClient) Delete

func (c *SettingClient) Delete(container *Setting) error

func (*SettingClient) List

func (c *SettingClient) List(opts *ListOpts) (*SettingCollection, error)

func (*SettingClient) Update

func (c *SettingClient) Update(existing *Setting, updates interface{}) (*Setting, error)

type SettingCollection

type SettingCollection struct {
	Collection
	Data []Setting `json:"data,omitempty"`
}

type SettingOperations

type SettingOperations interface {
	List(opts *ListOpts) (*SettingCollection, error)
	Create(opts *Setting) (*Setting, error)
	Update(existing *Setting, updates interface{}) (*Setting, error)
	ById(id string) (*Setting, error)
	Delete(container *Setting) error
}

type Sort

type Sort struct {
	Name    string `json:"name,omitempty"`
	Order   string `json:"order,omitempty"`
	Reverse string `json:"reverse,omitempty"`
}

type StatsAccess

type StatsAccess struct {
	Resource

	Token string `json:"token,omitempty"`

	Url string `json:"url,omitempty"`
}

type StatsAccessClient

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

func (*StatsAccessClient) ById

func (c *StatsAccessClient) ById(id string) (*StatsAccess, error)

func (*StatsAccessClient) Create

func (c *StatsAccessClient) Create(container *StatsAccess) (*StatsAccess, error)

func (*StatsAccessClient) Delete

func (c *StatsAccessClient) Delete(container *StatsAccess) error

func (*StatsAccessClient) List

func (*StatsAccessClient) Update

func (c *StatsAccessClient) Update(existing *StatsAccess, updates interface{}) (*StatsAccess, error)

type StatsAccessCollection

type StatsAccessCollection struct {
	Collection
	Data []StatsAccess `json:"data,omitempty"`
}

type StatsAccessOperations

type StatsAccessOperations interface {
	List(opts *ListOpts) (*StatsAccessCollection, error)
	Create(opts *StatsAccess) (*StatsAccess, error)
	Update(existing *StatsAccess, updates interface{}) (*StatsAccess, error)
	ById(id string) (*StatsAccess, error)
	Delete(container *StatsAccess) error
}

type StoragePool

type StoragePool struct {
	Resource

	AccountId string `json:"accountId,omitempty"`

	Created string `json:"created,omitempty"`

	Data map[string]interface{} `json:"data,omitempty"`

	Description string `json:"description,omitempty"`

	Kind string `json:"kind,omitempty"`

	Name string `json:"name,omitempty"`

	RemoveTime string `json:"removeTime,omitempty"`

	Removed string `json:"removed,omitempty"`

	State string `json:"state,omitempty"`

	Transitioning string `json:"transitioning,omitempty"`

	TransitioningMessage string `json:"transitioningMessage,omitempty"`

	TransitioningProgress int `json:"transitioningProgress,omitempty"`

	Uuid string `json:"uuid,omitempty"`
}

type StoragePoolClient

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

func (*StoragePoolClient) ActionActivate

func (c *StoragePoolClient) ActionActivate(resource *StoragePool) (*StoragePool, error)

func (*StoragePoolClient) ActionCreate

func (c *StoragePoolClient) ActionCreate(resource *StoragePool) (*StoragePool, error)

func (*StoragePoolClient) ActionDeactivate

func (c *StoragePoolClient) ActionDeactivate(resource *StoragePool) (*StoragePool, error)

func (*StoragePoolClient) ActionPurge

func (c *StoragePoolClient) ActionPurge(resource *StoragePool) (*StoragePool, error)

func (*StoragePoolClient) ActionRemove

func (c *StoragePoolClient) ActionRemove(resource *StoragePool) (*StoragePool, error)

func (*StoragePoolClient) ActionRestore

func (c *StoragePoolClient) ActionRestore(resource *StoragePool) (*StoragePool, error)

func (*StoragePoolClient) ActionUpdate

func (c *StoragePoolClient) ActionUpdate(resource *StoragePool) (*StoragePool, error)

func (*StoragePoolClient) ById

func (c *StoragePoolClient) ById(id string) (*StoragePool, error)

func (*StoragePoolClient) Create

func (c *StoragePoolClient) Create(container *StoragePool) (*StoragePool, error)

func (*StoragePoolClient) Delete

func (c *StoragePoolClient) Delete(container *StoragePool) error

func (*StoragePoolClient) List

func (*StoragePoolClient) Update

func (c *StoragePoolClient) Update(existing *StoragePool, updates interface{}) (*StoragePool, error)

type StoragePoolCollection

type StoragePoolCollection struct {
	Collection
	Data []StoragePool `json:"data,omitempty"`
}

type StoragePoolOperations

type StoragePoolOperations interface {
	List(opts *ListOpts) (*StoragePoolCollection, error)
	Create(opts *StoragePool) (*StoragePool, error)
	Update(existing *StoragePool, updates interface{}) (*StoragePool, error)
	ById(id string) (*StoragePool, error)
	Delete(container *StoragePool) error
	ActionActivate(*StoragePool) (*StoragePool, error)
	ActionCreate(*StoragePool) (*StoragePool, error)
	ActionDeactivate(*StoragePool) (*StoragePool, error)
	ActionPurge(*StoragePool) (*StoragePool, error)
	ActionRemove(*StoragePool) (*StoragePool, error)
	ActionRestore(*StoragePool) (*StoragePool, error)
	ActionUpdate(*StoragePool) (*StoragePool, error)
}

type Subscribe

type Subscribe struct {
	Resource

	AgentId string `json:"agentId,omitempty"`

	EventNames []string `json:"eventNames,omitempty"`
}

type SubscribeClient

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

func (*SubscribeClient) ById

func (c *SubscribeClient) ById(id string) (*Subscribe, error)

func (*SubscribeClient) Create

func (c *SubscribeClient) Create(container *Subscribe) (*Subscribe, error)

func (*SubscribeClient) Delete

func (c *SubscribeClient) Delete(container *Subscribe) error

func (*SubscribeClient) List

func (*SubscribeClient) Update

func (c *SubscribeClient) Update(existing *Subscribe, updates interface{}) (*Subscribe, error)

type SubscribeCollection

type SubscribeCollection struct {
	Collection
	Data []Subscribe `json:"data,omitempty"`
}

type SubscribeOperations

type SubscribeOperations interface {
	List(opts *ListOpts) (*SubscribeCollection, error)
	Create(opts *Subscribe) (*Subscribe, error)
	Update(existing *Subscribe, updates interface{}) (*Subscribe, error)
	ById(id string) (*Subscribe, error)
	Delete(container *Subscribe) error
}

type Task

type Task struct {
	Resource

	Name string `json:"name,omitempty"`
}

type TaskClient

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

func (*TaskClient) ActionExecute

func (c *TaskClient) ActionExecute(resource *Task) (*Task, error)

func (*TaskClient) ById

func (c *TaskClient) ById(id string) (*Task, error)

func (*TaskClient) Create

func (c *TaskClient) Create(container *Task) (*Task, error)

func (*TaskClient) Delete

func (c *TaskClient) Delete(container *Task) error

func (*TaskClient) List

func (c *TaskClient) List(opts *ListOpts) (*TaskCollection, error)

func (*TaskClient) Update

func (c *TaskClient) Update(existing *Task, updates interface{}) (*Task, error)

type TaskCollection

type TaskCollection struct {
	Collection
	Data []Task `json:"data,omitempty"`
}

type TaskInstance

type TaskInstance struct {
	Resource

	EndTime string `json:"endTime,omitempty"`

	Exception string `json:"exception,omitempty"`

	Name string `json:"name,omitempty"`

	ServerId string `json:"serverId,omitempty"`

	StartTime string `json:"startTime,omitempty"`

	TaskId string `json:"taskId,omitempty"`
}

type TaskInstanceClient

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

func (*TaskInstanceClient) ById

func (c *TaskInstanceClient) ById(id string) (*TaskInstance, error)

func (*TaskInstanceClient) Create

func (c *TaskInstanceClient) Create(container *TaskInstance) (*TaskInstance, error)

func (*TaskInstanceClient) Delete

func (c *TaskInstanceClient) Delete(container *TaskInstance) error

func (*TaskInstanceClient) List

func (*TaskInstanceClient) Update

func (c *TaskInstanceClient) Update(existing *TaskInstance, updates interface{}) (*TaskInstance, error)

type TaskInstanceCollection

type TaskInstanceCollection struct {
	Collection
	Data []TaskInstance `json:"data,omitempty"`
}

type TaskInstanceOperations

type TaskInstanceOperations interface {
	List(opts *ListOpts) (*TaskInstanceCollection, error)
	Create(opts *TaskInstance) (*TaskInstance, error)
	Update(existing *TaskInstance, updates interface{}) (*TaskInstance, error)
	ById(id string) (*TaskInstance, error)
	Delete(container *TaskInstance) error
}

type TaskOperations

type TaskOperations interface {
	List(opts *ListOpts) (*TaskCollection, error)
	Create(opts *Task) (*Task, error)
	Update(existing *Task, updates interface{}) (*Task, error)
	ById(id string) (*Task, error)
	Delete(container *Task) error
	ActionExecute(*Task) (*Task, error)
}

type TypeDocumentation

type TypeDocumentation struct {
	Resource

	Description string `json:"description,omitempty"`
}

type TypeDocumentationClient

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

func (*TypeDocumentationClient) ById

func (*TypeDocumentationClient) Create

func (*TypeDocumentationClient) Delete

func (c *TypeDocumentationClient) Delete(container *TypeDocumentation) error

func (*TypeDocumentationClient) List

func (*TypeDocumentationClient) Update

func (c *TypeDocumentationClient) Update(existing *TypeDocumentation, updates interface{}) (*TypeDocumentation, error)

type TypeDocumentationCollection

type TypeDocumentationCollection struct {
	Collection
	Data []TypeDocumentation `json:"data,omitempty"`
}

type TypeDocumentationOperations

type TypeDocumentationOperations interface {
	List(opts *ListOpts) (*TypeDocumentationCollection, error)
	Create(opts *TypeDocumentation) (*TypeDocumentation, error)
	Update(existing *TypeDocumentation, updates interface{}) (*TypeDocumentation, error)
	ById(id string) (*TypeDocumentation, error)
	Delete(container *TypeDocumentation) error
}

type VirtualboxConfig

type VirtualboxConfig struct {
	Resource

	Boot2dockerUrl string `json:"boot2dockerUrl,omitempty"`

	DiskSize string `json:"diskSize,omitempty"`

	Memory string `json:"memory,omitempty"`
}

type VirtualboxConfigClient

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

func (*VirtualboxConfigClient) ById

func (*VirtualboxConfigClient) Create

func (*VirtualboxConfigClient) Delete

func (c *VirtualboxConfigClient) Delete(container *VirtualboxConfig) error

func (*VirtualboxConfigClient) List

func (*VirtualboxConfigClient) Update

func (c *VirtualboxConfigClient) Update(existing *VirtualboxConfig, updates interface{}) (*VirtualboxConfig, error)

type VirtualboxConfigCollection

type VirtualboxConfigCollection struct {
	Collection
	Data []VirtualboxConfig `json:"data,omitempty"`
}

type VirtualboxConfigOperations

type VirtualboxConfigOperations interface {
	List(opts *ListOpts) (*VirtualboxConfigCollection, error)
	Create(opts *VirtualboxConfig) (*VirtualboxConfig, error)
	Update(existing *VirtualboxConfig, updates interface{}) (*VirtualboxConfig, error)
	ById(id string) (*VirtualboxConfig, error)
	Delete(container *VirtualboxConfig) error
}

type Volume

type Volume struct {
	Resource

	AccountId string `json:"accountId,omitempty"`

	Created string `json:"created,omitempty"`

	Data map[string]interface{} `json:"data,omitempty"`

	Description string `json:"description,omitempty"`

	ImageId string `json:"imageId,omitempty"`

	InstanceId string `json:"instanceId,omitempty"`

	IsHostPath bool `json:"isHostPath,omitempty"`

	Kind string `json:"kind,omitempty"`

	Name string `json:"name,omitempty"`

	RemoveTime string `json:"removeTime,omitempty"`

	Removed string `json:"removed,omitempty"`

	State string `json:"state,omitempty"`

	Transitioning string `json:"transitioning,omitempty"`

	TransitioningMessage string `json:"transitioningMessage,omitempty"`

	TransitioningProgress int `json:"transitioningProgress,omitempty"`

	Uri string `json:"uri,omitempty"`

	Uuid string `json:"uuid,omitempty"`
}

type VolumeClient

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

func (*VolumeClient) ActionActivate

func (c *VolumeClient) ActionActivate(resource *Volume) (*Volume, error)

func (*VolumeClient) ActionAllocate

func (c *VolumeClient) ActionAllocate(resource *Volume) (*Volume, error)

func (*VolumeClient) ActionCreate

func (c *VolumeClient) ActionCreate(resource *Volume) (*Volume, error)

func (*VolumeClient) ActionDeactivate

func (c *VolumeClient) ActionDeactivate(resource *Volume) (*Volume, error)

func (*VolumeClient) ActionDeallocate

func (c *VolumeClient) ActionDeallocate(resource *Volume) (*Volume, error)

func (*VolumeClient) ActionPurge

func (c *VolumeClient) ActionPurge(resource *Volume) (*Volume, error)

func (*VolumeClient) ActionRemove

func (c *VolumeClient) ActionRemove(resource *Volume) (*Volume, error)

func (*VolumeClient) ActionRestore

func (c *VolumeClient) ActionRestore(resource *Volume) (*Volume, error)

func (*VolumeClient) ActionUpdate

func (c *VolumeClient) ActionUpdate(resource *Volume) (*Volume, error)

func (*VolumeClient) ById

func (c *VolumeClient) ById(id string) (*Volume, error)

func (*VolumeClient) Create

func (c *VolumeClient) Create(container *Volume) (*Volume, error)

func (*VolumeClient) Delete

func (c *VolumeClient) Delete(container *Volume) error

func (*VolumeClient) List

func (c *VolumeClient) List(opts *ListOpts) (*VolumeCollection, error)

func (*VolumeClient) Update

func (c *VolumeClient) Update(existing *Volume, updates interface{}) (*Volume, error)

type VolumeCollection

type VolumeCollection struct {
	Collection
	Data []Volume `json:"data,omitempty"`
}

type VolumeOperations

type VolumeOperations interface {
	List(opts *ListOpts) (*VolumeCollection, error)
	Create(opts *Volume) (*Volume, error)
	Update(existing *Volume, updates interface{}) (*Volume, error)
	ById(id string) (*Volume, error)
	Delete(container *Volume) error
	ActionActivate(*Volume) (*Volume, error)
	ActionAllocate(*Volume) (*Volume, error)
	ActionCreate(*Volume) (*Volume, error)
	ActionDeactivate(*Volume) (*Volume, error)
	ActionDeallocate(*Volume) (*Volume, error)
	ActionPurge(*Volume) (*Volume, error)
	ActionRemove(*Volume) (*Volume, error)
	ActionRestore(*Volume) (*Volume, error)
	ActionUpdate(*Volume) (*Volume, error)
}

Source Files

Jump to

Keyboard shortcuts

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