Documentation ¶
Index ¶
- Variables
- type AWSOIDCAccount
- type Client
- func (c *Client) CreateAWSOIDCAccount(ctx context.Context, account AWSOIDCAccount) (res *AWSOIDCAccount, err error)
- func (c *Client) CreateServiceAccountOIDCIdentity(ctx context.Context, identity OIDCIdentity) (res CreateServiceAccountOIDCIdentityResponse, err error)
- func (c *Client) DeleteAWSOIDCAccount(ctx context.Context, spaceID, accountID string) error
- func (c *Client) DeleteServiceAccountOIDCIdentity(ctx context.Context, serviceAccountID, identityID string) (res DeleteServiceAccountOIDCIdentityResponse, err error)
- func (c *Client) GetAWSOIDCAccount(ctx context.Context, spaceID, accountID string) (res *AWSOIDCAccount, err error)
- func (c *Client) GetServiceAccountOIDCIdentity(ctx context.Context, serviceAccountID, identityID string) (res GetServiceAccountOIDCIdentityResponse, err error)
- func (c *Client) ListServiceAccountOIDCIdentites(ctx context.Context, serviceAccountID string, skip, take int) (res ListServiceAccountOIDCIdentitesResponse, err error)
- func (c *Client) UpdateAWSOIDCAccount(ctx context.Context, account AWSOIDCAccount) (res *AWSOIDCAccount, err error)
- func (c *Client) UpdateServiceAccountOIDCIdentity(ctx context.Context, identity OIDCIdentity) (res UpdateServiceAccountOIDCIdentityResponse, err error)
- type CreateServiceAccountOIDCIdentityResponse
- type DeleteServiceAccountOIDCIdentityResponse
- type GetServiceAccountOIDCIdentityResponse
- type ListServiceAccountOIDCIdentitesResponse
- type OIDCIdentity
- type UpdateServiceAccountOIDCIdentityResponse
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrUnrecognisedResponse = errors.New("unrecognised response")
)
Functions ¶
This section is empty.
Types ¶
type AWSOIDCAccount ¶ added in v0.0.5
type AWSOIDCAccount struct { SpaceID string `json:"SpaceId,omitempty"` ID string `json:"Id,omitempty"` Slug string `json:"Slug,omitempty"` Name string `json:"Name"` Description string `json:"Description"` TenantedDeploymentParticipation string `json:"TenantedDeploymentParticipation"` AccountType string `json:"AccountType"` RoleARN string `json:"RoleArn"` SessionDuration string `json:"SessionDuration"` EnvironmentIDs []string `json:"EnvironmentIds"` TenantIDs []string `json:"TenantIds"` TenantTags []string `json:"TenantTags"` DeploymentSubjectKeys []string `json:"DeploymentSubjectKeys"` HealthCheckSubjectKeys []string `json:"HealthCheckSubjectKeys"` AccountTestSubjectKeys []string `json:"AccountTestSubjectKeys"` }
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) CreateAWSOIDCAccount ¶ added in v0.0.5
func (c *Client) CreateAWSOIDCAccount(ctx context.Context, account AWSOIDCAccount) (res *AWSOIDCAccount, err error)
func (*Client) CreateServiceAccountOIDCIdentity ¶
func (c *Client) CreateServiceAccountOIDCIdentity(ctx context.Context, identity OIDCIdentity) (res CreateServiceAccountOIDCIdentityResponse, err error)
func (*Client) DeleteAWSOIDCAccount ¶ added in v0.0.5
func (*Client) DeleteServiceAccountOIDCIdentity ¶
func (*Client) GetAWSOIDCAccount ¶ added in v0.0.5
func (*Client) GetServiceAccountOIDCIdentity ¶
func (*Client) ListServiceAccountOIDCIdentites ¶
func (*Client) UpdateAWSOIDCAccount ¶ added in v0.0.5
func (c *Client) UpdateAWSOIDCAccount(ctx context.Context, account AWSOIDCAccount) (res *AWSOIDCAccount, err error)
func (*Client) UpdateServiceAccountOIDCIdentity ¶
func (c *Client) UpdateServiceAccountOIDCIdentity(ctx context.Context, identity OIDCIdentity) (res UpdateServiceAccountOIDCIdentityResponse, err error)
type CreateServiceAccountOIDCIdentityResponse ¶
type CreateServiceAccountOIDCIdentityResponse struct {
ID string `json:"Id"`
}
type DeleteServiceAccountOIDCIdentityResponse ¶
type DeleteServiceAccountOIDCIdentityResponse struct{}
type GetServiceAccountOIDCIdentityResponse ¶
type GetServiceAccountOIDCIdentityResponse OIDCIdentity
type ListServiceAccountOIDCIdentitesResponse ¶
type ListServiceAccountOIDCIdentitesResponse struct { ServerURL string `json:"ServerUrl"` ExternalID string `json:"ExternalId"` Count int64 `json:"Count"` OIDCIdentities []OIDCIdentity `json:"OidcIdentities"` }
type OIDCIdentity ¶
type UpdateServiceAccountOIDCIdentityResponse ¶
type UpdateServiceAccountOIDCIdentityResponse struct{}
Click to show internal directories.
Click to hide internal directories.