Documentation
¶
Index ¶
- type SshKeysRequestBuilder
- type WithSsh_key_ItemRequestBuilder
- func (m *WithSsh_key_ItemRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *WithSsh_key_ItemRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *WithSsh_key_ItemRequestBuilder) Patch(ctx context.Context, ...) (...)
- func (m *WithSsh_key_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *WithSsh_key_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *WithSsh_key_ItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, ...) (...)
- func (m *WithSsh_key_ItemRequestBuilder) WithUrl(rawUrl string) *WithSsh_key_ItemRequestBuilder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SshKeysRequestBuilder ¶
type SshKeysRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
SshKeysRequestBuilder builds and executes requests for operations under \ssh-keys
func NewSshKeysRequestBuilder ¶
func NewSshKeysRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *SshKeysRequestBuilder
NewSshKeysRequestBuilder instantiates a new SshKeysRequestBuilder and sets the default values.
func NewSshKeysRequestBuilderInternal ¶
func NewSshKeysRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *SshKeysRequestBuilder
NewSshKeysRequestBuilderInternal instantiates a new SshKeysRequestBuilder and sets the default values.
func (*SshKeysRequestBuilder) BySsh_key_id ¶
func (m *SshKeysRequestBuilder) BySsh_key_id(ssh_key_id string) *WithSsh_key_ItemRequestBuilder
BySsh_key_id gets an item from the github.com/hashicorp/go-tfe/v2/api.sshKeys.item collection returns a *WithSsh_key_ItemRequestBuilder when successful
type WithSsh_key_ItemRequestBuilder ¶
type WithSsh_key_ItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
WithSsh_key_ItemRequestBuilder builds and executes requests for operations under \ssh-keys\{ssh_key_id}
func NewWithSsh_key_ItemRequestBuilder ¶
func NewWithSsh_key_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *WithSsh_key_ItemRequestBuilder
NewWithSsh_key_ItemRequestBuilder instantiates a new WithSsh_key_ItemRequestBuilder and sets the default values.
func NewWithSsh_key_ItemRequestBuilderInternal ¶
func NewWithSsh_key_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *WithSsh_key_ItemRequestBuilder
NewWithSsh_key_ItemRequestBuilderInternal instantiates a new WithSsh_key_ItemRequestBuilder and sets the default values.
func (*WithSsh_key_ItemRequestBuilder) Delete ¶
func (m *WithSsh_key_ItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Delete delete an SSH key. returns a Errors error when the service returns a 404 status code
func (*WithSsh_key_ItemRequestBuilder) Get ¶
func (m *WithSsh_key_ItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (i05d5aa6b14db285c2e8df48c915f7a7082b77b17cca0def522e18528f80bec16.SshKeysEnvelopeable, error)
Get retrieve the details of a single SSH key. returns a SshKeysEnvelopeable when successful returns a Errors error when the service returns a 404 status code
func (*WithSsh_key_ItemRequestBuilder) Patch ¶
func (m *WithSsh_key_ItemRequestBuilder) Patch(ctx context.Context, body i05d5aa6b14db285c2e8df48c915f7a7082b77b17cca0def522e18528f80bec16.SshKeysEnvelopeable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (i05d5aa6b14db285c2e8df48c915f7a7082b77b17cca0def522e18528f80bec16.SshKeysEnvelopeable, error)
Patch update the name of an SSH key. returns a SshKeysEnvelopeable when successful returns a Errors error when the service returns a 404 status code returns a Errors error when the service returns a 422 status code
func (*WithSsh_key_ItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *WithSsh_key_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation delete an SSH key. returns a *RequestInformation when successful
func (*WithSsh_key_ItemRequestBuilder) ToGetRequestInformation ¶
func (m *WithSsh_key_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation retrieve the details of a single SSH key. returns a *RequestInformation when successful
func (*WithSsh_key_ItemRequestBuilder) ToPatchRequestInformation ¶
func (m *WithSsh_key_ItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body i05d5aa6b14db285c2e8df48c915f7a7082b77b17cca0def522e18528f80bec16.SshKeysEnvelopeable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPatchRequestInformation update the name of an SSH key. returns a *RequestInformation when successful
func (*WithSsh_key_ItemRequestBuilder) WithUrl ¶
func (m *WithSsh_key_ItemRequestBuilder) WithUrl(rawUrl string) *WithSsh_key_ItemRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *WithSsh_key_ItemRequestBuilder when successful