Documentation
¶
Index ¶
- type Action
- type AnyRegion
- func (a *AnyRegion) GetActive() bool
- func (a *AnyRegion) GetAgentID() string
- func (a *AnyRegion) GetBaseURL() string
- func (a *AnyRegion) GetCapabilities() RegionCapability
- func (a *AnyRegion) GetClientID() *string
- func (a *AnyRegion) GetCreatedAt() string
- func (a *AnyRegion) GetCreator() *User
- func (a *AnyRegion) GetCreatorID() *string
- func (a *AnyRegion) GetID() string
- func (a *AnyRegion) GetLastPing() *time.Time
- func (a *AnyRegion) GetName() string
- func (a *AnyRegion) GetOrganizationID() *string
- func (a *AnyRegion) GetOutdated() bool
- func (a *AnyRegion) GetProduction() *bool
- func (a *AnyRegion) GetPublic() bool
- func (a *AnyRegion) GetSecret() *PrivateRegionSecret
- func (a *AnyRegion) GetVersion() *string
- func (a AnyRegion) MarshalJSON() ([]byte, error)
- func (a *AnyRegion) UnmarshalJSON(data []byte) error
- type Application
- func (a *Application) GetAlias() string
- func (a *Application) GetCreatedAt() time.Time
- func (a *Application) GetDescription() *string
- func (a *Application) GetID() string
- func (a *Application) GetName() string
- func (a *Application) GetURL() string
- func (a *Application) GetUpdatedAt() time.Time
- func (a Application) MarshalJSON() ([]byte, error)
- func (a *Application) UnmarshalJSON(data []byte) error
- type ApplicationData
- type ApplicationWithScope
- func (a *ApplicationWithScope) GetAlias() string
- func (a *ApplicationWithScope) GetCreatedAt() time.Time
- func (a *ApplicationWithScope) GetDescription() *string
- func (a *ApplicationWithScope) GetID() string
- func (a *ApplicationWithScope) GetName() string
- func (a *ApplicationWithScope) GetScopes() []Scope
- func (a *ApplicationWithScope) GetURL() string
- func (a *ApplicationWithScope) GetUpdatedAt() time.Time
- func (a ApplicationWithScope) MarshalJSON() ([]byte, error)
- func (a *ApplicationWithScope) UnmarshalJSON(data []byte) error
- type AuthenticationProviderResponse
- type AuthenticationProviderResponseGithubIDPConfig
- func (a *AuthenticationProviderResponseGithubIDPConfig) GetClientID() string
- func (a *AuthenticationProviderResponseGithubIDPConfig) GetClientSecret() string
- func (a *AuthenticationProviderResponseGithubIDPConfig) GetConfig() AuthenticationProviderResponseGithubIDPConfigConfig
- func (a *AuthenticationProviderResponseGithubIDPConfig) GetCreatedAt() time.Time
- func (a *AuthenticationProviderResponseGithubIDPConfig) GetName() string
- func (a *AuthenticationProviderResponseGithubIDPConfig) GetOrganizationID() string
- func (a *AuthenticationProviderResponseGithubIDPConfig) GetRedirectURI() string
- func (a *AuthenticationProviderResponseGithubIDPConfig) GetType() AuthenticationProviderResponseGithubIDPConfigType
- func (a *AuthenticationProviderResponseGithubIDPConfig) GetUpdatedAt() time.Time
- func (a AuthenticationProviderResponseGithubIDPConfig) MarshalJSON() ([]byte, error)
- func (a *AuthenticationProviderResponseGithubIDPConfig) UnmarshalJSON(data []byte) error
- type AuthenticationProviderResponseGithubIDPConfigConfig
- type AuthenticationProviderResponseGithubIDPConfigType
- type AuthenticationProviderResponseGoogleIDPConfig
- func (a *AuthenticationProviderResponseGoogleIDPConfig) GetClientID() string
- func (a *AuthenticationProviderResponseGoogleIDPConfig) GetClientSecret() string
- func (a *AuthenticationProviderResponseGoogleIDPConfig) GetConfig() AuthenticationProviderResponseGoogleIDPConfigConfig
- func (a *AuthenticationProviderResponseGoogleIDPConfig) GetCreatedAt() time.Time
- func (a *AuthenticationProviderResponseGoogleIDPConfig) GetName() string
- func (a *AuthenticationProviderResponseGoogleIDPConfig) GetOrganizationID() string
- func (a *AuthenticationProviderResponseGoogleIDPConfig) GetRedirectURI() string
- func (a *AuthenticationProviderResponseGoogleIDPConfig) GetType() AuthenticationProviderResponseGoogleIDPConfigType
- func (a *AuthenticationProviderResponseGoogleIDPConfig) GetUpdatedAt() time.Time
- func (a AuthenticationProviderResponseGoogleIDPConfig) MarshalJSON() ([]byte, error)
- func (a *AuthenticationProviderResponseGoogleIDPConfig) UnmarshalJSON(data []byte) error
- type AuthenticationProviderResponseGoogleIDPConfigConfig
- type AuthenticationProviderResponseGoogleIDPConfigType
- type AuthenticationProviderResponseMicrosoftIDPConfig
- func (a *AuthenticationProviderResponseMicrosoftIDPConfig) GetClientID() string
- func (a *AuthenticationProviderResponseMicrosoftIDPConfig) GetClientSecret() string
- func (a *AuthenticationProviderResponseMicrosoftIDPConfig) GetConfig() AuthenticationProviderResponseMicrosoftIDPConfigConfig
- func (a *AuthenticationProviderResponseMicrosoftIDPConfig) GetCreatedAt() time.Time
- func (a *AuthenticationProviderResponseMicrosoftIDPConfig) GetName() string
- func (a *AuthenticationProviderResponseMicrosoftIDPConfig) GetOrganizationID() string
- func (a *AuthenticationProviderResponseMicrosoftIDPConfig) GetRedirectURI() string
- func (a *AuthenticationProviderResponseMicrosoftIDPConfig) GetType() AuthenticationProviderResponseMicrosoftIDPConfigType
- func (a *AuthenticationProviderResponseMicrosoftIDPConfig) GetUpdatedAt() time.Time
- func (a AuthenticationProviderResponseMicrosoftIDPConfig) MarshalJSON() ([]byte, error)
- func (a *AuthenticationProviderResponseMicrosoftIDPConfig) UnmarshalJSON(data []byte) error
- type AuthenticationProviderResponseMicrosoftIDPConfigConfig
- type AuthenticationProviderResponseMicrosoftIDPConfigType
- type AuthenticationProviderResponseOIDCConfig
- func (a *AuthenticationProviderResponseOIDCConfig) GetClientID() string
- func (a *AuthenticationProviderResponseOIDCConfig) GetClientSecret() string
- func (a *AuthenticationProviderResponseOIDCConfig) GetConfig() AuthenticationProviderResponseOIDCConfigConfig
- func (a *AuthenticationProviderResponseOIDCConfig) GetCreatedAt() time.Time
- func (a *AuthenticationProviderResponseOIDCConfig) GetName() string
- func (a *AuthenticationProviderResponseOIDCConfig) GetOrganizationID() string
- func (a *AuthenticationProviderResponseOIDCConfig) GetRedirectURI() string
- func (a *AuthenticationProviderResponseOIDCConfig) GetType() AuthenticationProviderResponseOIDCConfigType
- func (a *AuthenticationProviderResponseOIDCConfig) GetUpdatedAt() time.Time
- func (a AuthenticationProviderResponseOIDCConfig) MarshalJSON() ([]byte, error)
- func (a *AuthenticationProviderResponseOIDCConfig) UnmarshalJSON(data []byte) error
- type AuthenticationProviderResponseOIDCConfigConfig
- func (a *AuthenticationProviderResponseOIDCConfigConfig) GetDiscoveryPath() *string
- func (a *AuthenticationProviderResponseOIDCConfigConfig) GetIssuer() string
- func (a AuthenticationProviderResponseOIDCConfigConfig) MarshalJSON() ([]byte, error)
- func (a *AuthenticationProviderResponseOIDCConfigConfig) UnmarshalJSON(data []byte) error
- type AuthenticationProviderResponseOIDCConfigType
- type Capability
- type ClusterStatus
- type CreateApplicationResponse
- type CreateApplicationScopeRequest
- type CreateApplicationScopeResponse
- type CreateClientResponseResponse
- type CreateClientResponseResponseData
- func (c *CreateClientResponseResponseData) GetCreatedAt() time.Time
- func (c *CreateClientResponseResponseData) GetDescription() string
- func (c *CreateClientResponseResponseData) GetID() string
- func (c *CreateClientResponseResponseData) GetName() string
- func (c *CreateClientResponseResponseData) GetOwnerID() string
- func (c *CreateClientResponseResponseData) GetSecret() CreateClientResponseResponseSecret
- func (c *CreateClientResponseResponseData) GetUpdatedAt() time.Time
- func (c CreateClientResponseResponseData) MarshalJSON() ([]byte, error)
- func (c *CreateClientResponseResponseData) UnmarshalJSON(data []byte) error
- type CreateClientResponseResponseSecret
- type CreateInvitationResponse
- type CreateOrganizationClientRequest
- type CreateOrganizationClientResponse
- type CreateOrganizationRequest
- type CreateOrganizationResponse
- type CreatePolicyRequest
- type CreatePolicyResponse
- type CreatePrivateRegionRequest
- type CreateStackRequest
- func (c *CreateStackRequest) GetMetadata() map[string]string
- func (c *CreateStackRequest) GetName() string
- func (c *CreateStackRequest) GetRegionID() string
- func (c *CreateStackRequest) GetVersion() *string
- func (c CreateStackRequest) MarshalJSON() ([]byte, error)
- func (c *CreateStackRequest) UnmarshalJSON(data []byte) error
- type CreateUserRequest
- type CreateUserResponse
- type CreatedPrivateRegionResponse
- type Cursor
- type Data
- type DataType
- type EnableApplicationForOrganizationResponse
- type Error
- type ExpectedStatus
- type GetApplicationResponse
- type GetRegionResponse
- type GetRegionVersionsResponse
- type HTTPMetadata
- type Invitation
- func (i *Invitation) GetCreationDate() time.Time
- func (i *Invitation) GetCreatorID() *string
- func (i *Invitation) GetExpiresAt() *time.Time
- func (i *Invitation) GetID() string
- func (i *Invitation) GetLastUpdate() *time.Time
- func (i *Invitation) GetOrganizationAccess() *OrganizationAccess
- func (i *Invitation) GetOrganizationID() string
- func (i *Invitation) GetStatus() InvitationStatus
- func (i *Invitation) GetUpdatedAt() *string
- func (i *Invitation) GetUserEmail() string
- func (i *Invitation) GetUserID() *string
- func (i Invitation) MarshalJSON() ([]byte, error)
- func (i *Invitation) UnmarshalJSON(data []byte) error
- type InvitationStatus
- type ListApplicationsResponse
- type ListInvitationsResponse
- type ListModulesResponse
- type ListOrganizationExpandedResponse
- type ListPoliciesResponse
- type ListRegionsResponse
- type ListStacksResponse
- type ListUsersResponse
- type Log
- type LogCursor
- type LogCursorData
- type LogData
- type Module
- func (m *Module) GetClusterStatus() *ClusterStatus
- func (m *Module) GetLastStateUpdate() time.Time
- func (m *Module) GetLastStatusUpdate() time.Time
- func (m *Module) GetName() string
- func (m *Module) GetState() ModuleState
- func (m *Module) GetStatus() ModuleStatus
- func (m Module) MarshalJSON() ([]byte, error)
- func (m *Module) UnmarshalJSON(data []byte) error
- type ModuleState
- type ModuleStatus
- type OrganizationAccess
- type OrganizationApplication
- func (o *OrganizationApplication) GetApplicationID() string
- func (o *OrganizationApplication) GetCreatedAt() time.Time
- func (o *OrganizationApplication) GetOrganizationID() string
- func (o OrganizationApplication) MarshalJSON() ([]byte, error)
- func (o *OrganizationApplication) UnmarshalJSON(data []byte) error
- type OrganizationClient
- func (o *OrganizationClient) GetCreatedAt() time.Time
- func (o *OrganizationClient) GetDescription() string
- func (o *OrganizationClient) GetID() string
- func (o *OrganizationClient) GetName() string
- func (o *OrganizationClient) GetSecret() OrganizationClientSecret
- func (o *OrganizationClient) GetUpdatedAt() time.Time
- func (o OrganizationClient) MarshalJSON() ([]byte, error)
- func (o *OrganizationClient) UnmarshalJSON(data []byte) error
- type OrganizationClientSecret
- type OrganizationData
- type OrganizationExpanded
- func (o *OrganizationExpanded) GetAvailableSandboxes() *int64
- func (o *OrganizationExpanded) GetAvailableStacks() *int64
- func (o *OrganizationExpanded) GetCreatedAt() *time.Time
- func (o *OrganizationExpanded) GetDefaultPolicyID() *int64
- func (o *OrganizationExpanded) GetDomain() *string
- func (o *OrganizationExpanded) GetID() string
- func (o *OrganizationExpanded) GetName() string
- func (o *OrganizationExpanded) GetOwner() *User
- func (o *OrganizationExpanded) GetOwnerID() string
- func (o *OrganizationExpanded) GetTotalStacks() *int64
- func (o *OrganizationExpanded) GetTotalUsers() *int64
- func (o *OrganizationExpanded) GetUpdatedAt() *time.Time
- func (o OrganizationExpanded) MarshalJSON() ([]byte, error)
- func (o *OrganizationExpanded) UnmarshalJSON(data []byte) error
- type OrganizationFeature
- type OrganizationUser
- type Policy
- func (p *Policy) GetCreatedAt() time.Time
- func (p *Policy) GetDescription() *string
- func (p *Policy) GetID() int64
- func (p *Policy) GetName() string
- func (p *Policy) GetOrganizationID() *string
- func (p *Policy) GetProtected() bool
- func (p *Policy) GetScopes() []Scope
- func (p *Policy) GetUpdatedAt() time.Time
- func (p Policy) MarshalJSON() ([]byte, error)
- func (p *Policy) UnmarshalJSON(data []byte) error
- type PrivateRegion
- func (p *PrivateRegion) GetActive() bool
- func (p *PrivateRegion) GetAgentID() string
- func (p *PrivateRegion) GetBaseURL() string
- func (p *PrivateRegion) GetCapabilities() RegionCapability
- func (p *PrivateRegion) GetCreatedAt() string
- func (p *PrivateRegion) GetCreatorID() *string
- func (p *PrivateRegion) GetCreatorId1() string
- func (p *PrivateRegion) GetID() string
- func (p *PrivateRegion) GetLastPing() *time.Time
- func (p *PrivateRegion) GetName() string
- func (p *PrivateRegion) GetOrganizationID() string
- func (p *PrivateRegion) GetOutdated() bool
- func (p *PrivateRegion) GetSecret() *PrivateRegionSecret
- func (p *PrivateRegion) GetVersion() *string
- func (p PrivateRegion) MarshalJSON() ([]byte, error)
- func (p *PrivateRegion) UnmarshalJSON(data []byte) error
- type PrivateRegionSecret
- type ReadOrganizationClientResponse
- type ReadOrganizationClientsResponse
- type ReadOrganizationClientsResponseData
- func (r *ReadOrganizationClientsResponseData) GetData() []OrganizationClient
- func (r *ReadOrganizationClientsResponseData) GetHasMore() bool
- func (r *ReadOrganizationClientsResponseData) GetNext() *string
- func (r *ReadOrganizationClientsResponseData) GetPageSize() int64
- func (r *ReadOrganizationClientsResponseData) GetPrevious() *string
- type ReadOrganizationResponse
- type ReadOrganizationUserResponse
- type ReadOrganizationUserResponseData
- type ReadPolicyResponse
- type ReadStackResponse
- type ReadStackUserAccess
- type ReadStackUserAccessData
- type ReadUserResponse
- type Region
- func (r *Region) GetActive() bool
- func (r *Region) GetAgentID() string
- func (r *Region) GetBaseURL() string
- func (r *Region) GetCapabilities() RegionCapability
- func (r *Region) GetCreatedAt() string
- func (r *Region) GetCreatorID() *string
- func (r *Region) GetID() string
- func (r *Region) GetLastPing() *time.Time
- func (r *Region) GetName() string
- func (r *Region) GetOutdated() bool
- func (r *Region) GetVersion() *string
- func (r Region) MarshalJSON() ([]byte, error)
- func (r *Region) UnmarshalJSON(data []byte) error
- type RegionCapability
- type Scope
- func (s *Scope) GetApplicationID() *string
- func (s *Scope) GetCreatedAt() time.Time
- func (s *Scope) GetDescription() *string
- func (s *Scope) GetID() int64
- func (s *Scope) GetLabel() string
- func (s *Scope) GetProtected() *bool
- func (s *Scope) GetUpdatedAt() time.Time
- func (s Scope) MarshalJSON() ([]byte, error)
- func (s *Scope) UnmarshalJSON(data []byte) error
- type Security
- type ServerInfo
- type Stack
- func (s *Stack) GetAuditEnabled() *bool
- func (s *Stack) GetCreatedAt() *time.Time
- func (s *Stack) GetDeletedAt() *time.Time
- func (s *Stack) GetDisabledAt() *time.Time
- func (s *Stack) GetDisposableSince() *time.Time
- func (s *Stack) GetExpectedStatus() ExpectedStatus
- func (s *Stack) GetID() string
- func (s *Stack) GetLastExpectedStatusUpdate() time.Time
- func (s *Stack) GetLastReachableUpdate() *time.Time
- func (s *Stack) GetLastStateUpdate() time.Time
- func (s *Stack) GetLastStatusUpdate() time.Time
- func (s *Stack) GetMetadata() map[string]string
- func (s *Stack) GetModules() []Module
- func (s *Stack) GetName() string
- func (s *Stack) GetOrganizationID() string
- func (s *Stack) GetReachable() bool
- func (s *Stack) GetRegion() *Region
- func (s *Stack) GetRegionID() string
- func (s *Stack) GetStargateEnabled() bool
- func (s *Stack) GetState() StackState
- func (s *Stack) GetStatus() StackStatus
- func (s *Stack) GetSynchronised() bool
- func (s *Stack) GetURI() string
- func (s *Stack) GetUpdatedAt() *time.Time
- func (s *Stack) GetVersion() *string
- func (s *Stack) GetWarnedAt() *time.Time
- func (s Stack) MarshalJSON() ([]byte, error)
- func (s *Stack) UnmarshalJSON(data []byte) error
- type StackData
- type StackState
- type StackStatus
- type StackUserAccessResponse
- type StackUserAccessResponseData
- type StackVersion
- type SystemRole
- type UpdateApplicationResponse
- type UpdateOrganizationClientRequest
- type UpdateOrganizationUserRequest
- type UpdatePolicyResponse
- type UpdateStackUserRequest
- type UpsertAuthenticationProviderRequest
- func CreateUpsertAuthenticationProviderRequestUpsertAuthenticationProviderRequestGithubIDPConfig(...) UpsertAuthenticationProviderRequest
- func CreateUpsertAuthenticationProviderRequestUpsertAuthenticationProviderRequestGoogleIDPConfig(...) UpsertAuthenticationProviderRequest
- func CreateUpsertAuthenticationProviderRequestUpsertAuthenticationProviderRequestMicrosoftIDPConfig(...) UpsertAuthenticationProviderRequest
- func CreateUpsertAuthenticationProviderRequestUpsertAuthenticationProviderRequestOIDCConfig(...) UpsertAuthenticationProviderRequest
- type UpsertAuthenticationProviderRequestGithubIDPConfig
- func (u *UpsertAuthenticationProviderRequestGithubIDPConfig) GetClientID() string
- func (u *UpsertAuthenticationProviderRequestGithubIDPConfig) GetClientSecret() string
- func (u *UpsertAuthenticationProviderRequestGithubIDPConfig) GetConfig() UpsertAuthenticationProviderRequestGithubIDPConfigConfig
- func (u *UpsertAuthenticationProviderRequestGithubIDPConfig) GetName() string
- func (u *UpsertAuthenticationProviderRequestGithubIDPConfig) GetType() UpsertAuthenticationProviderRequestGithubIDPConfigType
- func (u UpsertAuthenticationProviderRequestGithubIDPConfig) MarshalJSON() ([]byte, error)
- func (u *UpsertAuthenticationProviderRequestGithubIDPConfig) UnmarshalJSON(data []byte) error
- type UpsertAuthenticationProviderRequestGithubIDPConfigConfig
- type UpsertAuthenticationProviderRequestGithubIDPConfigType
- type UpsertAuthenticationProviderRequestGoogleIDPConfig
- func (u *UpsertAuthenticationProviderRequestGoogleIDPConfig) GetClientID() string
- func (u *UpsertAuthenticationProviderRequestGoogleIDPConfig) GetClientSecret() string
- func (u *UpsertAuthenticationProviderRequestGoogleIDPConfig) GetConfig() UpsertAuthenticationProviderRequestGoogleIDPConfigConfig
- func (u *UpsertAuthenticationProviderRequestGoogleIDPConfig) GetName() string
- func (u *UpsertAuthenticationProviderRequestGoogleIDPConfig) GetType() UpsertAuthenticationProviderRequestGoogleIDPConfigType
- func (u UpsertAuthenticationProviderRequestGoogleIDPConfig) MarshalJSON() ([]byte, error)
- func (u *UpsertAuthenticationProviderRequestGoogleIDPConfig) UnmarshalJSON(data []byte) error
- type UpsertAuthenticationProviderRequestGoogleIDPConfigConfig
- type UpsertAuthenticationProviderRequestGoogleIDPConfigType
- type UpsertAuthenticationProviderRequestMicrosoftIDPConfig
- func (u *UpsertAuthenticationProviderRequestMicrosoftIDPConfig) GetClientID() string
- func (u *UpsertAuthenticationProviderRequestMicrosoftIDPConfig) GetClientSecret() string
- func (u *UpsertAuthenticationProviderRequestMicrosoftIDPConfig) GetConfig() UpsertAuthenticationProviderRequestMicrosoftIDPConfigConfig
- func (u *UpsertAuthenticationProviderRequestMicrosoftIDPConfig) GetName() string
- func (u *UpsertAuthenticationProviderRequestMicrosoftIDPConfig) GetType() UpsertAuthenticationProviderRequestMicrosoftIDPConfigType
- func (u UpsertAuthenticationProviderRequestMicrosoftIDPConfig) MarshalJSON() ([]byte, error)
- func (u *UpsertAuthenticationProviderRequestMicrosoftIDPConfig) UnmarshalJSON(data []byte) error
- type UpsertAuthenticationProviderRequestMicrosoftIDPConfigConfig
- type UpsertAuthenticationProviderRequestMicrosoftIDPConfigType
- type UpsertAuthenticationProviderRequestOIDCConfig
- func (u *UpsertAuthenticationProviderRequestOIDCConfig) GetClientID() string
- func (u *UpsertAuthenticationProviderRequestOIDCConfig) GetClientSecret() string
- func (u *UpsertAuthenticationProviderRequestOIDCConfig) GetConfig() UpsertAuthenticationProviderRequestOIDCConfigConfig
- func (u *UpsertAuthenticationProviderRequestOIDCConfig) GetName() string
- func (u *UpsertAuthenticationProviderRequestOIDCConfig) GetType() UpsertAuthenticationProviderRequestOIDCConfigType
- func (u UpsertAuthenticationProviderRequestOIDCConfig) MarshalJSON() ([]byte, error)
- func (u *UpsertAuthenticationProviderRequestOIDCConfig) UnmarshalJSON(data []byte) error
- type UpsertAuthenticationProviderRequestOIDCConfigConfig
- func (u *UpsertAuthenticationProviderRequestOIDCConfigConfig) GetDiscoveryPath() *string
- func (u *UpsertAuthenticationProviderRequestOIDCConfigConfig) GetIssuer() string
- func (u UpsertAuthenticationProviderRequestOIDCConfigConfig) MarshalJSON() ([]byte, error)
- func (u *UpsertAuthenticationProviderRequestOIDCConfigConfig) UnmarshalJSON(data []byte) error
- type UpsertAuthenticationProviderRequestOIDCConfigType
- type UpsertAuthenticationProviderRequestType
- type User
- type Version
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Action ¶
type Action string
const ( ActionAgentsConnected Action = "agents.connected" ActionAgentsDisconnected Action = "agents.disconnected" ActionInvitationsCreated Action = "invitations.created" ActionInvitationsAccepted Action = "invitations.accepted" ActionInvitationsRejected Action = "invitations.rejected" ActionInvitationsCancelled Action = "invitations.cancelled" ActionOrganizationsCreated Action = "organizations.created" ActionOrganizationsUpdated Action = "organizations.updated" ActionOrganizationsDeleted Action = "organizations.deleted" ActionOrganizationsUserDeleted Action = "organizations.user.deleted" ActionOrganizationsUserUpdated Action = "organizations.user.updated" ActionRegionsCreated Action = "regions.created" ActionRegionsDeleted Action = "regions.deleted" ActionUsersCreated Action = "users.created" ActionUsersDeleted Action = "users.deleted" ActionStacksDisposal Action = "stacks.disposal" ActionStacksDisposalReset Action = "stacks.disposal-reset" ActionStacksWarned Action = "stacks.warned" ActionStacksPruned Action = "stacks.pruned" ActionStacksStatusUpdated Action = "stacks.status.updated" ActionStacksCreated Action = "stacks.created" ActionStacksUpdated Action = "stacks.updated" ActionStacksDeleted Action = "stacks.deleted" ActionStacksRestored Action = "stacks.restored" ActionStacksDisabled Action = "stacks.disabled" ActionStacksEnabled Action = "stacks.enabled" ActionStacksUpgraded Action = "stacks.upgraded" ActionStacksStargateEnabled Action = "stacks.stargate.enabled" ActionStacksStargateDisabled Action = "stacks.stargate.disabled" ActionStacksUserUpdated Action = "stacks.user.updated" ActionStacksUserDeleted Action = "stacks.user.deleted" ActionStacksReachnessUpdated Action = "stacks.reachness.updated" ActionStacksModuleEnabled Action = "stacks.module.enabled" ActionStacksModuleDisabled Action = "stacks.module.disabled" ActionStacksModuleStatusUpdated Action = "stacks.module.status.updated" ActionPoliciesCreated Action = "policies.created" ActionPoliciesUpdated Action = "policies.updated" ActionPoliciesDeleted Action = "policies.deleted" ActionPoliciesScopeAdded Action = "policies.scope.added" ActionPoliciesScopeRemoved Action = "policies.scope.removed" )
func (*Action) UnmarshalJSON ¶
type AnyRegion ¶
type AnyRegion struct {
ID string `json:"id"`
BaseURL string `json:"baseUrl"`
CreatedAt string `json:"createdAt"`
Active bool `json:"active"`
LastPing *time.Time `json:"lastPing,omitzero"`
Name string `json:"name"`
Capabilities RegionCapability `json:"capabilities"`
AgentID string `json:"agentID"`
Outdated bool `json:"outdated"`
CreatorID *string `json:"creatorId,omitzero"`
Version *string `json:"version,omitzero"`
ClientID *string `json:"clientID,omitzero"`
OrganizationID *string `json:"organizationID,omitzero"`
Creator *User `json:"creator,omitzero"`
Production *bool `json:"production,omitzero"`
Public bool `json:"public"`
Secret *PrivateRegionSecret `json:"secret,omitzero"`
}
func (*AnyRegion) GetAgentID ¶
func (*AnyRegion) GetBaseURL ¶
func (*AnyRegion) GetCapabilities ¶
func (a *AnyRegion) GetCapabilities() RegionCapability
func (*AnyRegion) GetClientID ¶
func (*AnyRegion) GetCreatedAt ¶
func (*AnyRegion) GetCreator ¶
func (*AnyRegion) GetCreatorID ¶
func (*AnyRegion) GetLastPing ¶
func (*AnyRegion) GetOrganizationID ¶
func (*AnyRegion) GetOutdated ¶
func (*AnyRegion) GetProduction ¶
func (*AnyRegion) GetSecret ¶
func (a *AnyRegion) GetSecret() *PrivateRegionSecret
func (*AnyRegion) GetVersion ¶
func (AnyRegion) MarshalJSON ¶
func (*AnyRegion) UnmarshalJSON ¶
type Application ¶
type Application struct {
// Application name
Name string `json:"name"`
// Application description
Description *string `json:"description,omitzero"`
// Application URL (must be unique)
URL string `json:"url"`
// Application alias
Alias string `json:"alias"`
// Application ID
ID string `json:"id"`
// Creation date
CreatedAt time.Time `json:"createdAt"`
// Last update date
UpdatedAt time.Time `json:"updatedAt"`
}
func (*Application) GetAlias ¶
func (a *Application) GetAlias() string
func (*Application) GetCreatedAt ¶
func (a *Application) GetCreatedAt() time.Time
func (*Application) GetDescription ¶
func (a *Application) GetDescription() *string
func (*Application) GetID ¶
func (a *Application) GetID() string
func (*Application) GetName ¶
func (a *Application) GetName() string
func (*Application) GetURL ¶
func (a *Application) GetURL() string
func (*Application) GetUpdatedAt ¶
func (a *Application) GetUpdatedAt() time.Time
func (Application) MarshalJSON ¶
func (a Application) MarshalJSON() ([]byte, error)
func (*Application) UnmarshalJSON ¶
func (a *Application) UnmarshalJSON(data []byte) error
type ApplicationData ¶
type ApplicationData struct {
// Application name
Name string `json:"name"`
// Application description
Description *string `json:"description,omitzero"`
// Application URL (must be unique)
URL string `json:"url"`
// Application alias
Alias string `json:"alias"`
}
func (*ApplicationData) GetAlias ¶
func (a *ApplicationData) GetAlias() string
func (*ApplicationData) GetDescription ¶
func (a *ApplicationData) GetDescription() *string
func (*ApplicationData) GetName ¶
func (a *ApplicationData) GetName() string
func (*ApplicationData) GetURL ¶
func (a *ApplicationData) GetURL() string
type ApplicationWithScope ¶
type ApplicationWithScope struct {
// Application name
Name string `json:"name"`
// Application description
Description *string `json:"description,omitzero"`
// Application URL (must be unique)
URL string `json:"url"`
// Application alias
Alias string `json:"alias"`
// Application ID
ID string `json:"id"`
// Creation date
CreatedAt time.Time `json:"createdAt"`
// Last update date
UpdatedAt time.Time `json:"updatedAt"`
// List of scopes associated with this application
Scopes []Scope `json:"scopes"`
}
func (*ApplicationWithScope) GetAlias ¶
func (a *ApplicationWithScope) GetAlias() string
func (*ApplicationWithScope) GetCreatedAt ¶
func (a *ApplicationWithScope) GetCreatedAt() time.Time
func (*ApplicationWithScope) GetDescription ¶
func (a *ApplicationWithScope) GetDescription() *string
func (*ApplicationWithScope) GetID ¶
func (a *ApplicationWithScope) GetID() string
func (*ApplicationWithScope) GetName ¶
func (a *ApplicationWithScope) GetName() string
func (*ApplicationWithScope) GetScopes ¶
func (a *ApplicationWithScope) GetScopes() []Scope
func (*ApplicationWithScope) GetURL ¶
func (a *ApplicationWithScope) GetURL() string
func (*ApplicationWithScope) GetUpdatedAt ¶
func (a *ApplicationWithScope) GetUpdatedAt() time.Time
func (ApplicationWithScope) MarshalJSON ¶
func (a ApplicationWithScope) MarshalJSON() ([]byte, error)
func (*ApplicationWithScope) UnmarshalJSON ¶
func (a *ApplicationWithScope) UnmarshalJSON(data []byte) error
type AuthenticationProviderResponse ¶
type AuthenticationProviderResponse struct {
Data *Data `json:"data,omitzero"`
}
func (*AuthenticationProviderResponse) GetData ¶
func (a *AuthenticationProviderResponse) GetData() *Data
type AuthenticationProviderResponseGithubIDPConfig ¶
type AuthenticationProviderResponseGithubIDPConfig struct {
// Type of the authentication provider
Type AuthenticationProviderResponseGithubIDPConfigType `json:"type"`
// Name of the authentication provider
Name string `json:"name"`
// Client ID for the authentication provider
ClientID string `json:"clientID"`
// Client secret for the authentication provider
ClientSecret string `json:"clientSecret"`
Config AuthenticationProviderResponseGithubIDPConfigConfig `json:"config"`
// Unique identifier for the authentication provider
OrganizationID string `json:"organizationId"`
// Creation date of the authentication provider
CreatedAt time.Time `json:"createdAt"`
// Last update date of the authentication provider
UpdatedAt time.Time `json:"updatedAt"`
RedirectURI string `json:"redirectURI"`
}
func (*AuthenticationProviderResponseGithubIDPConfig) GetClientID ¶
func (a *AuthenticationProviderResponseGithubIDPConfig) GetClientID() string
func (*AuthenticationProviderResponseGithubIDPConfig) GetClientSecret ¶
func (a *AuthenticationProviderResponseGithubIDPConfig) GetClientSecret() string
func (*AuthenticationProviderResponseGithubIDPConfig) GetCreatedAt ¶
func (a *AuthenticationProviderResponseGithubIDPConfig) GetCreatedAt() time.Time
func (*AuthenticationProviderResponseGithubIDPConfig) GetName ¶
func (a *AuthenticationProviderResponseGithubIDPConfig) GetName() string
func (*AuthenticationProviderResponseGithubIDPConfig) GetOrganizationID ¶
func (a *AuthenticationProviderResponseGithubIDPConfig) GetOrganizationID() string
func (*AuthenticationProviderResponseGithubIDPConfig) GetRedirectURI ¶
func (a *AuthenticationProviderResponseGithubIDPConfig) GetRedirectURI() string
func (*AuthenticationProviderResponseGithubIDPConfig) GetUpdatedAt ¶
func (a *AuthenticationProviderResponseGithubIDPConfig) GetUpdatedAt() time.Time
func (AuthenticationProviderResponseGithubIDPConfig) MarshalJSON ¶
func (a AuthenticationProviderResponseGithubIDPConfig) MarshalJSON() ([]byte, error)
func (*AuthenticationProviderResponseGithubIDPConfig) UnmarshalJSON ¶
func (a *AuthenticationProviderResponseGithubIDPConfig) UnmarshalJSON(data []byte) error
type AuthenticationProviderResponseGithubIDPConfigConfig ¶
type AuthenticationProviderResponseGithubIDPConfigConfig struct {
}
func (AuthenticationProviderResponseGithubIDPConfigConfig) MarshalJSON ¶
func (a AuthenticationProviderResponseGithubIDPConfigConfig) MarshalJSON() ([]byte, error)
func (*AuthenticationProviderResponseGithubIDPConfigConfig) UnmarshalJSON ¶
func (a *AuthenticationProviderResponseGithubIDPConfigConfig) UnmarshalJSON(data []byte) error
type AuthenticationProviderResponseGithubIDPConfigType ¶
type AuthenticationProviderResponseGithubIDPConfigType string
AuthenticationProviderResponseGithubIDPConfigType - Type of the authentication provider
const ( AuthenticationProviderResponseGithubIDPConfigTypeOidc AuthenticationProviderResponseGithubIDPConfigType = "oidc" AuthenticationProviderResponseGithubIDPConfigTypeGoogle AuthenticationProviderResponseGithubIDPConfigType = "google" AuthenticationProviderResponseGithubIDPConfigTypeGithub AuthenticationProviderResponseGithubIDPConfigType = "github" AuthenticationProviderResponseGithubIDPConfigTypeMicrosoft AuthenticationProviderResponseGithubIDPConfigType = "microsoft" )
func (*AuthenticationProviderResponseGithubIDPConfigType) IsExact ¶
func (e *AuthenticationProviderResponseGithubIDPConfigType) IsExact() bool
IsExact returns true if the value matches a known enum value, false otherwise.
type AuthenticationProviderResponseGoogleIDPConfig ¶
type AuthenticationProviderResponseGoogleIDPConfig struct {
// Type of the authentication provider
Type AuthenticationProviderResponseGoogleIDPConfigType `json:"type"`
// Name of the authentication provider
Name string `json:"name"`
// Client ID for the authentication provider
ClientID string `json:"clientID"`
// Client secret for the authentication provider
ClientSecret string `json:"clientSecret"`
Config AuthenticationProviderResponseGoogleIDPConfigConfig `json:"config"`
// Unique identifier for the authentication provider
OrganizationID string `json:"organizationId"`
// Creation date of the authentication provider
CreatedAt time.Time `json:"createdAt"`
// Last update date of the authentication provider
UpdatedAt time.Time `json:"updatedAt"`
RedirectURI string `json:"redirectURI"`
}
func (*AuthenticationProviderResponseGoogleIDPConfig) GetClientID ¶
func (a *AuthenticationProviderResponseGoogleIDPConfig) GetClientID() string
func (*AuthenticationProviderResponseGoogleIDPConfig) GetClientSecret ¶
func (a *AuthenticationProviderResponseGoogleIDPConfig) GetClientSecret() string
func (*AuthenticationProviderResponseGoogleIDPConfig) GetCreatedAt ¶
func (a *AuthenticationProviderResponseGoogleIDPConfig) GetCreatedAt() time.Time
func (*AuthenticationProviderResponseGoogleIDPConfig) GetName ¶
func (a *AuthenticationProviderResponseGoogleIDPConfig) GetName() string
func (*AuthenticationProviderResponseGoogleIDPConfig) GetOrganizationID ¶
func (a *AuthenticationProviderResponseGoogleIDPConfig) GetOrganizationID() string
func (*AuthenticationProviderResponseGoogleIDPConfig) GetRedirectURI ¶
func (a *AuthenticationProviderResponseGoogleIDPConfig) GetRedirectURI() string
func (*AuthenticationProviderResponseGoogleIDPConfig) GetUpdatedAt ¶
func (a *AuthenticationProviderResponseGoogleIDPConfig) GetUpdatedAt() time.Time
func (AuthenticationProviderResponseGoogleIDPConfig) MarshalJSON ¶
func (a AuthenticationProviderResponseGoogleIDPConfig) MarshalJSON() ([]byte, error)
func (*AuthenticationProviderResponseGoogleIDPConfig) UnmarshalJSON ¶
func (a *AuthenticationProviderResponseGoogleIDPConfig) UnmarshalJSON(data []byte) error
type AuthenticationProviderResponseGoogleIDPConfigConfig ¶
type AuthenticationProviderResponseGoogleIDPConfigConfig struct {
}
func (AuthenticationProviderResponseGoogleIDPConfigConfig) MarshalJSON ¶
func (a AuthenticationProviderResponseGoogleIDPConfigConfig) MarshalJSON() ([]byte, error)
func (*AuthenticationProviderResponseGoogleIDPConfigConfig) UnmarshalJSON ¶
func (a *AuthenticationProviderResponseGoogleIDPConfigConfig) UnmarshalJSON(data []byte) error
type AuthenticationProviderResponseGoogleIDPConfigType ¶
type AuthenticationProviderResponseGoogleIDPConfigType string
AuthenticationProviderResponseGoogleIDPConfigType - Type of the authentication provider
const ( AuthenticationProviderResponseGoogleIDPConfigTypeOidc AuthenticationProviderResponseGoogleIDPConfigType = "oidc" AuthenticationProviderResponseGoogleIDPConfigTypeGoogle AuthenticationProviderResponseGoogleIDPConfigType = "google" AuthenticationProviderResponseGoogleIDPConfigTypeGithub AuthenticationProviderResponseGoogleIDPConfigType = "github" AuthenticationProviderResponseGoogleIDPConfigTypeMicrosoft AuthenticationProviderResponseGoogleIDPConfigType = "microsoft" )
func (*AuthenticationProviderResponseGoogleIDPConfigType) IsExact ¶
func (e *AuthenticationProviderResponseGoogleIDPConfigType) IsExact() bool
IsExact returns true if the value matches a known enum value, false otherwise.
type AuthenticationProviderResponseMicrosoftIDPConfig ¶
type AuthenticationProviderResponseMicrosoftIDPConfig struct {
// Type of the authentication provider
Type AuthenticationProviderResponseMicrosoftIDPConfigType `json:"type"`
// Name of the authentication provider
Name string `json:"name"`
// Client ID for the authentication provider
ClientID string `json:"clientID"`
// Client secret for the authentication provider
ClientSecret string `json:"clientSecret"`
Config AuthenticationProviderResponseMicrosoftIDPConfigConfig `json:"config"`
// Unique identifier for the authentication provider
OrganizationID string `json:"organizationId"`
// Creation date of the authentication provider
CreatedAt time.Time `json:"createdAt"`
// Last update date of the authentication provider
UpdatedAt time.Time `json:"updatedAt"`
RedirectURI string `json:"redirectURI"`
}
func (*AuthenticationProviderResponseMicrosoftIDPConfig) GetClientID ¶
func (a *AuthenticationProviderResponseMicrosoftIDPConfig) GetClientID() string
func (*AuthenticationProviderResponseMicrosoftIDPConfig) GetClientSecret ¶
func (a *AuthenticationProviderResponseMicrosoftIDPConfig) GetClientSecret() string
func (*AuthenticationProviderResponseMicrosoftIDPConfig) GetCreatedAt ¶
func (a *AuthenticationProviderResponseMicrosoftIDPConfig) GetCreatedAt() time.Time
func (*AuthenticationProviderResponseMicrosoftIDPConfig) GetName ¶
func (a *AuthenticationProviderResponseMicrosoftIDPConfig) GetName() string
func (*AuthenticationProviderResponseMicrosoftIDPConfig) GetOrganizationID ¶
func (a *AuthenticationProviderResponseMicrosoftIDPConfig) GetOrganizationID() string
func (*AuthenticationProviderResponseMicrosoftIDPConfig) GetRedirectURI ¶
func (a *AuthenticationProviderResponseMicrosoftIDPConfig) GetRedirectURI() string
func (*AuthenticationProviderResponseMicrosoftIDPConfig) GetUpdatedAt ¶
func (a *AuthenticationProviderResponseMicrosoftIDPConfig) GetUpdatedAt() time.Time
func (AuthenticationProviderResponseMicrosoftIDPConfig) MarshalJSON ¶
func (a AuthenticationProviderResponseMicrosoftIDPConfig) MarshalJSON() ([]byte, error)
func (*AuthenticationProviderResponseMicrosoftIDPConfig) UnmarshalJSON ¶
func (a *AuthenticationProviderResponseMicrosoftIDPConfig) UnmarshalJSON(data []byte) error
type AuthenticationProviderResponseMicrosoftIDPConfigConfig ¶
type AuthenticationProviderResponseMicrosoftIDPConfigConfig struct {
// Tenant ID for Microsoft authentication
Tenant *string `default:"common" json:"tenant"`
}
func (*AuthenticationProviderResponseMicrosoftIDPConfigConfig) GetTenant ¶
func (a *AuthenticationProviderResponseMicrosoftIDPConfigConfig) GetTenant() *string
func (AuthenticationProviderResponseMicrosoftIDPConfigConfig) MarshalJSON ¶
func (a AuthenticationProviderResponseMicrosoftIDPConfigConfig) MarshalJSON() ([]byte, error)
func (*AuthenticationProviderResponseMicrosoftIDPConfigConfig) UnmarshalJSON ¶
func (a *AuthenticationProviderResponseMicrosoftIDPConfigConfig) UnmarshalJSON(data []byte) error
type AuthenticationProviderResponseMicrosoftIDPConfigType ¶
type AuthenticationProviderResponseMicrosoftIDPConfigType string
AuthenticationProviderResponseMicrosoftIDPConfigType - Type of the authentication provider
const ( AuthenticationProviderResponseMicrosoftIDPConfigTypeOidc AuthenticationProviderResponseMicrosoftIDPConfigType = "oidc" AuthenticationProviderResponseMicrosoftIDPConfigTypeGoogle AuthenticationProviderResponseMicrosoftIDPConfigType = "google" AuthenticationProviderResponseMicrosoftIDPConfigTypeGithub AuthenticationProviderResponseMicrosoftIDPConfigType = "github" AuthenticationProviderResponseMicrosoftIDPConfigTypeMicrosoft AuthenticationProviderResponseMicrosoftIDPConfigType = "microsoft" )
func (*AuthenticationProviderResponseMicrosoftIDPConfigType) IsExact ¶
func (e *AuthenticationProviderResponseMicrosoftIDPConfigType) IsExact() bool
IsExact returns true if the value matches a known enum value, false otherwise.
type AuthenticationProviderResponseOIDCConfig ¶
type AuthenticationProviderResponseOIDCConfig struct {
// Type of the authentication provider
Type AuthenticationProviderResponseOIDCConfigType `json:"type"`
// Name of the authentication provider
Name string `json:"name"`
// Client ID for the authentication provider
ClientID string `json:"clientID"`
// Client secret for the authentication provider
ClientSecret string `json:"clientSecret"`
Config AuthenticationProviderResponseOIDCConfigConfig `json:"config"`
// Unique identifier for the authentication provider
OrganizationID string `json:"organizationId"`
// Creation date of the authentication provider
CreatedAt time.Time `json:"createdAt"`
// Last update date of the authentication provider
UpdatedAt time.Time `json:"updatedAt"`
RedirectURI string `json:"redirectURI"`
}
func (*AuthenticationProviderResponseOIDCConfig) GetClientID ¶
func (a *AuthenticationProviderResponseOIDCConfig) GetClientID() string
func (*AuthenticationProviderResponseOIDCConfig) GetClientSecret ¶
func (a *AuthenticationProviderResponseOIDCConfig) GetClientSecret() string
func (*AuthenticationProviderResponseOIDCConfig) GetConfig ¶
func (a *AuthenticationProviderResponseOIDCConfig) GetConfig() AuthenticationProviderResponseOIDCConfigConfig
func (*AuthenticationProviderResponseOIDCConfig) GetCreatedAt ¶
func (a *AuthenticationProviderResponseOIDCConfig) GetCreatedAt() time.Time
func (*AuthenticationProviderResponseOIDCConfig) GetName ¶
func (a *AuthenticationProviderResponseOIDCConfig) GetName() string
func (*AuthenticationProviderResponseOIDCConfig) GetOrganizationID ¶
func (a *AuthenticationProviderResponseOIDCConfig) GetOrganizationID() string
func (*AuthenticationProviderResponseOIDCConfig) GetRedirectURI ¶
func (a *AuthenticationProviderResponseOIDCConfig) GetRedirectURI() string
func (*AuthenticationProviderResponseOIDCConfig) GetType ¶
func (a *AuthenticationProviderResponseOIDCConfig) GetType() AuthenticationProviderResponseOIDCConfigType
func (*AuthenticationProviderResponseOIDCConfig) GetUpdatedAt ¶
func (a *AuthenticationProviderResponseOIDCConfig) GetUpdatedAt() time.Time
func (AuthenticationProviderResponseOIDCConfig) MarshalJSON ¶
func (a AuthenticationProviderResponseOIDCConfig) MarshalJSON() ([]byte, error)
func (*AuthenticationProviderResponseOIDCConfig) UnmarshalJSON ¶
func (a *AuthenticationProviderResponseOIDCConfig) UnmarshalJSON(data []byte) error
type AuthenticationProviderResponseOIDCConfigConfig ¶
type AuthenticationProviderResponseOIDCConfigConfig struct {
// OIDC issuer URL
Issuer string `json:"issuer"`
DiscoveryPath *string `default:"/.well-known/openid-configuration" json:"discoveryPath"`
}
func (*AuthenticationProviderResponseOIDCConfigConfig) GetDiscoveryPath ¶
func (a *AuthenticationProviderResponseOIDCConfigConfig) GetDiscoveryPath() *string
func (*AuthenticationProviderResponseOIDCConfigConfig) GetIssuer ¶
func (a *AuthenticationProviderResponseOIDCConfigConfig) GetIssuer() string
func (AuthenticationProviderResponseOIDCConfigConfig) MarshalJSON ¶
func (a AuthenticationProviderResponseOIDCConfigConfig) MarshalJSON() ([]byte, error)
func (*AuthenticationProviderResponseOIDCConfigConfig) UnmarshalJSON ¶
func (a *AuthenticationProviderResponseOIDCConfigConfig) UnmarshalJSON(data []byte) error
type AuthenticationProviderResponseOIDCConfigType ¶
type AuthenticationProviderResponseOIDCConfigType string
AuthenticationProviderResponseOIDCConfigType - Type of the authentication provider
const ( AuthenticationProviderResponseOIDCConfigTypeOidc AuthenticationProviderResponseOIDCConfigType = "oidc" AuthenticationProviderResponseOIDCConfigTypeGoogle AuthenticationProviderResponseOIDCConfigType = "google" AuthenticationProviderResponseOIDCConfigTypeGithub AuthenticationProviderResponseOIDCConfigType = "github" AuthenticationProviderResponseOIDCConfigTypeMicrosoft AuthenticationProviderResponseOIDCConfigType = "microsoft" )
func (*AuthenticationProviderResponseOIDCConfigType) IsExact ¶
func (e *AuthenticationProviderResponseOIDCConfigType) IsExact() bool
IsExact returns true if the value matches a known enum value, false otherwise.
func (AuthenticationProviderResponseOIDCConfigType) ToPointer ¶
func (e AuthenticationProviderResponseOIDCConfigType) ToPointer() *AuthenticationProviderResponseOIDCConfigType
type Capability ¶
type Capability string
const (
CapabilityModuleSelection Capability = "MODULE_SELECTION"
)
func (Capability) ToPointer ¶
func (e Capability) ToPointer() *Capability
func (*Capability) UnmarshalJSON ¶
func (e *Capability) UnmarshalJSON(data []byte) error
type ClusterStatus ¶
type ClusterStatus struct {
}
type CreateApplicationResponse ¶
type CreateApplicationResponse struct {
Data *Application `json:"data,omitzero"`
}
func (*CreateApplicationResponse) GetData ¶
func (c *CreateApplicationResponse) GetData() *Application
func (CreateApplicationResponse) MarshalJSON ¶
func (c CreateApplicationResponse) MarshalJSON() ([]byte, error)
func (*CreateApplicationResponse) UnmarshalJSON ¶
func (c *CreateApplicationResponse) UnmarshalJSON(data []byte) error
type CreateApplicationScopeRequest ¶
type CreateApplicationScopeRequest struct {
// Scope description
Description *string `json:"description,omitzero"`
// The OAuth2 scope label (e.g., "custom:read")
Label string `json:"label"`
}
func (*CreateApplicationScopeRequest) GetDescription ¶
func (c *CreateApplicationScopeRequest) GetDescription() *string
func (*CreateApplicationScopeRequest) GetLabel ¶
func (c *CreateApplicationScopeRequest) GetLabel() string
type CreateApplicationScopeResponse ¶
type CreateApplicationScopeResponse struct {
Data *Scope `json:"data,omitzero"`
}
func (*CreateApplicationScopeResponse) GetData ¶
func (c *CreateApplicationScopeResponse) GetData() *Scope
func (CreateApplicationScopeResponse) MarshalJSON ¶
func (c CreateApplicationScopeResponse) MarshalJSON() ([]byte, error)
func (*CreateApplicationScopeResponse) UnmarshalJSON ¶
func (c *CreateApplicationScopeResponse) UnmarshalJSON(data []byte) error
type CreateClientResponseResponse ¶
type CreateClientResponseResponse struct {
Data *CreateClientResponseResponseData `json:"data,omitzero"`
}
func (*CreateClientResponseResponse) GetData ¶
func (c *CreateClientResponseResponse) GetData() *CreateClientResponseResponseData
func (CreateClientResponseResponse) MarshalJSON ¶
func (c CreateClientResponseResponse) MarshalJSON() ([]byte, error)
func (*CreateClientResponseResponse) UnmarshalJSON ¶
func (c *CreateClientResponseResponse) UnmarshalJSON(data []byte) error
type CreateClientResponseResponseData ¶
type CreateClientResponseResponseData struct {
// Organization ID
ID string `json:"id"`
Secret CreateClientResponseResponseSecret `json:"secret"`
// Name of the client
Name string `json:"name"`
// Description of the client
Description string `json:"description"`
CreatedAt time.Time `json:"createdAt"`
UpdatedAt time.Time `json:"updatedAt"`
// The ID of the owner of the client (DEPRECATED will be empty)
OwnerID string `json:"ownerId"`
}
func (*CreateClientResponseResponseData) GetCreatedAt ¶
func (c *CreateClientResponseResponseData) GetCreatedAt() time.Time
func (*CreateClientResponseResponseData) GetDescription ¶
func (c *CreateClientResponseResponseData) GetDescription() string
func (*CreateClientResponseResponseData) GetID ¶
func (c *CreateClientResponseResponseData) GetID() string
func (*CreateClientResponseResponseData) GetName ¶
func (c *CreateClientResponseResponseData) GetName() string
func (*CreateClientResponseResponseData) GetOwnerID ¶
func (c *CreateClientResponseResponseData) GetOwnerID() string
func (*CreateClientResponseResponseData) GetSecret ¶
func (c *CreateClientResponseResponseData) GetSecret() CreateClientResponseResponseSecret
func (*CreateClientResponseResponseData) GetUpdatedAt ¶
func (c *CreateClientResponseResponseData) GetUpdatedAt() time.Time
func (CreateClientResponseResponseData) MarshalJSON ¶
func (c CreateClientResponseResponseData) MarshalJSON() ([]byte, error)
func (*CreateClientResponseResponseData) UnmarshalJSON ¶
func (c *CreateClientResponseResponseData) UnmarshalJSON(data []byte) error
type CreateClientResponseResponseSecret ¶
type CreateClientResponseResponseSecret struct {
LastDigits string `json:"lastDigits"`
Clear *string `json:"clear,omitzero"`
}
func (*CreateClientResponseResponseSecret) GetClear ¶
func (c *CreateClientResponseResponseSecret) GetClear() *string
func (*CreateClientResponseResponseSecret) GetLastDigits ¶
func (c *CreateClientResponseResponseSecret) GetLastDigits() string
type CreateInvitationResponse ¶
type CreateInvitationResponse struct {
Data *Invitation `json:"data,omitzero"`
}
func (*CreateInvitationResponse) GetData ¶
func (c *CreateInvitationResponse) GetData() *Invitation
func (CreateInvitationResponse) MarshalJSON ¶
func (c CreateInvitationResponse) MarshalJSON() ([]byte, error)
func (*CreateInvitationResponse) UnmarshalJSON ¶
func (c *CreateInvitationResponse) UnmarshalJSON(data []byte) error
type CreateOrganizationClientRequest ¶
type CreateOrganizationClientRequest struct {
// Name of the client
Name *string `json:"name,omitzero"`
// Description of the client
Description *string `json:"description,omitzero"`
}
func (*CreateOrganizationClientRequest) GetDescription ¶
func (c *CreateOrganizationClientRequest) GetDescription() *string
func (*CreateOrganizationClientRequest) GetName ¶
func (c *CreateOrganizationClientRequest) GetName() *string
type CreateOrganizationClientResponse ¶
type CreateOrganizationClientResponse struct {
Data OrganizationClient `json:"data"`
}
func (*CreateOrganizationClientResponse) GetData ¶
func (c *CreateOrganizationClientResponse) GetData() OrganizationClient
type CreateOrganizationRequest ¶
type CreateOrganizationRequest struct {
// Organization name
Name string `json:"name"`
// Organization domain
Domain *string `json:"domain,omitzero"`
// Default policy ID applied to new users
DefaultPolicyID *int64 `json:"defaultPolicyID,omitzero"`
// User ID of the owner of the organization (only when used with a non user agent)
OwnerID *string `json:"ownerID,omitzero"`
}
func (*CreateOrganizationRequest) GetDefaultPolicyID ¶
func (c *CreateOrganizationRequest) GetDefaultPolicyID() *int64
func (*CreateOrganizationRequest) GetDomain ¶
func (c *CreateOrganizationRequest) GetDomain() *string
func (*CreateOrganizationRequest) GetName ¶
func (c *CreateOrganizationRequest) GetName() string
func (*CreateOrganizationRequest) GetOwnerID ¶
func (c *CreateOrganizationRequest) GetOwnerID() *string
type CreateOrganizationResponse ¶
type CreateOrganizationResponse struct {
Data *OrganizationExpanded `json:"data,omitzero"`
}
func (*CreateOrganizationResponse) GetData ¶
func (c *CreateOrganizationResponse) GetData() *OrganizationExpanded
func (CreateOrganizationResponse) MarshalJSON ¶
func (c CreateOrganizationResponse) MarshalJSON() ([]byte, error)
func (*CreateOrganizationResponse) UnmarshalJSON ¶
func (c *CreateOrganizationResponse) UnmarshalJSON(data []byte) error
type CreatePolicyRequest ¶
type CreatePolicyRequest struct {
// Policy name
Name string `json:"name"`
// Policy description
Description *string `json:"description,omitzero"`
}
func (*CreatePolicyRequest) GetDescription ¶
func (c *CreatePolicyRequest) GetDescription() *string
func (*CreatePolicyRequest) GetName ¶
func (c *CreatePolicyRequest) GetName() string
type CreatePolicyResponse ¶
type CreatePolicyResponse struct {
Data *Policy `json:"data,omitzero"`
}
func (*CreatePolicyResponse) GetData ¶
func (c *CreatePolicyResponse) GetData() *Policy
func (CreatePolicyResponse) MarshalJSON ¶
func (c CreatePolicyResponse) MarshalJSON() ([]byte, error)
func (*CreatePolicyResponse) UnmarshalJSON ¶
func (c *CreatePolicyResponse) UnmarshalJSON(data []byte) error
type CreatePrivateRegionRequest ¶
type CreatePrivateRegionRequest struct {
Name string `json:"name"`
}
func (*CreatePrivateRegionRequest) GetName ¶
func (c *CreatePrivateRegionRequest) GetName() string
type CreateStackRequest ¶
type CreateStackRequest struct {
// Stack name
Name string `json:"name"`
Metadata map[string]string `json:"metadata,omitzero"`
// Supported only with agent version >= v0.7.0
Version *string `json:"version,omitzero"`
RegionID string `json:"regionID"`
}
func (*CreateStackRequest) GetMetadata ¶
func (c *CreateStackRequest) GetMetadata() map[string]string
func (*CreateStackRequest) GetName ¶
func (c *CreateStackRequest) GetName() string
func (*CreateStackRequest) GetRegionID ¶
func (c *CreateStackRequest) GetRegionID() string
func (*CreateStackRequest) GetVersion ¶
func (c *CreateStackRequest) GetVersion() *string
func (CreateStackRequest) MarshalJSON ¶
func (c CreateStackRequest) MarshalJSON() ([]byte, error)
func (*CreateStackRequest) UnmarshalJSON ¶
func (c *CreateStackRequest) UnmarshalJSON(data []byte) error
type CreateUserRequest ¶
type CreateUserRequest struct {
// Email address of the user to create
Email string `json:"email"`
}
func (*CreateUserRequest) GetEmail ¶
func (c *CreateUserRequest) GetEmail() string
type CreateUserResponse ¶
type CreateUserResponse struct {
Data *User `json:"data,omitzero"`
}
func (*CreateUserResponse) GetData ¶
func (c *CreateUserResponse) GetData() *User
func (CreateUserResponse) MarshalJSON ¶
func (c CreateUserResponse) MarshalJSON() ([]byte, error)
func (*CreateUserResponse) UnmarshalJSON ¶
func (c *CreateUserResponse) UnmarshalJSON(data []byte) error
type CreatedPrivateRegionResponse ¶
type CreatedPrivateRegionResponse struct {
Data PrivateRegion `json:"data"`
}
func (*CreatedPrivateRegionResponse) GetData ¶
func (c *CreatedPrivateRegionResponse) GetData() PrivateRegion
type Cursor ¶
type Cursor struct {
PageSize int64 `json:"pageSize"`
HasMore bool `json:"hasMore"`
Previous *string `json:"previous,omitzero"`
Next *string `json:"next,omitzero"`
Data []Application `json:"data"`
}
func (*Cursor) GetData ¶
func (c *Cursor) GetData() []Application
func (*Cursor) GetHasMore ¶
func (*Cursor) GetPageSize ¶
func (*Cursor) GetPrevious ¶
type Data ¶
type Data struct {
AuthenticationProviderResponseGoogleIDPConfig *AuthenticationProviderResponseGoogleIDPConfig `queryParam:"inline" union:"member"`
AuthenticationProviderResponseMicrosoftIDPConfig *AuthenticationProviderResponseMicrosoftIDPConfig `queryParam:"inline" union:"member"`
AuthenticationProviderResponseGithubIDPConfig *AuthenticationProviderResponseGithubIDPConfig `queryParam:"inline" union:"member"`
AuthenticationProviderResponseOIDCConfig *AuthenticationProviderResponseOIDCConfig `queryParam:"inline" union:"member"`
Type DataType
}
func CreateDataAuthenticationProviderResponseGithubIDPConfig ¶
func CreateDataAuthenticationProviderResponseGithubIDPConfig(authenticationProviderResponseGithubIDPConfig AuthenticationProviderResponseGithubIDPConfig) Data
func CreateDataAuthenticationProviderResponseGoogleIDPConfig ¶
func CreateDataAuthenticationProviderResponseGoogleIDPConfig(authenticationProviderResponseGoogleIDPConfig AuthenticationProviderResponseGoogleIDPConfig) Data
func CreateDataAuthenticationProviderResponseMicrosoftIDPConfig ¶
func CreateDataAuthenticationProviderResponseMicrosoftIDPConfig(authenticationProviderResponseMicrosoftIDPConfig AuthenticationProviderResponseMicrosoftIDPConfig) Data
func CreateDataAuthenticationProviderResponseOIDCConfig ¶
func CreateDataAuthenticationProviderResponseOIDCConfig(authenticationProviderResponseOIDCConfig AuthenticationProviderResponseOIDCConfig) Data
func (Data) MarshalJSON ¶
func (*Data) UnmarshalJSON ¶
type DataType ¶
type DataType string
const ( DataTypeAuthenticationProviderResponseGoogleIDPConfig DataType = "AuthenticationProviderResponse_GoogleIDPConfig" DataTypeAuthenticationProviderResponseMicrosoftIDPConfig DataType = "AuthenticationProviderResponse_MicrosoftIDPConfig" DataTypeAuthenticationProviderResponseGithubIDPConfig DataType = "AuthenticationProviderResponse_GithubIDPConfig" DataTypeAuthenticationProviderResponseOIDCConfig DataType = "AuthenticationProviderResponse_OIDCConfig" )
type EnableApplicationForOrganizationResponse ¶
type EnableApplicationForOrganizationResponse struct {
Data *OrganizationApplication `json:"data,omitzero"`
}
func (*EnableApplicationForOrganizationResponse) GetData ¶
func (e *EnableApplicationForOrganizationResponse) GetData() *OrganizationApplication
func (EnableApplicationForOrganizationResponse) MarshalJSON ¶
func (e EnableApplicationForOrganizationResponse) MarshalJSON() ([]byte, error)
func (*EnableApplicationForOrganizationResponse) UnmarshalJSON ¶
func (e *EnableApplicationForOrganizationResponse) UnmarshalJSON(data []byte) error
type Error ¶
type Error struct {
ErrorCode string `json:"errorCode"`
ErrorMessage *string `json:"errorMessage,omitzero"`
}
func (*Error) GetErrorCode ¶
func (*Error) GetErrorMessage ¶
type ExpectedStatus ¶
type ExpectedStatus string
const ( ExpectedStatusReady ExpectedStatus = "READY" ExpectedStatusDisabled ExpectedStatus = "DISABLED" ExpectedStatusDeleted ExpectedStatus = "DELETED" )
func (*ExpectedStatus) IsExact ¶
func (e *ExpectedStatus) IsExact() bool
IsExact returns true if the value matches a known enum value, false otherwise.
func (ExpectedStatus) ToPointer ¶
func (e ExpectedStatus) ToPointer() *ExpectedStatus
type GetApplicationResponse ¶
type GetApplicationResponse struct {
Data *ApplicationWithScope `json:"data,omitzero"`
}
func (*GetApplicationResponse) GetData ¶
func (g *GetApplicationResponse) GetData() *ApplicationWithScope
func (GetApplicationResponse) MarshalJSON ¶
func (g GetApplicationResponse) MarshalJSON() ([]byte, error)
func (*GetApplicationResponse) UnmarshalJSON ¶
func (g *GetApplicationResponse) UnmarshalJSON(data []byte) error
type GetRegionResponse ¶
type GetRegionResponse struct {
Data AnyRegion `json:"data"`
}
func (*GetRegionResponse) GetData ¶
func (g *GetRegionResponse) GetData() AnyRegion
type GetRegionVersionsResponse ¶
type GetRegionVersionsResponse struct {
Data []Version `json:"data"`
}
func (*GetRegionVersionsResponse) GetData ¶
func (g *GetRegionVersionsResponse) GetData() []Version
type HTTPMetadata ¶
type HTTPMetadata struct {
// Raw HTTP response; suitable for custom response parsing
Response *http.Response `json:"-"`
// Raw HTTP request; suitable for debugging
Request *http.Request `json:"-"`
}
func (*HTTPMetadata) GetRequest ¶
func (h *HTTPMetadata) GetRequest() *http.Request
func (*HTTPMetadata) GetResponse ¶
func (h *HTTPMetadata) GetResponse() *http.Response
type Invitation ¶
type Invitation struct {
ID string `json:"id"`
OrganizationID string `json:"organizationId"`
UserEmail string `json:"userEmail"`
Status InvitationStatus `json:"status"`
CreationDate time.Time `json:"creationDate"`
UpdatedAt *string `json:"updatedAt,omitzero"`
UserID *string `json:"userId,omitzero"`
OrganizationAccess *OrganizationAccess `json:"organizationAccess,omitzero"`
ExpiresAt *time.Time `json:"expiresAt,omitzero"`
CreatorID *string `json:"creatorId,omitzero"`
LastUpdate *time.Time `json:"lastUpdate,omitzero"`
}
func (*Invitation) GetCreationDate ¶
func (i *Invitation) GetCreationDate() time.Time
func (*Invitation) GetCreatorID ¶
func (i *Invitation) GetCreatorID() *string
func (*Invitation) GetExpiresAt ¶
func (i *Invitation) GetExpiresAt() *time.Time
func (*Invitation) GetID ¶
func (i *Invitation) GetID() string
func (*Invitation) GetLastUpdate ¶
func (i *Invitation) GetLastUpdate() *time.Time
func (*Invitation) GetOrganizationAccess ¶
func (i *Invitation) GetOrganizationAccess() *OrganizationAccess
func (*Invitation) GetOrganizationID ¶
func (i *Invitation) GetOrganizationID() string
func (*Invitation) GetStatus ¶
func (i *Invitation) GetStatus() InvitationStatus
func (*Invitation) GetUpdatedAt ¶
func (i *Invitation) GetUpdatedAt() *string
func (*Invitation) GetUserEmail ¶
func (i *Invitation) GetUserEmail() string
func (*Invitation) GetUserID ¶
func (i *Invitation) GetUserID() *string
func (Invitation) MarshalJSON ¶
func (i Invitation) MarshalJSON() ([]byte, error)
func (*Invitation) UnmarshalJSON ¶
func (i *Invitation) UnmarshalJSON(data []byte) error
type InvitationStatus ¶
type InvitationStatus string
const ( InvitationStatusPending InvitationStatus = "PENDING" InvitationStatusAccepted InvitationStatus = "ACCEPTED" InvitationStatusRejected InvitationStatus = "REJECTED" InvitationStatusCancelled InvitationStatus = "CANCELLED" )
func (*InvitationStatus) IsExact ¶
func (e *InvitationStatus) IsExact() bool
IsExact returns true if the value matches a known enum value, false otherwise.
func (InvitationStatus) ToPointer ¶
func (e InvitationStatus) ToPointer() *InvitationStatus
type ListApplicationsResponse ¶
type ListApplicationsResponse struct {
Cursor *Cursor `json:"cursor,omitzero"`
}
func (*ListApplicationsResponse) GetCursor ¶
func (l *ListApplicationsResponse) GetCursor() *Cursor
func (ListApplicationsResponse) MarshalJSON ¶
func (l ListApplicationsResponse) MarshalJSON() ([]byte, error)
func (*ListApplicationsResponse) UnmarshalJSON ¶
func (l *ListApplicationsResponse) UnmarshalJSON(data []byte) error
type ListInvitationsResponse ¶
type ListInvitationsResponse struct {
Data []Invitation `json:"data,omitzero"`
}
func (*ListInvitationsResponse) GetData ¶
func (l *ListInvitationsResponse) GetData() []Invitation
func (ListInvitationsResponse) MarshalJSON ¶
func (l ListInvitationsResponse) MarshalJSON() ([]byte, error)
func (*ListInvitationsResponse) UnmarshalJSON ¶
func (l *ListInvitationsResponse) UnmarshalJSON(data []byte) error
type ListModulesResponse ¶
type ListModulesResponse struct {
Data []Module `json:"data"`
}
func (*ListModulesResponse) GetData ¶
func (l *ListModulesResponse) GetData() []Module
type ListOrganizationExpandedResponse ¶
type ListOrganizationExpandedResponse struct {
Data []OrganizationExpanded `json:"data,omitzero"`
}
func (*ListOrganizationExpandedResponse) GetData ¶
func (l *ListOrganizationExpandedResponse) GetData() []OrganizationExpanded
func (ListOrganizationExpandedResponse) MarshalJSON ¶
func (l ListOrganizationExpandedResponse) MarshalJSON() ([]byte, error)
func (*ListOrganizationExpandedResponse) UnmarshalJSON ¶
func (l *ListOrganizationExpandedResponse) UnmarshalJSON(data []byte) error
type ListPoliciesResponse ¶
type ListPoliciesResponse struct {
Data []Policy `json:"data,omitzero"`
}
func (*ListPoliciesResponse) GetData ¶
func (l *ListPoliciesResponse) GetData() []Policy
func (ListPoliciesResponse) MarshalJSON ¶
func (l ListPoliciesResponse) MarshalJSON() ([]byte, error)
func (*ListPoliciesResponse) UnmarshalJSON ¶
func (l *ListPoliciesResponse) UnmarshalJSON(data []byte) error
type ListRegionsResponse ¶
type ListRegionsResponse struct {
Data []AnyRegion `json:"data"`
}
func (*ListRegionsResponse) GetData ¶
func (l *ListRegionsResponse) GetData() []AnyRegion
type ListStacksResponse ¶
type ListStacksResponse struct {
Data []Stack `json:"data,omitzero"`
}
func (*ListStacksResponse) GetData ¶
func (l *ListStacksResponse) GetData() []Stack
func (ListStacksResponse) MarshalJSON ¶
func (l ListStacksResponse) MarshalJSON() ([]byte, error)
func (*ListStacksResponse) UnmarshalJSON ¶
func (l *ListStacksResponse) UnmarshalJSON(data []byte) error
type ListUsersResponse ¶
type ListUsersResponse struct {
Data []OrganizationUser `json:"data,omitzero"`
}
func (*ListUsersResponse) GetData ¶
func (l *ListUsersResponse) GetData() []OrganizationUser
func (ListUsersResponse) MarshalJSON ¶
func (l ListUsersResponse) MarshalJSON() ([]byte, error)
func (*ListUsersResponse) UnmarshalJSON ¶
func (l *ListUsersResponse) UnmarshalJSON(data []byte) error
type Log ¶
type Log struct {
Seq string `json:"seq"`
OrganizationID string `json:"organizationId"`
UserID string `json:"userId"`
Action string `json:"action"`
Date time.Time `json:"date"`
Data LogData `json:"data"`
}
func (*Log) GetOrganizationID ¶
func (Log) MarshalJSON ¶
func (*Log) UnmarshalJSON ¶
type LogCursor ¶
type LogCursor struct {
Data LogCursorData `json:"data"`
}
func (*LogCursor) GetData ¶
func (l *LogCursor) GetData() LogCursorData
type LogCursorData ¶
type LogCursorData struct {
PageSize int64 `json:"pageSize"`
HasMore bool `json:"hasMore"`
Previous *string `json:"previous,omitzero"`
Next *string `json:"next,omitzero"`
Data []Log `json:"data"`
}
func (*LogCursorData) GetData ¶
func (l *LogCursorData) GetData() []Log
func (*LogCursorData) GetHasMore ¶
func (l *LogCursorData) GetHasMore() bool
func (*LogCursorData) GetNext ¶
func (l *LogCursorData) GetNext() *string
func (*LogCursorData) GetPageSize ¶
func (l *LogCursorData) GetPageSize() int64
func (*LogCursorData) GetPrevious ¶
func (l *LogCursorData) GetPrevious() *string
type Module ¶
type Module struct {
Name string `json:"name"`
State ModuleState `json:"state"`
Status ModuleStatus `json:"status"`
LastStatusUpdate time.Time `json:"lastStatusUpdate"`
LastStateUpdate time.Time `json:"lastStateUpdate"`
ClusterStatus *ClusterStatus `json:"clusterStatus,omitzero"`
}
func (*Module) GetClusterStatus ¶
func (m *Module) GetClusterStatus() *ClusterStatus
func (*Module) GetLastStateUpdate ¶
func (*Module) GetLastStatusUpdate ¶
func (*Module) GetState ¶
func (m *Module) GetState() ModuleState
func (*Module) GetStatus ¶
func (m *Module) GetStatus() ModuleStatus
func (Module) MarshalJSON ¶
func (*Module) UnmarshalJSON ¶
type ModuleState ¶
type ModuleState string
const ( ModuleStateEnabled ModuleState = "ENABLED" ModuleStateDisabled ModuleState = "DISABLED" )
func (*ModuleState) IsExact ¶
func (e *ModuleState) IsExact() bool
IsExact returns true if the value matches a known enum value, false otherwise.
func (ModuleState) ToPointer ¶
func (e ModuleState) ToPointer() *ModuleState
type ModuleStatus ¶
type ModuleStatus string
const ( ModuleStatusUnknown ModuleStatus = "UNKNOWN" ModuleStatusProgressing ModuleStatus = "PROGRESSING" ModuleStatusReady ModuleStatus = "READY" ModuleStatusDeleted ModuleStatus = "DELETED" )
func (*ModuleStatus) IsExact ¶
func (e *ModuleStatus) IsExact() bool
IsExact returns true if the value matches a known enum value, false otherwise.
func (ModuleStatus) ToPointer ¶
func (e ModuleStatus) ToPointer() *ModuleStatus
type OrganizationAccess ¶
type OrganizationAccess struct {
Email string `json:"email"`
ID string `json:"id"`
// Policy ID applied to the user
PolicyID int64 `json:"policyId"`
}
func (*OrganizationAccess) GetEmail ¶
func (o *OrganizationAccess) GetEmail() string
func (*OrganizationAccess) GetID ¶
func (o *OrganizationAccess) GetID() string
func (*OrganizationAccess) GetPolicyID ¶
func (o *OrganizationAccess) GetPolicyID() int64
type OrganizationApplication ¶
type OrganizationApplication struct {
// Organization ID
OrganizationID string `json:"organizationId"`
// Application ID
ApplicationID string `json:"applicationId"`
// Creation date
CreatedAt time.Time `json:"createdAt"`
}
func (*OrganizationApplication) GetApplicationID ¶
func (o *OrganizationApplication) GetApplicationID() string
func (*OrganizationApplication) GetCreatedAt ¶
func (o *OrganizationApplication) GetCreatedAt() time.Time
func (*OrganizationApplication) GetOrganizationID ¶
func (o *OrganizationApplication) GetOrganizationID() string
func (OrganizationApplication) MarshalJSON ¶
func (o OrganizationApplication) MarshalJSON() ([]byte, error)
func (*OrganizationApplication) UnmarshalJSON ¶
func (o *OrganizationApplication) UnmarshalJSON(data []byte) error
type OrganizationClient ¶
type OrganizationClient struct {
// Organization ID
ID string `json:"id"`
Secret OrganizationClientSecret `json:"secret"`
// Name of the client
Name string `json:"name"`
// Description of the client
Description string `json:"description"`
CreatedAt time.Time `json:"createdAt"`
UpdatedAt time.Time `json:"updatedAt"`
}
func (*OrganizationClient) GetCreatedAt ¶
func (o *OrganizationClient) GetCreatedAt() time.Time
func (*OrganizationClient) GetDescription ¶
func (o *OrganizationClient) GetDescription() string
func (*OrganizationClient) GetID ¶
func (o *OrganizationClient) GetID() string
func (*OrganizationClient) GetName ¶
func (o *OrganizationClient) GetName() string
func (*OrganizationClient) GetSecret ¶
func (o *OrganizationClient) GetSecret() OrganizationClientSecret
func (*OrganizationClient) GetUpdatedAt ¶
func (o *OrganizationClient) GetUpdatedAt() time.Time
func (OrganizationClient) MarshalJSON ¶
func (o OrganizationClient) MarshalJSON() ([]byte, error)
func (*OrganizationClient) UnmarshalJSON ¶
func (o *OrganizationClient) UnmarshalJSON(data []byte) error
type OrganizationClientSecret ¶
type OrganizationClientSecret struct {
LastDigits string `json:"lastDigits"`
Clear *string `json:"clear,omitzero"`
}
func (*OrganizationClientSecret) GetClear ¶
func (o *OrganizationClientSecret) GetClear() *string
func (*OrganizationClientSecret) GetLastDigits ¶
func (o *OrganizationClientSecret) GetLastDigits() string
type OrganizationData ¶
type OrganizationData struct {
// Organization name
Name string `json:"name"`
// Organization domain
Domain *string `json:"domain,omitzero"`
// Default policy ID applied to new users
DefaultPolicyID *int64 `json:"defaultPolicyID"`
}
func (*OrganizationData) GetDefaultPolicyID ¶
func (o *OrganizationData) GetDefaultPolicyID() *int64
func (*OrganizationData) GetDomain ¶
func (o *OrganizationData) GetDomain() *string
func (*OrganizationData) GetName ¶
func (o *OrganizationData) GetName() string
type OrganizationExpanded ¶
type OrganizationExpanded struct {
// Organization name
Name string `json:"name"`
// Organization domain
Domain *string `json:"domain,omitzero"`
// Default policy ID applied to new users
DefaultPolicyID *int64 `json:"defaultPolicyID"`
// Organization ID
ID string `json:"id"`
// Owner ID
OwnerID string `json:"ownerId"`
// Number of available stacks
AvailableStacks *int64 `json:"availableStacks,omitzero"`
// Number of available sandboxes
AvailableSandboxes *int64 `json:"availableSandboxes,omitzero"`
CreatedAt *time.Time `json:"createdAt,omitzero"`
UpdatedAt *time.Time `json:"updatedAt,omitzero"`
TotalStacks *int64 `json:"totalStacks,omitzero"`
TotalUsers *int64 `json:"totalUsers,omitzero"`
Owner *User `json:"owner,omitzero"`
}
func (*OrganizationExpanded) GetAvailableSandboxes ¶
func (o *OrganizationExpanded) GetAvailableSandboxes() *int64
func (*OrganizationExpanded) GetAvailableStacks ¶
func (o *OrganizationExpanded) GetAvailableStacks() *int64
func (*OrganizationExpanded) GetCreatedAt ¶
func (o *OrganizationExpanded) GetCreatedAt() *time.Time
func (*OrganizationExpanded) GetDefaultPolicyID ¶
func (o *OrganizationExpanded) GetDefaultPolicyID() *int64
func (*OrganizationExpanded) GetDomain ¶
func (o *OrganizationExpanded) GetDomain() *string
func (*OrganizationExpanded) GetID ¶
func (o *OrganizationExpanded) GetID() string
func (*OrganizationExpanded) GetName ¶
func (o *OrganizationExpanded) GetName() string
func (*OrganizationExpanded) GetOwner ¶
func (o *OrganizationExpanded) GetOwner() *User
func (*OrganizationExpanded) GetOwnerID ¶
func (o *OrganizationExpanded) GetOwnerID() string
func (*OrganizationExpanded) GetTotalStacks ¶
func (o *OrganizationExpanded) GetTotalStacks() *int64
func (*OrganizationExpanded) GetTotalUsers ¶
func (o *OrganizationExpanded) GetTotalUsers() *int64
func (*OrganizationExpanded) GetUpdatedAt ¶
func (o *OrganizationExpanded) GetUpdatedAt() *time.Time
func (OrganizationExpanded) MarshalJSON ¶
func (o OrganizationExpanded) MarshalJSON() ([]byte, error)
func (*OrganizationExpanded) UnmarshalJSON ¶
func (o *OrganizationExpanded) UnmarshalJSON(data []byte) error
type OrganizationFeature ¶
type OrganizationFeature struct {
OrganizationID string `json:"organizationID"`
Name string `json:"name"`
CreatedAt time.Time `json:"createdAt"`
}
func (*OrganizationFeature) GetCreatedAt ¶
func (o *OrganizationFeature) GetCreatedAt() time.Time
func (*OrganizationFeature) GetName ¶
func (o *OrganizationFeature) GetName() string
func (*OrganizationFeature) GetOrganizationID ¶
func (o *OrganizationFeature) GetOrganizationID() string
func (OrganizationFeature) MarshalJSON ¶
func (o OrganizationFeature) MarshalJSON() ([]byte, error)
func (*OrganizationFeature) UnmarshalJSON ¶
func (o *OrganizationFeature) UnmarshalJSON(data []byte) error
type OrganizationUser ¶
type OrganizationUser struct {
Email string `json:"email"`
ID string `json:"id"`
// Policy ID applied to the user
PolicyID int64 `json:"policyId"`
}
func (*OrganizationUser) GetEmail ¶
func (o *OrganizationUser) GetEmail() string
func (*OrganizationUser) GetID ¶
func (o *OrganizationUser) GetID() string
func (*OrganizationUser) GetPolicyID ¶
func (o *OrganizationUser) GetPolicyID() int64
type Policy ¶
type Policy struct {
// Policy name
Name string `json:"name"`
// Policy description
Description *string `json:"description,omitzero"`
// Policy ID
ID int64 `json:"id"`
// Organization ID
OrganizationID *string `json:"organizationId,omitzero"`
// Whether the policy is protected from modification
Protected bool `json:"protected"`
// List of scopes assigned to the policy (only present when fetched via GET endpoint)
Scopes []Scope `json:"scopes,omitzero"`
// Creation date
CreatedAt time.Time `json:"createdAt"`
// Last update date
UpdatedAt time.Time `json:"updatedAt"`
}
func (*Policy) GetCreatedAt ¶
func (*Policy) GetDescription ¶
func (*Policy) GetOrganizationID ¶
func (*Policy) GetProtected ¶
func (*Policy) GetUpdatedAt ¶
func (Policy) MarshalJSON ¶
func (*Policy) UnmarshalJSON ¶
type PrivateRegion ¶
type PrivateRegion struct {
ID string `json:"id"`
BaseURL string `json:"baseUrl"`
CreatedAt string `json:"createdAt"`
Active bool `json:"active"`
LastPing *time.Time `json:"lastPing,omitzero"`
Name string `json:"name"`
Capabilities RegionCapability `json:"capabilities"`
AgentID string `json:"agentID"`
Outdated bool `json:"outdated"`
CreatorID *string `json:"creatorId,omitzero"`
Version *string `json:"version,omitzero"`
OrganizationID string `json:"organizationID"`
CreatorId1 string `json:"creatorID"`
Secret *PrivateRegionSecret `json:"secret,omitzero"`
}
func (*PrivateRegion) GetActive ¶
func (p *PrivateRegion) GetActive() bool
func (*PrivateRegion) GetAgentID ¶
func (p *PrivateRegion) GetAgentID() string
func (*PrivateRegion) GetBaseURL ¶
func (p *PrivateRegion) GetBaseURL() string
func (*PrivateRegion) GetCapabilities ¶
func (p *PrivateRegion) GetCapabilities() RegionCapability
func (*PrivateRegion) GetCreatedAt ¶
func (p *PrivateRegion) GetCreatedAt() string
func (*PrivateRegion) GetCreatorID ¶
func (p *PrivateRegion) GetCreatorID() *string
func (*PrivateRegion) GetCreatorId1 ¶
func (p *PrivateRegion) GetCreatorId1() string
func (*PrivateRegion) GetID ¶
func (p *PrivateRegion) GetID() string
func (*PrivateRegion) GetLastPing ¶
func (p *PrivateRegion) GetLastPing() *time.Time
func (*PrivateRegion) GetName ¶
func (p *PrivateRegion) GetName() string
func (*PrivateRegion) GetOrganizationID ¶
func (p *PrivateRegion) GetOrganizationID() string
func (*PrivateRegion) GetOutdated ¶
func (p *PrivateRegion) GetOutdated() bool
func (*PrivateRegion) GetSecret ¶
func (p *PrivateRegion) GetSecret() *PrivateRegionSecret
func (*PrivateRegion) GetVersion ¶
func (p *PrivateRegion) GetVersion() *string
func (PrivateRegion) MarshalJSON ¶
func (p PrivateRegion) MarshalJSON() ([]byte, error)
func (*PrivateRegion) UnmarshalJSON ¶
func (p *PrivateRegion) UnmarshalJSON(data []byte) error
type PrivateRegionSecret ¶
type PrivateRegionSecret struct {
LastDigits string `json:"lastDigits"`
Clear *string `json:"clear,omitzero"`
}
func (*PrivateRegionSecret) GetClear ¶
func (p *PrivateRegionSecret) GetClear() *string
func (*PrivateRegionSecret) GetLastDigits ¶
func (p *PrivateRegionSecret) GetLastDigits() string
type ReadOrganizationClientResponse ¶
type ReadOrganizationClientResponse struct {
Data OrganizationClient `json:"data"`
}
func (*ReadOrganizationClientResponse) GetData ¶
func (r *ReadOrganizationClientResponse) GetData() OrganizationClient
type ReadOrganizationClientsResponse ¶
type ReadOrganizationClientsResponse struct {
Data ReadOrganizationClientsResponseData `json:"data"`
}
func (*ReadOrganizationClientsResponse) GetData ¶
func (r *ReadOrganizationClientsResponse) GetData() ReadOrganizationClientsResponseData
type ReadOrganizationClientsResponseData ¶
type ReadOrganizationClientsResponseData struct {
PageSize int64 `json:"pageSize"`
HasMore bool `json:"hasMore"`
Previous *string `json:"previous,omitzero"`
Next *string `json:"next,omitzero"`
Data []OrganizationClient `json:"data"`
}
func (*ReadOrganizationClientsResponseData) GetData ¶
func (r *ReadOrganizationClientsResponseData) GetData() []OrganizationClient
func (*ReadOrganizationClientsResponseData) GetHasMore ¶
func (r *ReadOrganizationClientsResponseData) GetHasMore() bool
func (*ReadOrganizationClientsResponseData) GetNext ¶
func (r *ReadOrganizationClientsResponseData) GetNext() *string
func (*ReadOrganizationClientsResponseData) GetPageSize ¶
func (r *ReadOrganizationClientsResponseData) GetPageSize() int64
func (*ReadOrganizationClientsResponseData) GetPrevious ¶
func (r *ReadOrganizationClientsResponseData) GetPrevious() *string
type ReadOrganizationResponse ¶
type ReadOrganizationResponse struct {
Data *OrganizationExpanded `json:"data,omitzero"`
}
func (*ReadOrganizationResponse) GetData ¶
func (r *ReadOrganizationResponse) GetData() *OrganizationExpanded
func (ReadOrganizationResponse) MarshalJSON ¶
func (r ReadOrganizationResponse) MarshalJSON() ([]byte, error)
func (*ReadOrganizationResponse) UnmarshalJSON ¶
func (r *ReadOrganizationResponse) UnmarshalJSON(data []byte) error
type ReadOrganizationUserResponse ¶
type ReadOrganizationUserResponse struct {
Data *ReadOrganizationUserResponseData `json:"data,omitzero"`
}
func (*ReadOrganizationUserResponse) GetData ¶
func (r *ReadOrganizationUserResponse) GetData() *ReadOrganizationUserResponseData
func (ReadOrganizationUserResponse) MarshalJSON ¶
func (r ReadOrganizationUserResponse) MarshalJSON() ([]byte, error)
func (*ReadOrganizationUserResponse) UnmarshalJSON ¶
func (r *ReadOrganizationUserResponse) UnmarshalJSON(data []byte) error
type ReadOrganizationUserResponseData ¶
type ReadOrganizationUserResponseData struct {
Email string `json:"email"`
ID string `json:"id"`
// Policy ID applied to the user
PolicyID int64 `json:"policyId"`
}
func (*ReadOrganizationUserResponseData) GetEmail ¶
func (r *ReadOrganizationUserResponseData) GetEmail() string
func (*ReadOrganizationUserResponseData) GetID ¶
func (r *ReadOrganizationUserResponseData) GetID() string
func (*ReadOrganizationUserResponseData) GetPolicyID ¶
func (r *ReadOrganizationUserResponseData) GetPolicyID() int64
type ReadPolicyResponse ¶
type ReadPolicyResponse struct {
Data *Policy `json:"data,omitzero"`
}
func (*ReadPolicyResponse) GetData ¶
func (r *ReadPolicyResponse) GetData() *Policy
func (ReadPolicyResponse) MarshalJSON ¶
func (r ReadPolicyResponse) MarshalJSON() ([]byte, error)
func (*ReadPolicyResponse) UnmarshalJSON ¶
func (r *ReadPolicyResponse) UnmarshalJSON(data []byte) error
type ReadStackResponse ¶
type ReadStackResponse struct {
Data *Stack `json:"data,omitzero"`
}
func (*ReadStackResponse) GetData ¶
func (r *ReadStackResponse) GetData() *Stack
func (ReadStackResponse) MarshalJSON ¶
func (r ReadStackResponse) MarshalJSON() ([]byte, error)
func (*ReadStackResponse) UnmarshalJSON ¶
func (r *ReadStackResponse) UnmarshalJSON(data []byte) error
type ReadStackUserAccess ¶
type ReadStackUserAccess struct {
Data *ReadStackUserAccessData `json:"data,omitzero"`
}
func (*ReadStackUserAccess) GetData ¶
func (r *ReadStackUserAccess) GetData() *ReadStackUserAccessData
func (ReadStackUserAccess) MarshalJSON ¶
func (r ReadStackUserAccess) MarshalJSON() ([]byte, error)
func (*ReadStackUserAccess) UnmarshalJSON ¶
func (r *ReadStackUserAccess) UnmarshalJSON(data []byte) error
type ReadStackUserAccessData ¶
type ReadStackUserAccessData struct {
// Stack ID
StackID string `json:"stackId"`
// User ID
UserID string `json:"userId"`
// User email
Email string `json:"email"`
// Policy ID applied to the user for the stack
PolicyID int64 `json:"policyId"`
}
func (*ReadStackUserAccessData) GetEmail ¶
func (r *ReadStackUserAccessData) GetEmail() string
func (*ReadStackUserAccessData) GetPolicyID ¶
func (r *ReadStackUserAccessData) GetPolicyID() int64
func (*ReadStackUserAccessData) GetStackID ¶
func (r *ReadStackUserAccessData) GetStackID() string
func (*ReadStackUserAccessData) GetUserID ¶
func (r *ReadStackUserAccessData) GetUserID() string
type ReadUserResponse ¶
type ReadUserResponse struct {
Data *User `json:"data,omitzero"`
}
func (*ReadUserResponse) GetData ¶
func (r *ReadUserResponse) GetData() *User
func (ReadUserResponse) MarshalJSON ¶
func (r ReadUserResponse) MarshalJSON() ([]byte, error)
func (*ReadUserResponse) UnmarshalJSON ¶
func (r *ReadUserResponse) UnmarshalJSON(data []byte) error
type Region ¶
type Region struct {
ID string `json:"id"`
BaseURL string `json:"baseUrl"`
CreatedAt string `json:"createdAt"`
Active bool `json:"active"`
LastPing *time.Time `json:"lastPing,omitzero"`
Name string `json:"name"`
Capabilities RegionCapability `json:"capabilities"`
AgentID string `json:"agentID"`
Outdated bool `json:"outdated"`
CreatorID *string `json:"creatorId,omitzero"`
Version *string `json:"version,omitzero"`
}
func (*Region) GetAgentID ¶
func (*Region) GetBaseURL ¶
func (*Region) GetCapabilities ¶
func (r *Region) GetCapabilities() RegionCapability
func (*Region) GetCreatedAt ¶
func (*Region) GetCreatorID ¶
func (*Region) GetLastPing ¶
func (*Region) GetOutdated ¶
func (*Region) GetVersion ¶
func (Region) MarshalJSON ¶
func (*Region) UnmarshalJSON ¶
type RegionCapability ¶
type RegionCapability struct {
ModuleList []string `json:"MODULE_LIST,omitzero"`
Ee []string `json:"EE,omitzero"`
}
func (*RegionCapability) GetEe ¶
func (r *RegionCapability) GetEe() []string
func (*RegionCapability) GetModuleList ¶
func (r *RegionCapability) GetModuleList() []string
func (RegionCapability) MarshalJSON ¶
func (r RegionCapability) MarshalJSON() ([]byte, error)
func (*RegionCapability) UnmarshalJSON ¶
func (r *RegionCapability) UnmarshalJSON(data []byte) error
type Scope ¶
type Scope struct {
// Scope ID
ID int64 `json:"id"`
// The OAuth2 scope label (e.g., "custom:read")
Label string `json:"label"`
// Scope description
Description *string `json:"description,omitzero"`
// Application ID (null for global scopes)
ApplicationID *string `json:"applicationId,omitzero"`
// Whether the scope is protected
Protected *bool `default:"false" json:"protected"`
// Creation timestamp
CreatedAt time.Time `json:"createdAt"`
// Last update timestamp
UpdatedAt time.Time `json:"updatedAt"`
}
func (*Scope) GetApplicationID ¶
func (*Scope) GetCreatedAt ¶
func (*Scope) GetDescription ¶
func (*Scope) GetProtected ¶
func (*Scope) GetUpdatedAt ¶
func (Scope) MarshalJSON ¶
func (*Scope) UnmarshalJSON ¶
type Security ¶
type Security struct {
Oauth2 string `security:"scheme,type=oauth2,name=Authorization"`
}
type ServerInfo ¶
type ServerInfo struct {
Version string `json:"version"`
Capabilities []Capability `json:"capabilities,omitzero"`
ConsoleURL *string `json:"consoleURL,omitzero"`
}
func (*ServerInfo) GetCapabilities ¶
func (s *ServerInfo) GetCapabilities() []Capability
func (*ServerInfo) GetConsoleURL ¶
func (s *ServerInfo) GetConsoleURL() *string
func (*ServerInfo) GetVersion ¶
func (s *ServerInfo) GetVersion() string
func (ServerInfo) MarshalJSON ¶
func (s ServerInfo) MarshalJSON() ([]byte, error)
func (*ServerInfo) UnmarshalJSON ¶
func (s *ServerInfo) UnmarshalJSON(data []byte) error
type Stack ¶
type Stack struct {
// Stack name
Name string `json:"name"`
Metadata map[string]string `json:"metadata,omitzero"`
// Supported only with agent version >= v0.7.0
Version *string `json:"version,omitzero"`
Status StackStatus `json:"status"`
State StackState `json:"state"`
ExpectedStatus ExpectedStatus `json:"expectedStatus"`
LastStateUpdate time.Time `json:"lastStateUpdate"`
LastExpectedStatusUpdate time.Time `json:"lastExpectedStatusUpdate"`
LastStatusUpdate time.Time `json:"lastStatusUpdate"`
WarnedAt *time.Time `json:"warnedAt,omitzero"`
DisposableSince *time.Time `json:"disposableSince,omitzero"`
// Stack is reachable through Stargate
Reachable bool `json:"reachable"`
// Last time the stack was reachable
LastReachableUpdate *time.Time `json:"lastReachableUpdate,omitzero"`
// Stack ID
ID string `json:"id"`
// Organization ID
OrganizationID string `json:"organizationId"`
// Base stack uri
URI string `json:"uri"`
// The region where the stack is installed
RegionID string `json:"regionID"`
Region *Region `json:"region,omitzero"`
StargateEnabled bool `json:"stargateEnabled"`
CreatedAt *time.Time `json:"createdAt,omitzero"`
DeletedAt *time.Time `json:"deletedAt,omitzero"`
DisabledAt *time.Time `json:"disabledAt,omitzero"`
AuditEnabled *bool `json:"auditEnabled,omitzero"`
Synchronised bool `json:"synchronised"`
UpdatedAt *time.Time `json:"updatedAt,omitzero"`
Modules []Module `json:"modules"`
}
func (*Stack) GetAuditEnabled ¶
func (*Stack) GetCreatedAt ¶
func (*Stack) GetDeletedAt ¶
func (*Stack) GetDisabledAt ¶
func (*Stack) GetDisposableSince ¶
func (*Stack) GetExpectedStatus ¶
func (s *Stack) GetExpectedStatus() ExpectedStatus
func (*Stack) GetLastExpectedStatusUpdate ¶
func (*Stack) GetLastReachableUpdate ¶
func (*Stack) GetLastStateUpdate ¶
func (*Stack) GetLastStatusUpdate ¶
func (*Stack) GetMetadata ¶
func (*Stack) GetModules ¶
func (*Stack) GetOrganizationID ¶
func (*Stack) GetReachable ¶
func (*Stack) GetRegionID ¶
func (*Stack) GetStargateEnabled ¶
func (*Stack) GetState ¶
func (s *Stack) GetState() StackState
func (*Stack) GetStatus ¶
func (s *Stack) GetStatus() StackStatus
func (*Stack) GetSynchronised ¶
func (*Stack) GetUpdatedAt ¶
func (*Stack) GetVersion ¶
func (*Stack) GetWarnedAt ¶
func (Stack) MarshalJSON ¶
func (*Stack) UnmarshalJSON ¶
type StackData ¶
type StackData struct {
// Stack name
Name string `json:"name"`
Metadata map[string]string `json:"metadata,omitzero"`
}
func (*StackData) GetMetadata ¶
func (StackData) MarshalJSON ¶
func (*StackData) UnmarshalJSON ¶
type StackState ¶
type StackState string
const ( StackStateActive StackState = "ACTIVE" StackStateDisabled StackState = "DISABLED" StackStateDeleted StackState = "DELETED" )
func (*StackState) IsExact ¶
func (e *StackState) IsExact() bool
IsExact returns true if the value matches a known enum value, false otherwise.
func (StackState) ToPointer ¶
func (e StackState) ToPointer() *StackState
type StackStatus ¶
type StackStatus string
const ( StackStatusUnknown StackStatus = "UNKNOWN" StackStatusProgressing StackStatus = "PROGRESSING" StackStatusReady StackStatus = "READY" StackStatusDisabled StackStatus = "DISABLED" StackStatusDeleted StackStatus = "DELETED" )
func (*StackStatus) IsExact ¶
func (e *StackStatus) IsExact() bool
IsExact returns true if the value matches a known enum value, false otherwise.
func (StackStatus) ToPointer ¶
func (e StackStatus) ToPointer() *StackStatus
type StackUserAccessResponse ¶
type StackUserAccessResponse struct {
Data []StackUserAccessResponseData `json:"data,omitzero"`
}
func (*StackUserAccessResponse) GetData ¶
func (s *StackUserAccessResponse) GetData() []StackUserAccessResponseData
func (StackUserAccessResponse) MarshalJSON ¶
func (s StackUserAccessResponse) MarshalJSON() ([]byte, error)
func (*StackUserAccessResponse) UnmarshalJSON ¶
func (s *StackUserAccessResponse) UnmarshalJSON(data []byte) error
type StackUserAccessResponseData ¶
type StackUserAccessResponseData struct {
// Stack ID
StackID string `json:"stackId"`
// User ID
UserID string `json:"userId"`
// User email
Email string `json:"email"`
// Policy ID applied to the user for the stack
PolicyID int64 `json:"policyId"`
}
func (*StackUserAccessResponseData) GetEmail ¶
func (s *StackUserAccessResponseData) GetEmail() string
func (*StackUserAccessResponseData) GetPolicyID ¶
func (s *StackUserAccessResponseData) GetPolicyID() int64
func (*StackUserAccessResponseData) GetStackID ¶
func (s *StackUserAccessResponseData) GetStackID() string
func (*StackUserAccessResponseData) GetUserID ¶
func (s *StackUserAccessResponseData) GetUserID() string
type StackVersion ¶
type StackVersion struct {
// Supported only with agent version >= v0.7.0
Version *string `json:"version,omitzero"`
}
func (*StackVersion) GetVersion ¶
func (s *StackVersion) GetVersion() *string
type SystemRole ¶
type SystemRole string
const ( SystemRoleUser SystemRole = "USER" SystemRoleSystem SystemRole = "SYSTEM" )
func (*SystemRole) IsExact ¶
func (e *SystemRole) IsExact() bool
IsExact returns true if the value matches a known enum value, false otherwise.
func (SystemRole) ToPointer ¶
func (e SystemRole) ToPointer() *SystemRole
type UpdateApplicationResponse ¶
type UpdateApplicationResponse struct {
Data *Application `json:"data,omitzero"`
}
func (*UpdateApplicationResponse) GetData ¶
func (u *UpdateApplicationResponse) GetData() *Application
func (UpdateApplicationResponse) MarshalJSON ¶
func (u UpdateApplicationResponse) MarshalJSON() ([]byte, error)
func (*UpdateApplicationResponse) UnmarshalJSON ¶
func (u *UpdateApplicationResponse) UnmarshalJSON(data []byte) error
type UpdateOrganizationClientRequest ¶
type UpdateOrganizationClientRequest struct {
// Name of the client
Name string `json:"name"`
// Description of the client
Description *string `json:"description,omitzero"`
}
func (*UpdateOrganizationClientRequest) GetDescription ¶
func (u *UpdateOrganizationClientRequest) GetDescription() *string
func (*UpdateOrganizationClientRequest) GetName ¶
func (u *UpdateOrganizationClientRequest) GetName() string
type UpdateOrganizationUserRequest ¶
type UpdateOrganizationUserRequest struct {
// Policy ID applied to the user
PolicyID *int64 `json:"policyId,omitzero"`
}
func (*UpdateOrganizationUserRequest) GetPolicyID ¶
func (u *UpdateOrganizationUserRequest) GetPolicyID() *int64
type UpdatePolicyResponse ¶
type UpdatePolicyResponse struct {
Data *Policy `json:"data,omitzero"`
}
func (*UpdatePolicyResponse) GetData ¶
func (u *UpdatePolicyResponse) GetData() *Policy
func (UpdatePolicyResponse) MarshalJSON ¶
func (u UpdatePolicyResponse) MarshalJSON() ([]byte, error)
func (*UpdatePolicyResponse) UnmarshalJSON ¶
func (u *UpdatePolicyResponse) UnmarshalJSON(data []byte) error
type UpdateStackUserRequest ¶
type UpdateStackUserRequest struct {
PolicyID int64 `json:"policyId"`
}
func (*UpdateStackUserRequest) GetPolicyID ¶
func (u *UpdateStackUserRequest) GetPolicyID() int64
type UpsertAuthenticationProviderRequest ¶
type UpsertAuthenticationProviderRequest struct {
UpsertAuthenticationProviderRequestGoogleIDPConfig *UpsertAuthenticationProviderRequestGoogleIDPConfig `queryParam:"inline" union:"member"`
UpsertAuthenticationProviderRequestMicrosoftIDPConfig *UpsertAuthenticationProviderRequestMicrosoftIDPConfig `queryParam:"inline" union:"member"`
UpsertAuthenticationProviderRequestGithubIDPConfig *UpsertAuthenticationProviderRequestGithubIDPConfig `queryParam:"inline" union:"member"`
UpsertAuthenticationProviderRequestOIDCConfig *UpsertAuthenticationProviderRequestOIDCConfig `queryParam:"inline" union:"member"`
Type UpsertAuthenticationProviderRequestType
}
func CreateUpsertAuthenticationProviderRequestUpsertAuthenticationProviderRequestGithubIDPConfig ¶
func CreateUpsertAuthenticationProviderRequestUpsertAuthenticationProviderRequestGithubIDPConfig(upsertAuthenticationProviderRequestGithubIDPConfig UpsertAuthenticationProviderRequestGithubIDPConfig) UpsertAuthenticationProviderRequest
func CreateUpsertAuthenticationProviderRequestUpsertAuthenticationProviderRequestGoogleIDPConfig ¶
func CreateUpsertAuthenticationProviderRequestUpsertAuthenticationProviderRequestGoogleIDPConfig(upsertAuthenticationProviderRequestGoogleIDPConfig UpsertAuthenticationProviderRequestGoogleIDPConfig) UpsertAuthenticationProviderRequest
func CreateUpsertAuthenticationProviderRequestUpsertAuthenticationProviderRequestMicrosoftIDPConfig ¶
func CreateUpsertAuthenticationProviderRequestUpsertAuthenticationProviderRequestMicrosoftIDPConfig(upsertAuthenticationProviderRequestMicrosoftIDPConfig UpsertAuthenticationProviderRequestMicrosoftIDPConfig) UpsertAuthenticationProviderRequest
func CreateUpsertAuthenticationProviderRequestUpsertAuthenticationProviderRequestOIDCConfig ¶
func CreateUpsertAuthenticationProviderRequestUpsertAuthenticationProviderRequestOIDCConfig(upsertAuthenticationProviderRequestOIDCConfig UpsertAuthenticationProviderRequestOIDCConfig) UpsertAuthenticationProviderRequest
func (UpsertAuthenticationProviderRequest) MarshalJSON ¶
func (u UpsertAuthenticationProviderRequest) MarshalJSON() ([]byte, error)
func (*UpsertAuthenticationProviderRequest) UnmarshalJSON ¶
func (u *UpsertAuthenticationProviderRequest) UnmarshalJSON(data []byte) error
type UpsertAuthenticationProviderRequestGithubIDPConfig ¶
type UpsertAuthenticationProviderRequestGithubIDPConfig struct {
// Type of the authentication provider
Type UpsertAuthenticationProviderRequestGithubIDPConfigType `json:"type"`
// Name of the authentication provider
Name string `json:"name"`
// Client ID for the authentication provider
ClientID string `json:"clientID"`
// Client secret for the authentication provider
ClientSecret string `json:"clientSecret"`
Config UpsertAuthenticationProviderRequestGithubIDPConfigConfig `json:"config"`
}
func (*UpsertAuthenticationProviderRequestGithubIDPConfig) GetClientID ¶
func (u *UpsertAuthenticationProviderRequestGithubIDPConfig) GetClientID() string
func (*UpsertAuthenticationProviderRequestGithubIDPConfig) GetClientSecret ¶
func (u *UpsertAuthenticationProviderRequestGithubIDPConfig) GetClientSecret() string
func (*UpsertAuthenticationProviderRequestGithubIDPConfig) GetName ¶
func (u *UpsertAuthenticationProviderRequestGithubIDPConfig) GetName() string
func (UpsertAuthenticationProviderRequestGithubIDPConfig) MarshalJSON ¶
func (u UpsertAuthenticationProviderRequestGithubIDPConfig) MarshalJSON() ([]byte, error)
func (*UpsertAuthenticationProviderRequestGithubIDPConfig) UnmarshalJSON ¶
func (u *UpsertAuthenticationProviderRequestGithubIDPConfig) UnmarshalJSON(data []byte) error
type UpsertAuthenticationProviderRequestGithubIDPConfigConfig ¶
type UpsertAuthenticationProviderRequestGithubIDPConfigConfig struct {
}
func (UpsertAuthenticationProviderRequestGithubIDPConfigConfig) MarshalJSON ¶
func (u UpsertAuthenticationProviderRequestGithubIDPConfigConfig) MarshalJSON() ([]byte, error)
func (*UpsertAuthenticationProviderRequestGithubIDPConfigConfig) UnmarshalJSON ¶
func (u *UpsertAuthenticationProviderRequestGithubIDPConfigConfig) UnmarshalJSON(data []byte) error
type UpsertAuthenticationProviderRequestGithubIDPConfigType ¶
type UpsertAuthenticationProviderRequestGithubIDPConfigType string
UpsertAuthenticationProviderRequestGithubIDPConfigType - Type of the authentication provider
const ( UpsertAuthenticationProviderRequestGithubIDPConfigTypeOidc UpsertAuthenticationProviderRequestGithubIDPConfigType = "oidc" UpsertAuthenticationProviderRequestGithubIDPConfigTypeGoogle UpsertAuthenticationProviderRequestGithubIDPConfigType = "google" UpsertAuthenticationProviderRequestGithubIDPConfigTypeGithub UpsertAuthenticationProviderRequestGithubIDPConfigType = "github" UpsertAuthenticationProviderRequestGithubIDPConfigTypeMicrosoft UpsertAuthenticationProviderRequestGithubIDPConfigType = "microsoft" )
func (*UpsertAuthenticationProviderRequestGithubIDPConfigType) UnmarshalJSON ¶
func (e *UpsertAuthenticationProviderRequestGithubIDPConfigType) UnmarshalJSON(data []byte) error
type UpsertAuthenticationProviderRequestGoogleIDPConfig ¶
type UpsertAuthenticationProviderRequestGoogleIDPConfig struct {
// Type of the authentication provider
Type UpsertAuthenticationProviderRequestGoogleIDPConfigType `json:"type"`
// Name of the authentication provider
Name string `json:"name"`
// Client ID for the authentication provider
ClientID string `json:"clientID"`
// Client secret for the authentication provider
ClientSecret string `json:"clientSecret"`
Config UpsertAuthenticationProviderRequestGoogleIDPConfigConfig `json:"config"`
}
func (*UpsertAuthenticationProviderRequestGoogleIDPConfig) GetClientID ¶
func (u *UpsertAuthenticationProviderRequestGoogleIDPConfig) GetClientID() string
func (*UpsertAuthenticationProviderRequestGoogleIDPConfig) GetClientSecret ¶
func (u *UpsertAuthenticationProviderRequestGoogleIDPConfig) GetClientSecret() string
func (*UpsertAuthenticationProviderRequestGoogleIDPConfig) GetName ¶
func (u *UpsertAuthenticationProviderRequestGoogleIDPConfig) GetName() string
func (UpsertAuthenticationProviderRequestGoogleIDPConfig) MarshalJSON ¶
func (u UpsertAuthenticationProviderRequestGoogleIDPConfig) MarshalJSON() ([]byte, error)
func (*UpsertAuthenticationProviderRequestGoogleIDPConfig) UnmarshalJSON ¶
func (u *UpsertAuthenticationProviderRequestGoogleIDPConfig) UnmarshalJSON(data []byte) error
type UpsertAuthenticationProviderRequestGoogleIDPConfigConfig ¶
type UpsertAuthenticationProviderRequestGoogleIDPConfigConfig struct {
}
func (UpsertAuthenticationProviderRequestGoogleIDPConfigConfig) MarshalJSON ¶
func (u UpsertAuthenticationProviderRequestGoogleIDPConfigConfig) MarshalJSON() ([]byte, error)
func (*UpsertAuthenticationProviderRequestGoogleIDPConfigConfig) UnmarshalJSON ¶
func (u *UpsertAuthenticationProviderRequestGoogleIDPConfigConfig) UnmarshalJSON(data []byte) error
type UpsertAuthenticationProviderRequestGoogleIDPConfigType ¶
type UpsertAuthenticationProviderRequestGoogleIDPConfigType string
UpsertAuthenticationProviderRequestGoogleIDPConfigType - Type of the authentication provider
const ( UpsertAuthenticationProviderRequestGoogleIDPConfigTypeOidc UpsertAuthenticationProviderRequestGoogleIDPConfigType = "oidc" UpsertAuthenticationProviderRequestGoogleIDPConfigTypeGoogle UpsertAuthenticationProviderRequestGoogleIDPConfigType = "google" UpsertAuthenticationProviderRequestGoogleIDPConfigTypeGithub UpsertAuthenticationProviderRequestGoogleIDPConfigType = "github" UpsertAuthenticationProviderRequestGoogleIDPConfigTypeMicrosoft UpsertAuthenticationProviderRequestGoogleIDPConfigType = "microsoft" )
func (*UpsertAuthenticationProviderRequestGoogleIDPConfigType) UnmarshalJSON ¶
func (e *UpsertAuthenticationProviderRequestGoogleIDPConfigType) UnmarshalJSON(data []byte) error
type UpsertAuthenticationProviderRequestMicrosoftIDPConfig ¶
type UpsertAuthenticationProviderRequestMicrosoftIDPConfig struct {
// Type of the authentication provider
Type UpsertAuthenticationProviderRequestMicrosoftIDPConfigType `json:"type"`
// Name of the authentication provider
Name string `json:"name"`
// Client ID for the authentication provider
ClientID string `json:"clientID"`
// Client secret for the authentication provider
ClientSecret string `json:"clientSecret"`
Config UpsertAuthenticationProviderRequestMicrosoftIDPConfigConfig `json:"config"`
}
func (*UpsertAuthenticationProviderRequestMicrosoftIDPConfig) GetClientID ¶
func (u *UpsertAuthenticationProviderRequestMicrosoftIDPConfig) GetClientID() string
func (*UpsertAuthenticationProviderRequestMicrosoftIDPConfig) GetClientSecret ¶
func (u *UpsertAuthenticationProviderRequestMicrosoftIDPConfig) GetClientSecret() string
func (*UpsertAuthenticationProviderRequestMicrosoftIDPConfig) GetName ¶
func (u *UpsertAuthenticationProviderRequestMicrosoftIDPConfig) GetName() string
func (UpsertAuthenticationProviderRequestMicrosoftIDPConfig) MarshalJSON ¶
func (u UpsertAuthenticationProviderRequestMicrosoftIDPConfig) MarshalJSON() ([]byte, error)
func (*UpsertAuthenticationProviderRequestMicrosoftIDPConfig) UnmarshalJSON ¶
func (u *UpsertAuthenticationProviderRequestMicrosoftIDPConfig) UnmarshalJSON(data []byte) error
type UpsertAuthenticationProviderRequestMicrosoftIDPConfigConfig ¶
type UpsertAuthenticationProviderRequestMicrosoftIDPConfigConfig struct {
// Tenant ID for Microsoft authentication
Tenant *string `default:"common" json:"tenant"`
}
func (*UpsertAuthenticationProviderRequestMicrosoftIDPConfigConfig) GetTenant ¶
func (u *UpsertAuthenticationProviderRequestMicrosoftIDPConfigConfig) GetTenant() *string
func (UpsertAuthenticationProviderRequestMicrosoftIDPConfigConfig) MarshalJSON ¶
func (u UpsertAuthenticationProviderRequestMicrosoftIDPConfigConfig) MarshalJSON() ([]byte, error)
func (*UpsertAuthenticationProviderRequestMicrosoftIDPConfigConfig) UnmarshalJSON ¶
func (u *UpsertAuthenticationProviderRequestMicrosoftIDPConfigConfig) UnmarshalJSON(data []byte) error
type UpsertAuthenticationProviderRequestMicrosoftIDPConfigType ¶
type UpsertAuthenticationProviderRequestMicrosoftIDPConfigType string
UpsertAuthenticationProviderRequestMicrosoftIDPConfigType - Type of the authentication provider
const ( UpsertAuthenticationProviderRequestMicrosoftIDPConfigTypeOidc UpsertAuthenticationProviderRequestMicrosoftIDPConfigType = "oidc" UpsertAuthenticationProviderRequestMicrosoftIDPConfigTypeGoogle UpsertAuthenticationProviderRequestMicrosoftIDPConfigType = "google" UpsertAuthenticationProviderRequestMicrosoftIDPConfigTypeGithub UpsertAuthenticationProviderRequestMicrosoftIDPConfigType = "github" UpsertAuthenticationProviderRequestMicrosoftIDPConfigTypeMicrosoft UpsertAuthenticationProviderRequestMicrosoftIDPConfigType = "microsoft" )
func (*UpsertAuthenticationProviderRequestMicrosoftIDPConfigType) UnmarshalJSON ¶
func (e *UpsertAuthenticationProviderRequestMicrosoftIDPConfigType) UnmarshalJSON(data []byte) error
type UpsertAuthenticationProviderRequestOIDCConfig ¶
type UpsertAuthenticationProviderRequestOIDCConfig struct {
// Type of the authentication provider
Type UpsertAuthenticationProviderRequestOIDCConfigType `json:"type"`
// Name of the authentication provider
Name string `json:"name"`
// Client ID for the authentication provider
ClientID string `json:"clientID"`
// Client secret for the authentication provider
ClientSecret string `json:"clientSecret"`
Config UpsertAuthenticationProviderRequestOIDCConfigConfig `json:"config"`
}
func (*UpsertAuthenticationProviderRequestOIDCConfig) GetClientID ¶
func (u *UpsertAuthenticationProviderRequestOIDCConfig) GetClientID() string
func (*UpsertAuthenticationProviderRequestOIDCConfig) GetClientSecret ¶
func (u *UpsertAuthenticationProviderRequestOIDCConfig) GetClientSecret() string
func (*UpsertAuthenticationProviderRequestOIDCConfig) GetName ¶
func (u *UpsertAuthenticationProviderRequestOIDCConfig) GetName() string
func (UpsertAuthenticationProviderRequestOIDCConfig) MarshalJSON ¶
func (u UpsertAuthenticationProviderRequestOIDCConfig) MarshalJSON() ([]byte, error)
func (*UpsertAuthenticationProviderRequestOIDCConfig) UnmarshalJSON ¶
func (u *UpsertAuthenticationProviderRequestOIDCConfig) UnmarshalJSON(data []byte) error
type UpsertAuthenticationProviderRequestOIDCConfigConfig ¶
type UpsertAuthenticationProviderRequestOIDCConfigConfig struct {
// OIDC issuer URL
Issuer string `json:"issuer"`
DiscoveryPath *string `default:"/.well-known/openid-configuration" json:"discoveryPath"`
}
func (*UpsertAuthenticationProviderRequestOIDCConfigConfig) GetDiscoveryPath ¶
func (u *UpsertAuthenticationProviderRequestOIDCConfigConfig) GetDiscoveryPath() *string
func (*UpsertAuthenticationProviderRequestOIDCConfigConfig) GetIssuer ¶
func (u *UpsertAuthenticationProviderRequestOIDCConfigConfig) GetIssuer() string
func (UpsertAuthenticationProviderRequestOIDCConfigConfig) MarshalJSON ¶
func (u UpsertAuthenticationProviderRequestOIDCConfigConfig) MarshalJSON() ([]byte, error)
func (*UpsertAuthenticationProviderRequestOIDCConfigConfig) UnmarshalJSON ¶
func (u *UpsertAuthenticationProviderRequestOIDCConfigConfig) UnmarshalJSON(data []byte) error
type UpsertAuthenticationProviderRequestOIDCConfigType ¶
type UpsertAuthenticationProviderRequestOIDCConfigType string
UpsertAuthenticationProviderRequestOIDCConfigType - Type of the authentication provider
const ( UpsertAuthenticationProviderRequestOIDCConfigTypeOidc UpsertAuthenticationProviderRequestOIDCConfigType = "oidc" UpsertAuthenticationProviderRequestOIDCConfigTypeGoogle UpsertAuthenticationProviderRequestOIDCConfigType = "google" UpsertAuthenticationProviderRequestOIDCConfigTypeGithub UpsertAuthenticationProviderRequestOIDCConfigType = "github" UpsertAuthenticationProviderRequestOIDCConfigTypeMicrosoft UpsertAuthenticationProviderRequestOIDCConfigType = "microsoft" )
func (*UpsertAuthenticationProviderRequestOIDCConfigType) UnmarshalJSON ¶
func (e *UpsertAuthenticationProviderRequestOIDCConfigType) UnmarshalJSON(data []byte) error
type UpsertAuthenticationProviderRequestType ¶
type UpsertAuthenticationProviderRequestType string
const ( UpsertAuthenticationProviderRequestTypeUpsertAuthenticationProviderRequestGoogleIDPConfig UpsertAuthenticationProviderRequestType = "UpsertAuthenticationProviderRequest_GoogleIDPConfig" UpsertAuthenticationProviderRequestTypeUpsertAuthenticationProviderRequestMicrosoftIDPConfig UpsertAuthenticationProviderRequestType = "UpsertAuthenticationProviderRequest_MicrosoftIDPConfig" UpsertAuthenticationProviderRequestTypeUpsertAuthenticationProviderRequestGithubIDPConfig UpsertAuthenticationProviderRequestType = "UpsertAuthenticationProviderRequest_GithubIDPConfig" UpsertAuthenticationProviderRequestTypeUpsertAuthenticationProviderRequestOIDCConfig UpsertAuthenticationProviderRequestType = "UpsertAuthenticationProviderRequest_OIDCConfig" )
type User ¶
type User struct {
Email string `json:"email"`
// User ID
ID string `json:"id"`
Role *SystemRole `json:"role,omitzero"`
}
func (*User) GetRole ¶
func (u *User) GetRole() *SystemRole
type Version ¶
type Version struct {
Name string `json:"name"`
Versions map[string]string `json:"versions"`
RegionID string `json:"regionID"`
// Indicates if this version is deprecated and should not be used
Deprecated *bool `json:"deprecated,omitzero"`
}
func (*Version) GetDeprecated ¶
func (*Version) GetRegionID ¶
func (*Version) GetVersions ¶
Source Files
¶
- action.go
- anyregion.go
- application.go
- applicationdata.go
- applicationwithscope.go
- authenticationproviderresponse.go
- capability.go
- createapplicationresponse.go
- createapplicationscoperequest.go
- createapplicationscoperesponse.go
- createclientresponseresponse.go
- createdprivateregionresponse.go
- createinvitationresponse.go
- createorganizationclientrequest.go
- createorganizationclientresponse.go
- createorganizationrequest.go
- createorganizationresponse.go
- createpolicyrequest.go
- createpolicyresponse.go
- createprivateregionrequest.go
- createstackrequest.go
- createuserrequest.go
- createuserresponse.go
- enableapplicationfororganizationresponse.go
- error.go
- getapplicationresponse.go
- getregionresponse.go
- getregionversionsresponse.go
- httpmetadata.go
- invitation.go
- listapplicationsresponse.go
- listinvitationsresponse.go
- listmodulesresponse.go
- listorganizationexpandedresponse.go
- listpoliciesresponse.go
- listregionsresponse.go
- liststacksresponse.go
- listusersresponse.go
- log.go
- logcursor.go
- module.go
- organizationapplication.go
- organizationclient.go
- organizationdata.go
- organizationexpanded.go
- organizationfeature.go
- policy.go
- privateregion.go
- privateregionsecret.go
- readorganizationclientresponse.go
- readorganizationclientsresponse.go
- readorganizationresponse.go
- readorganizationuserresponse.go
- readpolicyresponse.go
- readstackresponse.go
- readstackuseraccess.go
- readuserresponse.go
- region.go
- regioncapability.go
- scope.go
- security.go
- serverinfo.go
- stack.go
- stackdata.go
- stackuseraccessresponse.go
- stackversion.go
- systemrole.go
- updateapplicationresponse.go
- updateorganizationclientrequest.go
- updateorganizationuserrequest.go
- updatepolicyresponse.go
- updatestackuserrequest.go
- upsertauthenticationproviderrequest.go
- user.go
- version.go