resource

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 12, 2020 License: Apache-2.0 Imports: 7 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(req handler.Request, prevModel *Model, currentModel *Model) (handler.ProgressEvent, error)

Create handles the Create event from the Cloudformation service.

func Delete

func Delete(req handler.Request, prevModel *Model, currentModel *Model) (handler.ProgressEvent, error)

Delete handles the Delete event from the Cloudformation service.

func List

func List(req handler.Request, prevModel *Model, currentModel *Model) (handler.ProgressEvent, error)

List NOOP

func Read

func Read(req handler.Request, prevModel *Model, currentModel *Model) (handler.ProgressEvent, error)

Read handles the Read event from the Cloudformation service.

func Update

func Update(req handler.Request, prevModel *Model, currentModel *Model) (handler.ProgressEvent, error)

Update handles the Update event from the Cloudformation service.

Types

type ApiKeyDefinition

type ApiKeyDefinition struct {
	PublicKey  *encoding.String
	PrivateKey *encoding.String
}

ApiKeyDefinition is autogenerated from the json schema

type LabelDefinition

type LabelDefinition struct {
	Key   *encoding.String
	Value *encoding.String
}

LabelDefinition is autogenerated from the json schema

type Model

type Model struct {
	DatabaseName *encoding.String  `json:"DatabaseName,omitempty"`
	Labels       []LabelDefinition `json:"Labels,omitempty"`
	LdapAuthType *encoding.String  `json:"LdapAuthType,omitempty"`
	ProjectId    *encoding.String  `json:"ProjectId,omitempty"`
	Roles        []RoleDefinition  `json:"Roles,omitempty"`
	Password     *encoding.String  `json:"Password,omitempty"`
	Username     *encoding.String  `json:"Username,omitempty"`
	ApiKeys      ApiKeyDefinition  `json:"ApiKeys,omitempty"`
}

Model is autogenerated from the json schema

type RoleDefinition

type RoleDefinition struct {
	CollectionName *encoding.String
	DatabaseName   *encoding.String
	RoleName       *encoding.String
}

RoleDefinition is autogenerated from the json schema

Jump to

Keyboard shortcuts

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