key

package
v0.1.4-alpha.3 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

func NewClient

func NewClient(sess *ibmpisession.IBMPISession, powerinstanceid string) *Client

func (*Client) Create

func (c *Client) Create(body *models.SSHKey) (*models.SSHKey, error)

func (*Client) Delete

func (c *Client) Delete(id string) error

func (*Client) Get

func (c *Client) Get(id string) (*models.SSHKey, error)

func (*Client) GetAllPurgeable

func (c *Client) GetAllPurgeable(before, since time.Duration, expr string) ([]string, error)

Jump to

Keyboard shortcuts

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