tfcrud

package
v0.0.0-...-edc4131 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateWorkspace

func CreateWorkspace(ctx context.Context, TfeWsName string, TfeOrg string, Tfclient *tfe.Client)

CreateWorkspace is a function to create a workspace in an organisation.

func DeleteWorkspace

func DeleteWorkspace(ctx context.Context, TfeWsName string, TfeOrg string, Tfclient *tfe.Client)

DeleteWorkspace is a function to delete workspace in an organisation.

func DeleteWorkspaceID

func DeleteWorkspaceID(ctx context.Context, TfeDelWS string, Tfclient *tfe.Client) string

DeleteWorkspaceID is a function to delete a workspace with workspace ID

func GetWorkspaceID

func GetWorkspaceID(ctx context.Context, TfeWS string, TfeOrg string, Tfclient *tfe.Client) string

GetWorkspaceID is a function to retrive workspace ID of a workspace

func ListWorkspace

func ListWorkspace(ctx context.Context, TfeOrg string, Tfclient *tfe.Client)

ListWorkspace is a function to list worksapce name and workpsace ID in a tablular format

func SortWorkspace

func SortWorkspace(ctx context.Context, TfeOrg string, delta int, Tfclient *tfe.Client)

SortWorkspace function sorts workspaces according to created time and list un-used workspaces acoording to creation date of workspace.

Types

This section is empty.

Jump to

Keyboard shortcuts

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