Documentation ¶
Overview ¶
Package hatoba provides the API client, operations, and parameter types for the API.
Index ¶
- Constants
- func NewDefaultEndpointResolver() *internalendpoints.Resolver
- func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options)
- func WithEndpointResolver(v EndpointResolver) func(*Options)
- type AttachDiskInput
- type AttachDiskOutput
- type AuthorizeFirewallGroupInput
- type AuthorizeFirewallGroupOutput
- type Client
- func (c *Client) AttachDisk(ctx context.Context, params *AttachDiskInput, optFns ...func(*Options)) (*AttachDiskOutput, error)
- func (c *Client) AuthorizeFirewallGroup(ctx context.Context, params *AuthorizeFirewallGroupInput, ...) (*AuthorizeFirewallGroupOutput, error)
- func (c *Client) CreateCluster(ctx context.Context, params *CreateClusterInput, optFns ...func(*Options)) (*CreateClusterOutput, error)
- func (c *Client) CreateDisk(ctx context.Context, params *CreateDiskInput, optFns ...func(*Options)) (*CreateDiskOutput, error)
- func (c *Client) CreateFirewallGroup(ctx context.Context, params *CreateFirewallGroupInput, ...) (*CreateFirewallGroupOutput, error)
- func (c *Client) CreateNodePool(ctx context.Context, params *CreateNodePoolInput, optFns ...func(*Options)) (*CreateNodePoolOutput, error)
- func (c *Client) CreateSnapshot(ctx context.Context, params *CreateSnapshotInput, optFns ...func(*Options)) (*CreateSnapshotOutput, error)
- func (c *Client) CreateTags(ctx context.Context, params *CreateTagsInput, optFns ...func(*Options)) (*CreateTagsOutput, error)
- func (c *Client) DeleteCluster(ctx context.Context, params *DeleteClusterInput, optFns ...func(*Options)) (*DeleteClusterOutput, error)
- func (c *Client) DeleteClusters(ctx context.Context, params *DeleteClustersInput, optFns ...func(*Options)) (*DeleteClustersOutput, error)
- func (c *Client) DeleteDisk(ctx context.Context, params *DeleteDiskInput, optFns ...func(*Options)) (*DeleteDiskOutput, error)
- func (c *Client) DeleteDisks(ctx context.Context, params *DeleteDisksInput, optFns ...func(*Options)) (*DeleteDisksOutput, error)
- func (c *Client) DeleteFirewallGroup(ctx context.Context, params *DeleteFirewallGroupInput, ...) (*DeleteFirewallGroupOutput, error)
- func (c *Client) DeleteFirewallGroups(ctx context.Context, params *DeleteFirewallGroupsInput, ...) (*DeleteFirewallGroupsOutput, error)
- func (c *Client) DeleteNodePool(ctx context.Context, params *DeleteNodePoolInput, optFns ...func(*Options)) (*DeleteNodePoolOutput, error)
- func (c *Client) DeleteNodePools(ctx context.Context, params *DeleteNodePoolsInput, optFns ...func(*Options)) (*DeleteNodePoolsOutput, error)
- func (c *Client) DeleteSnapshot(ctx context.Context, params *DeleteSnapshotInput, optFns ...func(*Options)) (*DeleteSnapshotOutput, error)
- func (c *Client) DeleteSnapshots(ctx context.Context, params *DeleteSnapshotsInput, optFns ...func(*Options)) (*DeleteSnapshotsOutput, error)
- func (c *Client) DeleteTags(ctx context.Context, params *DeleteTagsInput, optFns ...func(*Options)) (*DeleteTagsOutput, error)
- func (c *Client) DetachDisk(ctx context.Context, params *DetachDiskInput, optFns ...func(*Options)) (*DetachDiskOutput, error)
- func (c *Client) GetCluster(ctx context.Context, params *GetClusterInput, optFns ...func(*Options)) (*GetClusterOutput, error)
- func (c *Client) GetClusterCredentials(ctx context.Context, params *GetClusterCredentialsInput, ...) (*GetClusterCredentialsOutput, error)
- func (c *Client) GetDisk(ctx context.Context, params *GetDiskInput, optFns ...func(*Options)) (*GetDiskOutput, error)
- func (c *Client) GetFirewallGroup(ctx context.Context, params *GetFirewallGroupInput, optFns ...func(*Options)) (*GetFirewallGroupOutput, error)
- func (c *Client) GetLoadBalancer(ctx context.Context, params *GetLoadBalancerInput, optFns ...func(*Options)) (*GetLoadBalancerOutput, error)
- func (c *Client) GetNodePool(ctx context.Context, params *GetNodePoolInput, optFns ...func(*Options)) (*GetNodePoolOutput, error)
- func (c *Client) GetServerConfig(ctx context.Context, params *GetServerConfigInput, optFns ...func(*Options)) (*GetServerConfigOutput, error)
- func (c *Client) GetSnapshot(ctx context.Context, params *GetSnapshotInput, optFns ...func(*Options)) (*GetSnapshotOutput, error)
- func (c *Client) ListClusters(ctx context.Context, params *ListClustersInput, optFns ...func(*Options)) (*ListClustersOutput, error)
- func (c *Client) ListDisks(ctx context.Context, params *ListDisksInput, optFns ...func(*Options)) (*ListDisksOutput, error)
- func (c *Client) ListFirewallGroups(ctx context.Context, params *ListFirewallGroupsInput, optFns ...func(*Options)) (*ListFirewallGroupsOutput, error)
- func (c *Client) ListLoadBalancers(ctx context.Context, params *ListLoadBalancersInput, optFns ...func(*Options)) (*ListLoadBalancersOutput, error)
- func (c *Client) ListNodePools(ctx context.Context, params *ListNodePoolsInput, optFns ...func(*Options)) (*ListNodePoolsOutput, error)
- func (c *Client) ListSnapshots(ctx context.Context, params *ListSnapshotsInput, optFns ...func(*Options)) (*ListSnapshotsOutput, error)
- func (c *Client) ListTags(ctx context.Context, params *ListTagsInput, optFns ...func(*Options)) (*ListTagsOutput, error)
- func (c *Client) RebootNode(ctx context.Context, params *RebootNodeInput, optFns ...func(*Options)) (*RebootNodeOutput, error)
- func (c *Client) RestoreClusterFromSnapshot(ctx context.Context, params *RestoreClusterFromSnapshotInput, ...) (*RestoreClusterFromSnapshotOutput, error)
- func (c *Client) RevokeFirewallGroup(ctx context.Context, params *RevokeFirewallGroupInput, ...) (*RevokeFirewallGroupOutput, error)
- func (c *Client) SetNodePoolSize(ctx context.Context, params *SetNodePoolSizeInput, optFns ...func(*Options)) (*SetNodePoolSizeOutput, error)
- func (c *Client) UpdateCluster(ctx context.Context, params *UpdateClusterInput, optFns ...func(*Options)) (*UpdateClusterOutput, error)
- func (c *Client) UpdateDisk(ctx context.Context, params *UpdateDiskInput, optFns ...func(*Options)) (*UpdateDiskOutput, error)
- func (c *Client) UpdateFirewallGroup(ctx context.Context, params *UpdateFirewallGroupInput, ...) (*UpdateFirewallGroupOutput, error)
- func (c *Client) UpdateNodePool(ctx context.Context, params *UpdateNodePoolInput, optFns ...func(*Options)) (*UpdateNodePoolOutput, error)
- func (c *Client) UpdateSnapshot(ctx context.Context, params *UpdateSnapshotInput, optFns ...func(*Options)) (*UpdateSnapshotOutput, error)
- func (c *Client) UpdateTags(ctx context.Context, params *UpdateTagsInput, optFns ...func(*Options)) (*UpdateTagsOutput, error)
- type ClusterDeletedWaiter
- type ClusterDeletedWaiterOptions
- type ClusterRunningWaiter
- type ClusterRunningWaiterOptions
- type CreateClusterInput
- type CreateClusterOutput
- type CreateDiskInput
- type CreateDiskOutput
- type CreateFirewallGroupInput
- type CreateFirewallGroupOutput
- type CreateNodePoolInput
- type CreateNodePoolOutput
- type CreateSnapshotInput
- type CreateSnapshotOutput
- type CreateTagsInput
- type CreateTagsOutput
- type DeleteClusterInput
- type DeleteClusterOutput
- type DeleteClustersInput
- type DeleteClustersOutput
- type DeleteDiskInput
- type DeleteDiskOutput
- type DeleteDisksInput
- type DeleteDisksOutput
- type DeleteFirewallGroupInput
- type DeleteFirewallGroupOutput
- type DeleteFirewallGroupsInput
- type DeleteFirewallGroupsOutput
- type DeleteNodePoolInput
- type DeleteNodePoolOutput
- type DeleteNodePoolsInput
- type DeleteNodePoolsOutput
- type DeleteSnapshotInput
- type DeleteSnapshotOutput
- type DeleteSnapshotsInput
- type DeleteSnapshotsOutput
- type DeleteTagsInput
- type DeleteTagsOutput
- type DetachDiskInput
- type DetachDiskOutput
- type EndpointParameters
- type EndpointResolver
- type EndpointResolverFunc
- type EndpointResolverOptions
- type EndpointResolverV2
- type FirewallRuleAuthorizedWaiter
- func (w *FirewallRuleAuthorizedWaiter) Wait(ctx context.Context, params *GetFirewallGroupInput, maxWaitDur time.Duration, ...) error
- func (w *FirewallRuleAuthorizedWaiter) WaitForOutput(ctx context.Context, params *GetFirewallGroupInput, maxWaitDur time.Duration, ...) (*GetFirewallGroupOutput, error)
- type FirewallRuleAuthorizedWaiterOptions
- type GetClusterAPIClient
- type GetClusterCredentialsInput
- type GetClusterCredentialsOutput
- type GetClusterInput
- type GetClusterOutput
- type GetDiskInput
- type GetDiskOutput
- type GetFirewallGroupAPIClient
- type GetFirewallGroupInput
- type GetFirewallGroupOutput
- type GetLoadBalancerInput
- type GetLoadBalancerOutput
- type GetNodePoolInput
- type GetNodePoolOutput
- type GetServerConfigInput
- type GetServerConfigOutput
- type GetSnapshotAPIClient
- type GetSnapshotInput
- type GetSnapshotOutput
- type HTTPClient
- type HTTPSignerV4
- type ListClustersInput
- type ListClustersOutput
- type ListDisksInput
- type ListDisksOutput
- type ListFirewallGroupsInput
- type ListFirewallGroupsOutput
- type ListLoadBalancersInput
- type ListLoadBalancersOutput
- type ListNodePoolsInput
- type ListNodePoolsOutput
- type ListSnapshotsInput
- type ListSnapshotsOutput
- type ListTagsInput
- type ListTagsOutput
- type Options
- type RebootNodeInput
- type RebootNodeOutput
- type ResolveEndpoint
- type RestoreClusterFromSnapshotInput
- type RestoreClusterFromSnapshotOutput
- type RevokeFirewallGroupInput
- type RevokeFirewallGroupOutput
- type SetNodePoolSizeInput
- type SetNodePoolSizeOutput
- type SnapshotAvailableWaiter
- type SnapshotAvailableWaiterOptions
- type UpdateClusterInput
- type UpdateClusterOutput
- type UpdateDiskInput
- type UpdateDiskOutput
- type UpdateFirewallGroupInput
- type UpdateFirewallGroupOutput
- type UpdateNodePoolInput
- type UpdateNodePoolOutput
- type UpdateSnapshotInput
- type UpdateSnapshotOutput
- type UpdateTagsInput
- type UpdateTagsOutput
Constants ¶
const ServiceAPIVersion = "v1"
const ServiceID = "hatoba"
Variables ¶
This section is empty.
Functions ¶
func NewDefaultEndpointResolver ¶ added in v1.14.0
func NewDefaultEndpointResolver() *internalendpoints.Resolver
NewDefaultEndpointResolver constructs a new service endpoint resolver
func WithAPIOptions ¶ added in v1.14.0
func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options)
WithAPIOptions returns a functional option for setting the Client's APIOptions option.
func WithEndpointResolver ¶ added in v1.14.0
func WithEndpointResolver(v EndpointResolver) func(*Options)
WithEndpointResolver returns a functional option for setting the Client's EndpointResolver option.
Types ¶
type AttachDiskInput ¶ added in v1.19.0
type AttachDiskOutput ¶ added in v1.19.0
type AttachDiskOutput struct { Disk *types.DiskOfAttachDisk // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type AuthorizeFirewallGroupInput ¶
type AuthorizeFirewallGroupInput struct { // This member is required. FirewallGroupName *string // This member is required. Rules []types.RequestRules // contains filtered or unexported fields }
type AuthorizeFirewallGroupOutput ¶
type AuthorizeFirewallGroupOutput struct { FirewallGroup *types.FirewallGroup // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client provides the API client to make operations call for the API.
func New ¶
New returns an initialized Client based on the functional options. Provide additional functional options to further configure the behavior of the client, such as changing the client's endpoint or adding custom middleware behavior.
func NewFromConfig ¶ added in v1.14.0
NewFromConfig returns a new client from the provided config.
func (*Client) AttachDisk ¶ added in v1.19.0
func (c *Client) AttachDisk(ctx context.Context, params *AttachDiskInput, optFns ...func(*Options)) (*AttachDiskOutput, error)
func (*Client) AuthorizeFirewallGroup ¶ added in v1.14.0
func (c *Client) AuthorizeFirewallGroup(ctx context.Context, params *AuthorizeFirewallGroupInput, optFns ...func(*Options)) (*AuthorizeFirewallGroupOutput, error)
func (*Client) CreateCluster ¶ added in v1.14.0
func (c *Client) CreateCluster(ctx context.Context, params *CreateClusterInput, optFns ...func(*Options)) (*CreateClusterOutput, error)
func (*Client) CreateDisk ¶ added in v1.19.0
func (c *Client) CreateDisk(ctx context.Context, params *CreateDiskInput, optFns ...func(*Options)) (*CreateDiskOutput, error)
func (*Client) CreateFirewallGroup ¶ added in v1.14.0
func (c *Client) CreateFirewallGroup(ctx context.Context, params *CreateFirewallGroupInput, optFns ...func(*Options)) (*CreateFirewallGroupOutput, error)
func (*Client) CreateNodePool ¶ added in v1.14.0
func (c *Client) CreateNodePool(ctx context.Context, params *CreateNodePoolInput, optFns ...func(*Options)) (*CreateNodePoolOutput, error)
func (*Client) CreateSnapshot ¶ added in v1.14.0
func (c *Client) CreateSnapshot(ctx context.Context, params *CreateSnapshotInput, optFns ...func(*Options)) (*CreateSnapshotOutput, error)
func (*Client) CreateTags ¶ added in v1.18.0
func (c *Client) CreateTags(ctx context.Context, params *CreateTagsInput, optFns ...func(*Options)) (*CreateTagsOutput, error)
func (*Client) DeleteCluster ¶ added in v1.14.0
func (c *Client) DeleteCluster(ctx context.Context, params *DeleteClusterInput, optFns ...func(*Options)) (*DeleteClusterOutput, error)
func (*Client) DeleteClusters ¶ added in v1.14.0
func (c *Client) DeleteClusters(ctx context.Context, params *DeleteClustersInput, optFns ...func(*Options)) (*DeleteClustersOutput, error)
func (*Client) DeleteDisk ¶ added in v1.19.0
func (c *Client) DeleteDisk(ctx context.Context, params *DeleteDiskInput, optFns ...func(*Options)) (*DeleteDiskOutput, error)
func (*Client) DeleteDisks ¶ added in v1.19.0
func (c *Client) DeleteDisks(ctx context.Context, params *DeleteDisksInput, optFns ...func(*Options)) (*DeleteDisksOutput, error)
func (*Client) DeleteFirewallGroup ¶ added in v1.14.0
func (c *Client) DeleteFirewallGroup(ctx context.Context, params *DeleteFirewallGroupInput, optFns ...func(*Options)) (*DeleteFirewallGroupOutput, error)
func (*Client) DeleteFirewallGroups ¶ added in v1.14.0
func (c *Client) DeleteFirewallGroups(ctx context.Context, params *DeleteFirewallGroupsInput, optFns ...func(*Options)) (*DeleteFirewallGroupsOutput, error)
func (*Client) DeleteNodePool ¶ added in v1.14.0
func (c *Client) DeleteNodePool(ctx context.Context, params *DeleteNodePoolInput, optFns ...func(*Options)) (*DeleteNodePoolOutput, error)
func (*Client) DeleteNodePools ¶ added in v1.14.0
func (c *Client) DeleteNodePools(ctx context.Context, params *DeleteNodePoolsInput, optFns ...func(*Options)) (*DeleteNodePoolsOutput, error)
func (*Client) DeleteSnapshot ¶ added in v1.14.0
func (c *Client) DeleteSnapshot(ctx context.Context, params *DeleteSnapshotInput, optFns ...func(*Options)) (*DeleteSnapshotOutput, error)
func (*Client) DeleteSnapshots ¶ added in v1.14.0
func (c *Client) DeleteSnapshots(ctx context.Context, params *DeleteSnapshotsInput, optFns ...func(*Options)) (*DeleteSnapshotsOutput, error)
func (*Client) DeleteTags ¶ added in v1.18.0
func (c *Client) DeleteTags(ctx context.Context, params *DeleteTagsInput, optFns ...func(*Options)) (*DeleteTagsOutput, error)
func (*Client) DetachDisk ¶ added in v1.19.0
func (c *Client) DetachDisk(ctx context.Context, params *DetachDiskInput, optFns ...func(*Options)) (*DetachDiskOutput, error)
func (*Client) GetCluster ¶ added in v1.14.0
func (c *Client) GetCluster(ctx context.Context, params *GetClusterInput, optFns ...func(*Options)) (*GetClusterOutput, error)
func (*Client) GetClusterCredentials ¶ added in v1.14.0
func (c *Client) GetClusterCredentials(ctx context.Context, params *GetClusterCredentialsInput, optFns ...func(*Options)) (*GetClusterCredentialsOutput, error)
func (*Client) GetDisk ¶ added in v1.19.0
func (c *Client) GetDisk(ctx context.Context, params *GetDiskInput, optFns ...func(*Options)) (*GetDiskOutput, error)
func (*Client) GetFirewallGroup ¶ added in v1.14.0
func (c *Client) GetFirewallGroup(ctx context.Context, params *GetFirewallGroupInput, optFns ...func(*Options)) (*GetFirewallGroupOutput, error)
func (*Client) GetLoadBalancer ¶ added in v1.14.0
func (c *Client) GetLoadBalancer(ctx context.Context, params *GetLoadBalancerInput, optFns ...func(*Options)) (*GetLoadBalancerOutput, error)
func (*Client) GetNodePool ¶ added in v1.14.0
func (c *Client) GetNodePool(ctx context.Context, params *GetNodePoolInput, optFns ...func(*Options)) (*GetNodePoolOutput, error)
func (*Client) GetServerConfig ¶ added in v1.14.0
func (c *Client) GetServerConfig(ctx context.Context, params *GetServerConfigInput, optFns ...func(*Options)) (*GetServerConfigOutput, error)
func (*Client) GetSnapshot ¶ added in v1.14.0
func (c *Client) GetSnapshot(ctx context.Context, params *GetSnapshotInput, optFns ...func(*Options)) (*GetSnapshotOutput, error)
func (*Client) ListClusters ¶ added in v1.14.0
func (c *Client) ListClusters(ctx context.Context, params *ListClustersInput, optFns ...func(*Options)) (*ListClustersOutput, error)
func (*Client) ListDisks ¶ added in v1.19.0
func (c *Client) ListDisks(ctx context.Context, params *ListDisksInput, optFns ...func(*Options)) (*ListDisksOutput, error)
func (*Client) ListFirewallGroups ¶ added in v1.14.0
func (c *Client) ListFirewallGroups(ctx context.Context, params *ListFirewallGroupsInput, optFns ...func(*Options)) (*ListFirewallGroupsOutput, error)
func (*Client) ListLoadBalancers ¶ added in v1.14.0
func (c *Client) ListLoadBalancers(ctx context.Context, params *ListLoadBalancersInput, optFns ...func(*Options)) (*ListLoadBalancersOutput, error)
func (*Client) ListNodePools ¶ added in v1.14.0
func (c *Client) ListNodePools(ctx context.Context, params *ListNodePoolsInput, optFns ...func(*Options)) (*ListNodePoolsOutput, error)
func (*Client) ListSnapshots ¶ added in v1.14.0
func (c *Client) ListSnapshots(ctx context.Context, params *ListSnapshotsInput, optFns ...func(*Options)) (*ListSnapshotsOutput, error)
func (*Client) ListTags ¶ added in v1.18.0
func (c *Client) ListTags(ctx context.Context, params *ListTagsInput, optFns ...func(*Options)) (*ListTagsOutput, error)
func (*Client) RebootNode ¶ added in v1.19.0
func (c *Client) RebootNode(ctx context.Context, params *RebootNodeInput, optFns ...func(*Options)) (*RebootNodeOutput, error)
func (*Client) RestoreClusterFromSnapshot ¶ added in v1.14.0
func (c *Client) RestoreClusterFromSnapshot(ctx context.Context, params *RestoreClusterFromSnapshotInput, optFns ...func(*Options)) (*RestoreClusterFromSnapshotOutput, error)
func (*Client) RevokeFirewallGroup ¶ added in v1.14.0
func (c *Client) RevokeFirewallGroup(ctx context.Context, params *RevokeFirewallGroupInput, optFns ...func(*Options)) (*RevokeFirewallGroupOutput, error)
func (*Client) SetNodePoolSize ¶ added in v1.14.0
func (c *Client) SetNodePoolSize(ctx context.Context, params *SetNodePoolSizeInput, optFns ...func(*Options)) (*SetNodePoolSizeOutput, error)
func (*Client) UpdateCluster ¶ added in v1.14.0
func (c *Client) UpdateCluster(ctx context.Context, params *UpdateClusterInput, optFns ...func(*Options)) (*UpdateClusterOutput, error)
func (*Client) UpdateDisk ¶ added in v1.19.0
func (c *Client) UpdateDisk(ctx context.Context, params *UpdateDiskInput, optFns ...func(*Options)) (*UpdateDiskOutput, error)
func (*Client) UpdateFirewallGroup ¶ added in v1.14.0
func (c *Client) UpdateFirewallGroup(ctx context.Context, params *UpdateFirewallGroupInput, optFns ...func(*Options)) (*UpdateFirewallGroupOutput, error)
func (*Client) UpdateNodePool ¶ added in v1.18.0
func (c *Client) UpdateNodePool(ctx context.Context, params *UpdateNodePoolInput, optFns ...func(*Options)) (*UpdateNodePoolOutput, error)
func (*Client) UpdateSnapshot ¶ added in v1.14.0
func (c *Client) UpdateSnapshot(ctx context.Context, params *UpdateSnapshotInput, optFns ...func(*Options)) (*UpdateSnapshotOutput, error)
func (*Client) UpdateTags ¶ added in v1.18.0
func (c *Client) UpdateTags(ctx context.Context, params *UpdateTagsInput, optFns ...func(*Options)) (*UpdateTagsOutput, error)
type ClusterDeletedWaiter ¶ added in v1.14.0
type ClusterDeletedWaiter struct {
// contains filtered or unexported fields
}
ClusterDeletedWaiter defines the waiters for ClusterDeleted
func NewClusterDeletedWaiter ¶ added in v1.14.0
func NewClusterDeletedWaiter(client GetClusterAPIClient, optFns ...func(*ClusterDeletedWaiterOptions)) *ClusterDeletedWaiter
NewClusterDeletedWaiter constructs a ClusterDeletedWaiter.
func (*ClusterDeletedWaiter) Wait ¶ added in v1.14.0
func (w *ClusterDeletedWaiter) Wait(ctx context.Context, params *GetClusterInput, maxWaitDur time.Duration, optFns ...func(*ClusterDeletedWaiterOptions)) error
Wait calls the waiter function for ClusterDeleted waiter. The maxWaitDur is the maximum wait duration the waiter will wait. The maxWaitDur is required and must be greater than zero.
func (*ClusterDeletedWaiter) WaitForOutput ¶ added in v1.14.0
func (w *ClusterDeletedWaiter) WaitForOutput(ctx context.Context, params *GetClusterInput, maxWaitDur time.Duration, optFns ...func(*ClusterDeletedWaiterOptions)) (*GetClusterOutput, error)
WaitForOutput calls the waiter function for ClusterDeleted waiter and returns the output of the successful operation. The maxWaitDur is the maximum wait duration the waiter will wait. The maxWaitDur is required and must be greater than zero.
type ClusterDeletedWaiterOptions ¶ added in v1.14.0
type ClusterDeletedWaiterOptions struct { // Set of options to modify how an operation is invoked. These apply to all // operations invoked for this client. Use functional options on operation call to // modify this list for per operation behavior. APIOptions []func(*middleware.Stack) error // MinDelay is the minimum amount of time to delay between retries. If unset, // ClusterDeletedWaiter will use default minimum delay of 30 seconds. Note that // MinDelay must resolve to a value lesser than or equal to the MaxDelay. MinDelay time.Duration // MaxDelay is the maximum amount of time to delay between retries. If unset or // set to zero, ClusterDeletedWaiter will use default max delay of 120 seconds. // Note that MaxDelay must resolve to value greater than or equal to the MinDelay. MaxDelay time.Duration // LogWaitAttempts is used to enable logging for waiter retry attempts LogWaitAttempts bool // Retryable is function that can be used to override the service defined // waiter-behavior based on operation output, or returned error. This function is // used by the waiter to decide if a state is retryable or a terminal state. By // default service-modeled logic will populate this option. This option can thus be // used to define a custom waiter state with fall-back to service-modeled waiter // state mutators.The function returns an error in case of a failure state. In case // of retry state, this function returns a bool value of true and nil error, while // in case of success it returns a bool value of false and nil error. Retryable func(context.Context, *GetClusterInput, *GetClusterOutput, error) (bool, error) }
ClusterDeletedWaiterOptions are waiter options for ClusterDeletedWaiter
type ClusterRunningWaiter ¶ added in v1.14.0
type ClusterRunningWaiter struct {
// contains filtered or unexported fields
}
ClusterRunningWaiter defines the waiters for ClusterRunning
func NewClusterRunningWaiter ¶ added in v1.14.0
func NewClusterRunningWaiter(client GetClusterAPIClient, optFns ...func(*ClusterRunningWaiterOptions)) *ClusterRunningWaiter
NewClusterRunningWaiter constructs a ClusterRunningWaiter.
func (*ClusterRunningWaiter) Wait ¶ added in v1.14.0
func (w *ClusterRunningWaiter) Wait(ctx context.Context, params *GetClusterInput, maxWaitDur time.Duration, optFns ...func(*ClusterRunningWaiterOptions)) error
Wait calls the waiter function for ClusterRunning waiter. The maxWaitDur is the maximum wait duration the waiter will wait. The maxWaitDur is required and must be greater than zero.
func (*ClusterRunningWaiter) WaitForOutput ¶ added in v1.14.0
func (w *ClusterRunningWaiter) WaitForOutput(ctx context.Context, params *GetClusterInput, maxWaitDur time.Duration, optFns ...func(*ClusterRunningWaiterOptions)) (*GetClusterOutput, error)
WaitForOutput calls the waiter function for ClusterRunning waiter and returns the output of the successful operation. The maxWaitDur is the maximum wait duration the waiter will wait. The maxWaitDur is required and must be greater than zero.
type ClusterRunningWaiterOptions ¶ added in v1.14.0
type ClusterRunningWaiterOptions struct { // Set of options to modify how an operation is invoked. These apply to all // operations invoked for this client. Use functional options on operation call to // modify this list for per operation behavior. APIOptions []func(*middleware.Stack) error // MinDelay is the minimum amount of time to delay between retries. If unset, // ClusterRunningWaiter will use default minimum delay of 60 seconds. Note that // MinDelay must resolve to a value lesser than or equal to the MaxDelay. MinDelay time.Duration // MaxDelay is the maximum amount of time to delay between retries. If unset or // set to zero, ClusterRunningWaiter will use default max delay of 120 seconds. // Note that MaxDelay must resolve to value greater than or equal to the MinDelay. MaxDelay time.Duration // LogWaitAttempts is used to enable logging for waiter retry attempts LogWaitAttempts bool // Retryable is function that can be used to override the service defined // waiter-behavior based on operation output, or returned error. This function is // used by the waiter to decide if a state is retryable or a terminal state. By // default service-modeled logic will populate this option. This option can thus be // used to define a custom waiter state with fall-back to service-modeled waiter // state mutators.The function returns an error in case of a failure state. In case // of retry state, this function returns a bool value of true and nil error, while // in case of success it returns a bool value of false and nil error. Retryable func(context.Context, *GetClusterInput, *GetClusterOutput, error) (bool, error) }
ClusterRunningWaiterOptions are waiter options for ClusterRunningWaiter
type CreateClusterInput ¶
type CreateClusterInput struct { // This member is required. Cluster *types.RequestCluster // contains filtered or unexported fields }
type CreateClusterOutput ¶
type CreateClusterOutput struct { Cluster *types.Cluster // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type CreateDiskInput ¶ added in v1.19.0
type CreateDiskInput struct { // This member is required. Disk *types.RequestDisk // contains filtered or unexported fields }
type CreateDiskOutput ¶ added in v1.19.0
type CreateDiskOutput struct { Disk *types.DiskOfCreateDisk // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type CreateFirewallGroupInput ¶
type CreateFirewallGroupInput struct { // This member is required. FirewallGroup *types.RequestFirewallGroup // contains filtered or unexported fields }
type CreateFirewallGroupOutput ¶
type CreateFirewallGroupOutput struct { FirewallGroup *types.FirewallGroup // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type CreateNodePoolInput ¶
type CreateNodePoolInput struct { // This member is required. ClusterName *string // This member is required. NodePool *types.RequestNodePool // contains filtered or unexported fields }
type CreateNodePoolOutput ¶
type CreateNodePoolOutput struct { NodePool *types.NodePool // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type CreateSnapshotInput ¶
type CreateSnapshotInput struct { // This member is required. Snapshot *types.RequestSnapshot // contains filtered or unexported fields }
type CreateSnapshotOutput ¶
type CreateSnapshotOutput struct { Snapshot *types.SnapshotOfCreateSnapshot // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type CreateTagsInput ¶ added in v1.18.0
type CreateTagsInput struct { // This member is required. Tags []types.RequestTagsOfCreateTags // contains filtered or unexported fields }
type CreateTagsOutput ¶ added in v1.18.0
type CreateTagsOutput struct { Tags []types.TagsOfCreateTags // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteClusterInput ¶
type DeleteClusterInput struct { // This member is required. ClusterName *string // contains filtered or unexported fields }
type DeleteClusterOutput ¶
type DeleteClusterOutput struct { Cluster *types.Cluster // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteClustersInput ¶
type DeleteClustersInput struct { // This member is required. Names *string // contains filtered or unexported fields }
type DeleteClustersOutput ¶
type DeleteClustersOutput struct { Clusters []types.Clusters // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteDiskInput ¶ added in v1.19.0
type DeleteDiskInput struct { // This member is required. DiskName *string // contains filtered or unexported fields }
type DeleteDiskOutput ¶ added in v1.19.0
type DeleteDiskOutput struct { Disk *types.DiskOfDeleteDisk // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteDisksInput ¶ added in v1.19.0
type DeleteDisksInput struct { // This member is required. Names *string // contains filtered or unexported fields }
type DeleteDisksOutput ¶ added in v1.19.0
type DeleteDisksOutput struct { Disks []types.DisksOfDeleteDisks // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteFirewallGroupInput ¶
type DeleteFirewallGroupInput struct { // This member is required. FirewallGroupName *string // contains filtered or unexported fields }
type DeleteFirewallGroupOutput ¶
type DeleteFirewallGroupOutput struct { FirewallGroup *types.FirewallGroup // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteFirewallGroupsInput ¶
type DeleteFirewallGroupsInput struct { Names *string // contains filtered or unexported fields }
type DeleteFirewallGroupsOutput ¶
type DeleteFirewallGroupsOutput struct { FirewallGroups []types.FirewallGroups // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteNodePoolInput ¶
type DeleteNodePoolOutput ¶
type DeleteNodePoolOutput struct { NodePool *types.NodePool // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteNodePoolsInput ¶
type DeleteNodePoolsOutput ¶
type DeleteNodePoolsOutput struct { NodePools []types.NodePools // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteSnapshotInput ¶
type DeleteSnapshotInput struct { // This member is required. SnapshotName *string // contains filtered or unexported fields }
type DeleteSnapshotOutput ¶
type DeleteSnapshotOutput struct { Snapshot *types.SnapshotOfDeleteSnapshot // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteSnapshotsInput ¶
type DeleteSnapshotsInput struct { Names *string // contains filtered or unexported fields }
type DeleteSnapshotsOutput ¶
type DeleteSnapshotsOutput struct { Snapshots []types.SnapshotsOfDeleteSnapshots // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteTagsInput ¶ added in v1.18.0
type DeleteTagsInput struct { // This member is required. Ids *string // contains filtered or unexported fields }
type DeleteTagsOutput ¶ added in v1.18.0
type DeleteTagsOutput struct { Tags []types.TagsOfDeleteTags // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DetachDiskInput ¶ added in v1.19.0
type DetachDiskOutput ¶ added in v1.19.0
type DetachDiskOutput struct { Disk *types.DiskOfDetachDisk // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type EndpointParameters ¶ added in v1.22.1
type EndpointParameters struct { }
EndpointParameters provides the parameters that influence how endpoints are resolved.
type EndpointResolver ¶ added in v1.14.0
type EndpointResolver interface {
ResolveEndpoint(region string, options EndpointResolverOptions) (aws.Endpoint, error)
}
EndpointResolver interface for resolving service endpoints.
func EndpointResolverFromURL ¶ added in v1.14.0
func EndpointResolverFromURL(url string, optFns ...func(*aws.Endpoint)) EndpointResolver
EndpointResolverFromURL returns an EndpointResolver configured using the provided endpoint url. By default, the resolved endpoint resolver uses the client region as signing region, and the endpoint source is set to EndpointSourceCustom.You can provide functional options to configure endpoint values for the resolved endpoint.
type EndpointResolverFunc ¶ added in v1.14.0
type EndpointResolverFunc func(region string, options EndpointResolverOptions) (aws.Endpoint, error)
EndpointResolverFunc is a helper utility that wraps a function so it satisfies the EndpointResolver interface. This is useful when you want to add additional endpoint resolving logic, or stub out specific endpoints with custom values.
func (EndpointResolverFunc) ResolveEndpoint ¶ added in v1.14.0
func (fn EndpointResolverFunc) ResolveEndpoint(region string, options EndpointResolverOptions) (endpoint aws.Endpoint, err error)
type EndpointResolverOptions ¶ added in v1.14.0
type EndpointResolverOptions = internalendpoints.Options
EndpointResolverOptions is the service endpoint resolver options
type EndpointResolverV2 ¶ added in v1.22.1
type EndpointResolverV2 interface { // ResolveEndpoint attempts to resolve the endpoint with the provided options, // returning the endpoint if found. Otherwise an error is returned. ResolveEndpoint(ctx context.Context, params EndpointParameters) ( smithyendpoints.Endpoint, error, ) }
EndpointResolverV2 provides the interface for resolving service endpoints.
func NewDefaultEndpointResolverV2 ¶ added in v1.22.1
func NewDefaultEndpointResolverV2() EndpointResolverV2
type FirewallRuleAuthorizedWaiter ¶ added in v1.14.0
type FirewallRuleAuthorizedWaiter struct {
// contains filtered or unexported fields
}
FirewallRuleAuthorizedWaiter defines the waiters for FirewallRuleAuthorized
func NewFirewallRuleAuthorizedWaiter ¶ added in v1.14.0
func NewFirewallRuleAuthorizedWaiter(client GetFirewallGroupAPIClient, optFns ...func(*FirewallRuleAuthorizedWaiterOptions)) *FirewallRuleAuthorizedWaiter
NewFirewallRuleAuthorizedWaiter constructs a FirewallRuleAuthorizedWaiter.
func (*FirewallRuleAuthorizedWaiter) Wait ¶ added in v1.14.0
func (w *FirewallRuleAuthorizedWaiter) Wait(ctx context.Context, params *GetFirewallGroupInput, maxWaitDur time.Duration, optFns ...func(*FirewallRuleAuthorizedWaiterOptions)) error
Wait calls the waiter function for FirewallRuleAuthorized waiter. The maxWaitDur is the maximum wait duration the waiter will wait. The maxWaitDur is required and must be greater than zero.
func (*FirewallRuleAuthorizedWaiter) WaitForOutput ¶ added in v1.14.0
func (w *FirewallRuleAuthorizedWaiter) WaitForOutput(ctx context.Context, params *GetFirewallGroupInput, maxWaitDur time.Duration, optFns ...func(*FirewallRuleAuthorizedWaiterOptions)) (*GetFirewallGroupOutput, error)
WaitForOutput calls the waiter function for FirewallRuleAuthorized waiter and returns the output of the successful operation. The maxWaitDur is the maximum wait duration the waiter will wait. The maxWaitDur is required and must be greater than zero.
type FirewallRuleAuthorizedWaiterOptions ¶ added in v1.14.0
type FirewallRuleAuthorizedWaiterOptions struct { // Set of options to modify how an operation is invoked. These apply to all // operations invoked for this client. Use functional options on operation call to // modify this list for per operation behavior. APIOptions []func(*middleware.Stack) error // MinDelay is the minimum amount of time to delay between retries. If unset, // FirewallRuleAuthorizedWaiter will use default minimum delay of 20 seconds. Note // that MinDelay must resolve to a value lesser than or equal to the MaxDelay. MinDelay time.Duration // MaxDelay is the maximum amount of time to delay between retries. If unset or // set to zero, FirewallRuleAuthorizedWaiter will use default max delay of 120 // seconds. Note that MaxDelay must resolve to value greater than or equal to the // MinDelay. MaxDelay time.Duration // LogWaitAttempts is used to enable logging for waiter retry attempts LogWaitAttempts bool // Retryable is function that can be used to override the service defined // waiter-behavior based on operation output, or returned error. This function is // used by the waiter to decide if a state is retryable or a terminal state. By // default service-modeled logic will populate this option. This option can thus be // used to define a custom waiter state with fall-back to service-modeled waiter // state mutators.The function returns an error in case of a failure state. In case // of retry state, this function returns a bool value of true and nil error, while // in case of success it returns a bool value of false and nil error. Retryable func(context.Context, *GetFirewallGroupInput, *GetFirewallGroupOutput, error) (bool, error) }
FirewallRuleAuthorizedWaiterOptions are waiter options for FirewallRuleAuthorizedWaiter
type GetClusterAPIClient ¶ added in v1.14.0
type GetClusterAPIClient interface {
GetCluster(context.Context, *GetClusterInput, ...func(*Options)) (*GetClusterOutput, error)
}
GetClusterAPIClient is a client that implements the GetCluster operation.
type GetClusterCredentialsInput ¶
type GetClusterCredentialsInput struct { // This member is required. ClusterName *string // contains filtered or unexported fields }
type GetClusterCredentialsOutput ¶
type GetClusterCredentialsOutput struct { Credentials *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetClusterInput ¶
type GetClusterInput struct { // This member is required. ClusterName *string // contains filtered or unexported fields }
type GetClusterOutput ¶
type GetClusterOutput struct { Cluster *types.Cluster // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetDiskInput ¶ added in v1.19.0
type GetDiskInput struct { // This member is required. DiskName *string // contains filtered or unexported fields }
type GetDiskOutput ¶ added in v1.19.0
type GetDiskOutput struct { Disk *types.Disk // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetFirewallGroupAPIClient ¶ added in v1.14.0
type GetFirewallGroupAPIClient interface {
GetFirewallGroup(context.Context, *GetFirewallGroupInput, ...func(*Options)) (*GetFirewallGroupOutput, error)
}
GetFirewallGroupAPIClient is a client that implements the GetFirewallGroup operation.
type GetFirewallGroupInput ¶
type GetFirewallGroupInput struct { // This member is required. FirewallGroupName *string // contains filtered or unexported fields }
type GetFirewallGroupOutput ¶
type GetFirewallGroupOutput struct { FirewallGroup *types.FirewallGroup // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetLoadBalancerInput ¶ added in v1.9.0
type GetLoadBalancerOutput ¶ added in v1.9.0
type GetLoadBalancerOutput struct { LoadBalancers *types.LoadBalancers // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetNodePoolInput ¶
type GetNodePoolOutput ¶
type GetNodePoolOutput struct { NodePool *types.NodePool // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetServerConfigInput ¶
type GetServerConfigInput struct {
// contains filtered or unexported fields
}
type GetServerConfigOutput ¶
type GetServerConfigOutput struct { ServerConfig *types.ServerConfig // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetSnapshotAPIClient ¶ added in v1.14.0
type GetSnapshotAPIClient interface {
GetSnapshot(context.Context, *GetSnapshotInput, ...func(*Options)) (*GetSnapshotOutput, error)
}
GetSnapshotAPIClient is a client that implements the GetSnapshot operation.
type GetSnapshotInput ¶
type GetSnapshotInput struct { // This member is required. SnapshotName *string // contains filtered or unexported fields }
type GetSnapshotOutput ¶
type GetSnapshotOutput struct { Snapshot *types.Snapshot // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type HTTPClient ¶ added in v1.14.0
type HTTPSignerV4 ¶ added in v1.14.0
type ListClustersInput ¶
type ListClustersInput struct { Filters *string // contains filtered or unexported fields }
type ListClustersOutput ¶
type ListClustersOutput struct { Clusters []types.Clusters // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListDisksInput ¶ added in v1.19.0
type ListDisksInput struct { Filters *string // contains filtered or unexported fields }
type ListDisksOutput ¶ added in v1.19.0
type ListDisksOutput struct { Disks []types.Disks // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListFirewallGroupsInput ¶
type ListFirewallGroupsInput struct { Filters *string // contains filtered or unexported fields }
type ListFirewallGroupsOutput ¶
type ListFirewallGroupsOutput struct { FirewallGroups []types.FirewallGroups // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListLoadBalancersInput ¶ added in v1.9.0
type ListLoadBalancersInput struct {
// contains filtered or unexported fields
}
type ListLoadBalancersOutput ¶ added in v1.9.0
type ListLoadBalancersOutput struct { LoadBalancers []types.LoadBalancersOfListLoadBalancers // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListNodePoolsInput ¶
type ListNodePoolsOutput ¶
type ListNodePoolsOutput struct { NodePools []types.NodePools // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListSnapshotsInput ¶
type ListSnapshotsInput struct { Filters *string // contains filtered or unexported fields }
type ListSnapshotsOutput ¶
type ListSnapshotsOutput struct { Snapshots []types.Snapshots // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListTagsInput ¶ added in v1.18.0
type ListTagsInput struct { Nrn *string // contains filtered or unexported fields }
type ListTagsOutput ¶ added in v1.18.0
type ListTagsOutput struct { Tags []types.TagsOfListTags // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type Options ¶ added in v1.14.0
type Options struct { // Set of options to modify how an operation is invoked. These apply to all // operations invoked for this client. Use functional options on operation call to // modify this list for per operation behavior. APIOptions []func(*middleware.Stack) error // This endpoint will be given as input to an EndpointResolverV2. It is used for // providing a custom base endpoint that is subject to modifications by the // processing EndpointResolverV2. BaseEndpoint *string // Configures the events that will be sent to the configured logger. ClientLogMode aws.ClientLogMode // The credentials object to use when signing requests. Credentials aws.CredentialsProvider // The configuration DefaultsMode that the SDK should use when constructing the // clients initial default settings. DefaultsMode aws.DefaultsMode // The endpoint options to be used when attempting to resolve an endpoint. EndpointOptions EndpointResolverOptions // The service endpoint resolver. EndpointResolver EndpointResolver // Signature Version 4 (SigV4) Signer HTTPSignerV4 HTTPSignerV4 // The logger writer interface to write logging messages to. Logger logging.Logger // The region to send requests to. (Required) Region string // RetryMaxAttempts specifies the maximum number attempts an API client will call // an operation that fails with a retryable error. A value of 0 is ignored, and // will not be used to configure the API client created default retryer, or modify // per operation call's retry max attempts. When creating a new API Clients this // member will only be used if the Retryer Options member is nil. This value will // be ignored if Retryer is not nil. If specified in an operation call's functional // options with a value that is different than the constructed client's Options, // the Client's Retryer will be wrapped to use the operation's specific // RetryMaxAttempts value. RetryMaxAttempts int // RetryMode specifies the retry mode the API client will be created with, if // Retryer option is not also specified. When creating a new API Clients this // member will only be used if the Retryer Options member is nil. This value will // be ignored if Retryer is not nil. Currently does not support per operation call // overrides, may in the future. RetryMode aws.RetryMode // Retryer guides how HTTP requests should be retried in case of recoverable // failures. When nil the API client will use a default retryer. The kind of // default retry created by the API client can be changed with the RetryMode // option. Retryer aws.Retryer // The RuntimeEnvironment configuration, only populated if the DefaultsMode is set // to DefaultsModeAuto and is initialized using config.LoadDefaultConfig . You // should not populate this structure programmatically, or rely on the values here // within your applications. RuntimeEnvironment aws.RuntimeEnvironment // The HTTP client to invoke API calls with. Defaults to client's default HTTP // implementation if nil. HTTPClient HTTPClient // contains filtered or unexported fields }
type RebootNodeInput ¶ added in v1.19.0
type RebootNodeOutput ¶ added in v1.19.0
type RebootNodeOutput struct { Node *types.Node // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ResolveEndpoint ¶ added in v1.14.0
type ResolveEndpoint struct { Resolver EndpointResolver Options EndpointResolverOptions }
func (*ResolveEndpoint) HandleSerialize ¶ added in v1.14.0
func (m *ResolveEndpoint) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( out middleware.SerializeOutput, metadata middleware.Metadata, err error, )
func (*ResolveEndpoint) ID ¶ added in v1.14.0
func (*ResolveEndpoint) ID() string
type RestoreClusterFromSnapshotInput ¶
type RestoreClusterFromSnapshotInput struct { // This member is required. Cluster *types.RequestClusterOfRestoreClusterFromSnapshot // This member is required. SnapshotName *string // contains filtered or unexported fields }
type RestoreClusterFromSnapshotOutput ¶
type RestoreClusterFromSnapshotOutput struct { Cluster *types.Cluster // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type RevokeFirewallGroupOutput ¶
type RevokeFirewallGroupOutput struct { FirewallGroup *types.FirewallGroup // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type SetNodePoolSizeInput ¶
type SetNodePoolSizeOutput ¶
type SetNodePoolSizeOutput struct { NodePool *types.NodePool // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type SnapshotAvailableWaiter ¶ added in v1.14.0
type SnapshotAvailableWaiter struct {
// contains filtered or unexported fields
}
SnapshotAvailableWaiter defines the waiters for SnapshotAvailable
func NewSnapshotAvailableWaiter ¶ added in v1.14.0
func NewSnapshotAvailableWaiter(client GetSnapshotAPIClient, optFns ...func(*SnapshotAvailableWaiterOptions)) *SnapshotAvailableWaiter
NewSnapshotAvailableWaiter constructs a SnapshotAvailableWaiter.
func (*SnapshotAvailableWaiter) Wait ¶ added in v1.14.0
func (w *SnapshotAvailableWaiter) Wait(ctx context.Context, params *GetSnapshotInput, maxWaitDur time.Duration, optFns ...func(*SnapshotAvailableWaiterOptions)) error
Wait calls the waiter function for SnapshotAvailable waiter. The maxWaitDur is the maximum wait duration the waiter will wait. The maxWaitDur is required and must be greater than zero.
func (*SnapshotAvailableWaiter) WaitForOutput ¶ added in v1.14.0
func (w *SnapshotAvailableWaiter) WaitForOutput(ctx context.Context, params *GetSnapshotInput, maxWaitDur time.Duration, optFns ...func(*SnapshotAvailableWaiterOptions)) (*GetSnapshotOutput, error)
WaitForOutput calls the waiter function for SnapshotAvailable waiter and returns the output of the successful operation. The maxWaitDur is the maximum wait duration the waiter will wait. The maxWaitDur is required and must be greater than zero.
type SnapshotAvailableWaiterOptions ¶ added in v1.14.0
type SnapshotAvailableWaiterOptions struct { // Set of options to modify how an operation is invoked. These apply to all // operations invoked for this client. Use functional options on operation call to // modify this list for per operation behavior. APIOptions []func(*middleware.Stack) error // MinDelay is the minimum amount of time to delay between retries. If unset, // SnapshotAvailableWaiter will use default minimum delay of 20 seconds. Note that // MinDelay must resolve to a value lesser than or equal to the MaxDelay. MinDelay time.Duration // MaxDelay is the maximum amount of time to delay between retries. If unset or // set to zero, SnapshotAvailableWaiter will use default max delay of 120 seconds. // Note that MaxDelay must resolve to value greater than or equal to the MinDelay. MaxDelay time.Duration // LogWaitAttempts is used to enable logging for waiter retry attempts LogWaitAttempts bool // Retryable is function that can be used to override the service defined // waiter-behavior based on operation output, or returned error. This function is // used by the waiter to decide if a state is retryable or a terminal state. By // default service-modeled logic will populate this option. This option can thus be // used to define a custom waiter state with fall-back to service-modeled waiter // state mutators.The function returns an error in case of a failure state. In case // of retry state, this function returns a bool value of true and nil error, while // in case of success it returns a bool value of false and nil error. Retryable func(context.Context, *GetSnapshotInput, *GetSnapshotOutput, error) (bool, error) }
SnapshotAvailableWaiterOptions are waiter options for SnapshotAvailableWaiter
type UpdateClusterInput ¶
type UpdateClusterInput struct { // This member is required. ClusterName *string Cluster *types.RequestClusterOfUpdateCluster // contains filtered or unexported fields }
type UpdateClusterOutput ¶
type UpdateClusterOutput struct { Cluster *types.Cluster // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateDiskInput ¶ added in v1.19.0
type UpdateDiskInput struct { // This member is required. DiskName *string Disk *types.RequestDiskOfUpdateDisk // contains filtered or unexported fields }
type UpdateDiskOutput ¶ added in v1.19.0
type UpdateDiskOutput struct { Disk *types.DiskOfUpdateDisk // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateFirewallGroupInput ¶
type UpdateFirewallGroupInput struct { // This member is required. FirewallGroupName *string FirewallGroup *types.RequestFirewallGroupOfUpdateFirewallGroup // contains filtered or unexported fields }
type UpdateFirewallGroupOutput ¶
type UpdateFirewallGroupOutput struct { FirewallGroup *types.FirewallGroup // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateNodePoolInput ¶ added in v1.18.0
type UpdateNodePoolInput struct { // This member is required. ClusterName *string // This member is required. NodePoolName *string NodePool *types.RequestNodePoolOfUpdateNodePool // contains filtered or unexported fields }
type UpdateNodePoolOutput ¶ added in v1.18.0
type UpdateNodePoolOutput struct { NodePool *types.NodePool // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateSnapshotInput ¶
type UpdateSnapshotInput struct { // This member is required. SnapshotName *string Snapshot *types.RequestSnapshotOfUpdateSnapshot // contains filtered or unexported fields }
type UpdateSnapshotOutput ¶
type UpdateSnapshotOutput struct { Snapshot *types.SnapshotOfUpdateSnapshot // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateTagsInput ¶ added in v1.18.0
type UpdateTagsInput struct { // This member is required. Tags []types.RequestTagsOfUpdateTags // contains filtered or unexported fields }
type UpdateTagsOutput ¶ added in v1.18.0
type UpdateTagsOutput struct { Tags []types.TagsOfUpdateTags // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
Source Files ¶
- api_client.go
- api_op_AttachDisk.go
- api_op_AuthorizeFirewallGroup.go
- api_op_CreateCluster.go
- api_op_CreateDisk.go
- api_op_CreateFirewallGroup.go
- api_op_CreateNodePool.go
- api_op_CreateSnapshot.go
- api_op_CreateTags.go
- api_op_DeleteCluster.go
- api_op_DeleteClusters.go
- api_op_DeleteDisk.go
- api_op_DeleteDisks.go
- api_op_DeleteFirewallGroup.go
- api_op_DeleteFirewallGroups.go
- api_op_DeleteNodePool.go
- api_op_DeleteNodePools.go
- api_op_DeleteSnapshot.go
- api_op_DeleteSnapshots.go
- api_op_DeleteTags.go
- api_op_DetachDisk.go
- api_op_GetCluster.go
- api_op_GetClusterCredentials.go
- api_op_GetDisk.go
- api_op_GetFirewallGroup.go
- api_op_GetLoadBalancer.go
- api_op_GetNodePool.go
- api_op_GetServerConfig.go
- api_op_GetSnapshot.go
- api_op_ListClusters.go
- api_op_ListDisks.go
- api_op_ListFirewallGroups.go
- api_op_ListLoadBalancers.go
- api_op_ListNodePools.go
- api_op_ListSnapshots.go
- api_op_ListTags.go
- api_op_RebootNode.go
- api_op_RestoreClusterFromSnapshot.go
- api_op_RevokeFirewallGroup.go
- api_op_SetNodePoolSize.go
- api_op_UpdateCluster.go
- api_op_UpdateDisk.go
- api_op_UpdateFirewallGroup.go
- api_op_UpdateNodePool.go
- api_op_UpdateSnapshot.go
- api_op_UpdateTags.go
- deserializers.go
- doc.go
- endpoints.go
- serializers.go
- validators.go