Documentation
¶
Index ¶
- func NewContext() context.Context
- type Client
- func (c *Client) CreateCloudAccount(input *client.CreateCloudAccountInput) (*client.CloudAccount, error)
- func (c *Client) DeleteCloudAccountByID(cloudID string) error
- func (c *Client) GetEventRemoveConfig(cloudID string) (*client.EventRemoveConfig, error)
- func (c *Client) GetEventStreamConfig(cloudID string) (*client.EventStreamConfig, error)
- func (c *Client) GetRoleCreationInfo(input *client.CreateCloudAccountInput) (*client.RoleCreationInfo, error)
- func (c *Client) ListCloudAccounts() ([]*client.CloudAccount, error)
- func (c *Client) MakeClient() (*client.Client, error)
- func (c *Client) Option(opts ...Option) *Client
- func (c *Client) ReValidateRole(cloudID string) (*client.RoleReValidationResult, error)
- func (c *Client) ShowCloudAccountByID(cloudID string) (*client.CloudAccount, error)
- func (c *Client) UpdateCloudAccount(input *client.UpdateCloudAccountInput) (*client.CloudAccount, error)
- type Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client struct
func (*Client) CreateCloudAccount ¶
func (c *Client) CreateCloudAccount(input *client.CreateCloudAccountInput) (*client.CloudAccount, error)
CreateCloudAccount Create cloud account
func (*Client) DeleteCloudAccountByID ¶
DeleteCloudAccountByID Delete cloud by ID
func (*Client) GetEventRemoveConfig ¶ added in v0.0.23
func (c *Client) GetEventRemoveConfig(cloudID string) (*client.EventRemoveConfig, error)
func (*Client) GetEventStreamConfig ¶ added in v0.0.20
func (c *Client) GetEventStreamConfig(cloudID string) (*client.EventStreamConfig, error)
GetEventStreamConfig gets event stream setup config
func (*Client) GetRoleCreationInfo ¶ added in v0.0.21
func (c *Client) GetRoleCreationInfo(input *client.CreateCloudAccountInput) (*client.RoleCreationInfo, error)
func (*Client) ListCloudAccounts ¶
func (c *Client) ListCloudAccounts() ([]*client.CloudAccount, error)
ListCloudAccounts Get list of cloud accounts
func (*Client) MakeClient ¶
MakeClient make client method
func (*Client) ReValidateRole ¶ added in v0.0.27
func (c *Client) ReValidateRole(cloudID string) (*client.RoleReValidationResult, error)
func (*Client) ShowCloudAccountByID ¶
func (c *Client) ShowCloudAccountByID(cloudID string) (*client.CloudAccount, error)
ShowCloudAccountByID show cloud account by ID
func (*Client) UpdateCloudAccount ¶ added in v0.0.27
func (c *Client) UpdateCloudAccount(input *client.UpdateCloudAccountInput) (*client.CloudAccount, error)
type Option ¶
type Option func(*options)
Option allows specifying various settings configurable by the coreo client user for overriding the defaults
func RefreshToken ¶ added in v0.0.38
RefreshToken specifies the refreshToken of the Coreo API server request.
Click to show internal directories.
Click to hide internal directories.