Documentation ¶
Index ¶
- Constants
- type AWSCloud9Client
- func (client *AWSCloud9Client) CreateEnvironmentSSH(request *CreateEnvironmentSSHRequest) (*CreateEnvironmentSSHResult, error)
- func (client *AWSCloud9Client) DescribeSSHRemote(environmentId string) (*DescribeSSHRemoteResult, error)
- func (client *AWSCloud9Client) GetMemberShips(environmentId string) ([]Cloud9EnvironmentMembership, error)
- func (client *AWSCloud9Client) GetSSHEnvironments(envIds ...string) ([]Cloud9SSHEnvironment, error)
- func (client *AWSCloud9Client) GetUserPublicKey() (*GetUserPublicKeyResult, error)
- func (client *AWSCloud9Client) UpdateEnvironment(env Cloud9SSHEnvironment) error
- func (client *AWSCloud9Client) UpdateSSHRemote(request *UpdateSSHRemoteRequest) error
- type AWSError
- type Cloud9EnvironmentMembership
- type Cloud9SSHEnvironment
- type CreateEnvironmentSSHRequest
- type CreateEnvironmentSSHResult
- type DescribeSSHRemoteRequest
- type DescribeSSHRemoteResult
- type GetUserPublicKeyResult
- type SSHRemoteEnvironmentDescription
- type Tag
- type UpdateSSHRemoteRequest
Constants ¶
View Source
const ( DEFAULT_METHOD = "POST" SERVICE = "cloud9" URL_PATTERN = "https://%s.%s.amazonaws.com/" OPERATION_PREFIX = "AWSCloud9WorkspaceManagementService" AWS_JSON = "application/x-amz-json-1.1" MAX_RESULTS = 25 )
View Source
const ( OWNER = "owner" READ_WRITE = "read-write" READONLY = "read-only" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AWSCloud9Client ¶
func New ¶
func New(ctx context.Context, credentials *credentials.Credentials, region string) *AWSCloud9Client
func (*AWSCloud9Client) CreateEnvironmentSSH ¶
func (client *AWSCloud9Client) CreateEnvironmentSSH(request *CreateEnvironmentSSHRequest) (*CreateEnvironmentSSHResult, error)
func (*AWSCloud9Client) DescribeSSHRemote ¶
func (client *AWSCloud9Client) DescribeSSHRemote(environmentId string) (*DescribeSSHRemoteResult, error)
func (*AWSCloud9Client) GetMemberShips ¶
func (client *AWSCloud9Client) GetMemberShips(environmentId string) ([]Cloud9EnvironmentMembership, error)
func (*AWSCloud9Client) GetSSHEnvironments ¶
func (client *AWSCloud9Client) GetSSHEnvironments(envIds ...string) ([]Cloud9SSHEnvironment, error)
func (*AWSCloud9Client) GetUserPublicKey ¶
func (client *AWSCloud9Client) GetUserPublicKey() (*GetUserPublicKeyResult, error)
func (*AWSCloud9Client) UpdateEnvironment ¶
func (client *AWSCloud9Client) UpdateEnvironment(env Cloud9SSHEnvironment) error
func (*AWSCloud9Client) UpdateSSHRemote ¶
func (client *AWSCloud9Client) UpdateSSHRemote(request *UpdateSSHRemoteRequest) error
type Cloud9SSHEnvironment ¶
type Cloud9SSHEnvironment struct { Arn string `json:"arn,omitempty"` EnvironmentId string `json:"environment_id"` Name string `json:"name"` Description string `json:"description,omitempty"` LoginName string `json:"loginName"` Hostname string `json:"host"` Port int16 `json:"port"` EnvironmentPath string `json:"environmentPath,omitempty"` NodePath string `json:"nodePath,omitempty"` BastionHost string `json:"bastionHost,omitempty"` DryRun bool `json:"dryRun"` Tags []Tag `json:"tags"` }
type CreateEnvironmentSSHRequest ¶
type CreateEnvironmentSSHRequest struct { Name string `json:"name"` Description string `json:"description,omitempty"` LoginName string `json:"loginName"` Hostname string `json:"host"` Port int16 `json:"port"` EnvironmentPath string `json:"environmentPath,omitempty"` NodePath string `json:"nodePath,omitempty"` BastionHost string `json:"bastionHost,omitempty"` DryRun bool `json:"dryRun"` Tags []Tag `json:"tags"` }
type CreateEnvironmentSSHResult ¶
type CreateEnvironmentSSHResult struct {
EnvironmentId string `json:"environmentId"`
}
type DescribeSSHRemoteRequest ¶
type DescribeSSHRemoteRequest struct {
EnvironmentId string `json:"environmentId"`
}
type DescribeSSHRemoteResult ¶
type DescribeSSHRemoteResult struct {
Results SSHRemoteEnvironmentDescription `json:"remote"`
}
type GetUserPublicKeyResult ¶
type GetUserPublicKeyResult struct {
PublicKey string `json:"publicKey"`
}
type SSHRemoteEnvironmentDescription ¶
type SSHRemoteEnvironmentDescription struct { EnvironmentPath string `json:"environmentPath"` Hostname string `json:"host"` Description string `json:"description,omitempty"` LoginName string `json:"loginName"` Port int16 `json:"port"` NodePath string `json:"nodePath"` BastionHost string `json:"bastionHost"` }
type UpdateSSHRemoteRequest ¶
Click to show internal directories.
Click to hide internal directories.