gcp

package
v1.371.0 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2024 License: Apache-2.0 Imports: 8 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ReadServiceAccountsInput

type ReadServiceAccountsInput struct {
	AccountId *string `json:"accountId,omitempty"`
}

type ReadServiceAccountsOutput

type ReadServiceAccountsOutput struct {
	ServiceAccounts *ServiceAccounts `json:"serviceAccount,omitempty"`
}

type Service

type Service interface {
	// contains filtered or unexported methods
}

Service provides the API operation methods for making requests to endpoints of the Spotinst API. See this package's package overview docs for details on the service.

type ServiceAccounts

type ServiceAccounts struct {
	AccountId               *string `json:"accountId,omitempty"`
	Type                    *string `json:"type,omitempty"`
	ProjectId               *string `json:"project_id,omitempty"`
	PrivateKeyId            *string `json:"private_key_id,omitempty"`
	PrivateKey              *string `json:"private_key,omitempty"`
	ClientEmail             *string `json:"client_email,omitempty"`
	ClientId                *string `json:"client_id,omitempty"`
	AuthUri                 *string `json:"auth_uri,omitempty"`
	TokenUri                *string `json:"token_uri,omitempty"`
	AuthProviderX509CertUrl *string `json:"auth_provider_x509_cert_url,omitempty"`
	ClientX509CertUrl       *string `json:"client_x509_cert_url,omitempty"`
	// contains filtered or unexported fields
}

func (ServiceAccounts) MarshalJSON

func (o ServiceAccounts) MarshalJSON() ([]byte, error)

func (*ServiceAccounts) SetAccountId

func (o *ServiceAccounts) SetAccountId(v *string) *ServiceAccounts

func (*ServiceAccounts) SetAuthProviderX509CertUrl

func (o *ServiceAccounts) SetAuthProviderX509CertUrl(v *string) *ServiceAccounts

func (*ServiceAccounts) SetAuthUri

func (o *ServiceAccounts) SetAuthUri(v *string) *ServiceAccounts

func (*ServiceAccounts) SetClientEmail

func (o *ServiceAccounts) SetClientEmail(v *string) *ServiceAccounts

func (*ServiceAccounts) SetClientId

func (o *ServiceAccounts) SetClientId(v *string) *ServiceAccounts

func (*ServiceAccounts) SetClientX509CertUrl

func (o *ServiceAccounts) SetClientX509CertUrl(v *string) *ServiceAccounts

func (*ServiceAccounts) SetPrivateKey

func (o *ServiceAccounts) SetPrivateKey(v *string) *ServiceAccounts

func (*ServiceAccounts) SetPrivateKeyId

func (o *ServiceAccounts) SetPrivateKeyId(v *string) *ServiceAccounts

func (*ServiceAccounts) SetProjectId

func (o *ServiceAccounts) SetProjectId(v *string) *ServiceAccounts

func (*ServiceAccounts) SetTokenUri

func (o *ServiceAccounts) SetTokenUri(v *string) *ServiceAccounts

func (*ServiceAccounts) SetType

func (o *ServiceAccounts) SetType(v *string) *ServiceAccounts

type ServiceOp

type ServiceOp struct {
	Client *client.Client
}

func New

func New(sess *session.Session, cfgs ...*spotinst.Config) *ServiceOp

func (*ServiceOp) ReadServiceAccount

func (s *ServiceOp) ReadServiceAccount(ctx context.Context, input *ReadServiceAccountsInput) (*ReadServiceAccountsOutput, error)

func (*ServiceOp) SetServiceAccount

func (s *ServiceOp) SetServiceAccount(ctx context.Context, input *SetServiceAccountsInput) (*SetServiceAccountsOutput, error)

type SetServiceAccountsInput

type SetServiceAccountsInput struct {
	ServiceAccounts *ServiceAccounts `json:"serviceAccount,omitempty"`
}

type SetServiceAccountsOutput

type SetServiceAccountsOutput struct {
	ServiceAccounts *ServiceAccounts `json:"serviceAccount,omitempty"`
}

Jump to

Keyboard shortcuts

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