components

package
v3.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

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) ToPointer

func (e Action) ToPointer() *Action

func (*Action) UnmarshalJSON

func (e *Action) UnmarshalJSON(data []byte) error

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) GetActive

func (a *AnyRegion) GetActive() bool

func (*AnyRegion) GetAgentID

func (a *AnyRegion) GetAgentID() string

func (*AnyRegion) GetBaseURL

func (a *AnyRegion) GetBaseURL() string

func (*AnyRegion) GetCapabilities

func (a *AnyRegion) GetCapabilities() RegionCapability

func (*AnyRegion) GetClientID

func (a *AnyRegion) GetClientID() *string

func (*AnyRegion) GetCreatedAt

func (a *AnyRegion) GetCreatedAt() string

func (*AnyRegion) GetCreator

func (a *AnyRegion) GetCreator() *User

func (*AnyRegion) GetCreatorID

func (a *AnyRegion) GetCreatorID() *string

func (*AnyRegion) GetID

func (a *AnyRegion) GetID() string

func (*AnyRegion) GetLastPing

func (a *AnyRegion) GetLastPing() *time.Time

func (*AnyRegion) GetName

func (a *AnyRegion) GetName() string

func (*AnyRegion) GetOrganizationID

func (a *AnyRegion) GetOrganizationID() *string

func (*AnyRegion) GetOutdated

func (a *AnyRegion) GetOutdated() bool

func (*AnyRegion) GetProduction

func (a *AnyRegion) GetProduction() *bool

func (*AnyRegion) GetPublic

func (a *AnyRegion) GetPublic() bool

func (*AnyRegion) GetSecret

func (a *AnyRegion) GetSecret() *PrivateRegionSecret

func (*AnyRegion) GetVersion

func (a *AnyRegion) GetVersion() *string

func (AnyRegion) MarshalJSON

func (a AnyRegion) MarshalJSON() ([]byte, error)

func (*AnyRegion) UnmarshalJSON

func (a *AnyRegion) UnmarshalJSON(data []byte) error

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 (*AuthenticationProviderResponseGithubIDPConfig) GetClientSecret

func (*AuthenticationProviderResponseGithubIDPConfig) GetConfig

func (*AuthenticationProviderResponseGithubIDPConfig) GetCreatedAt

func (*AuthenticationProviderResponseGithubIDPConfig) GetName

func (*AuthenticationProviderResponseGithubIDPConfig) GetOrganizationID

func (*AuthenticationProviderResponseGithubIDPConfig) GetRedirectURI

func (*AuthenticationProviderResponseGithubIDPConfig) GetType

func (*AuthenticationProviderResponseGithubIDPConfig) GetUpdatedAt

func (AuthenticationProviderResponseGithubIDPConfig) MarshalJSON

func (*AuthenticationProviderResponseGithubIDPConfig) UnmarshalJSON

func (a *AuthenticationProviderResponseGithubIDPConfig) UnmarshalJSON(data []byte) error

type AuthenticationProviderResponseGithubIDPConfigConfig

type AuthenticationProviderResponseGithubIDPConfigConfig struct {
}

func (AuthenticationProviderResponseGithubIDPConfigConfig) MarshalJSON

func (*AuthenticationProviderResponseGithubIDPConfigConfig) UnmarshalJSON

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

IsExact returns true if the value matches a known enum value, false otherwise.

func (AuthenticationProviderResponseGithubIDPConfigType) ToPointer

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 (*AuthenticationProviderResponseGoogleIDPConfig) GetClientSecret

func (*AuthenticationProviderResponseGoogleIDPConfig) GetConfig

func (*AuthenticationProviderResponseGoogleIDPConfig) GetCreatedAt

func (*AuthenticationProviderResponseGoogleIDPConfig) GetName

func (*AuthenticationProviderResponseGoogleIDPConfig) GetOrganizationID

func (*AuthenticationProviderResponseGoogleIDPConfig) GetRedirectURI

func (*AuthenticationProviderResponseGoogleIDPConfig) GetType

func (*AuthenticationProviderResponseGoogleIDPConfig) GetUpdatedAt

func (AuthenticationProviderResponseGoogleIDPConfig) MarshalJSON

func (*AuthenticationProviderResponseGoogleIDPConfig) UnmarshalJSON

func (a *AuthenticationProviderResponseGoogleIDPConfig) UnmarshalJSON(data []byte) error

type AuthenticationProviderResponseGoogleIDPConfigConfig

type AuthenticationProviderResponseGoogleIDPConfigConfig struct {
}

func (AuthenticationProviderResponseGoogleIDPConfigConfig) MarshalJSON

func (*AuthenticationProviderResponseGoogleIDPConfigConfig) UnmarshalJSON

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

IsExact returns true if the value matches a known enum value, false otherwise.

func (AuthenticationProviderResponseGoogleIDPConfigType) ToPointer

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 (*AuthenticationProviderResponseMicrosoftIDPConfig) GetClientSecret

func (*AuthenticationProviderResponseMicrosoftIDPConfig) GetConfig

func (*AuthenticationProviderResponseMicrosoftIDPConfig) GetCreatedAt

func (*AuthenticationProviderResponseMicrosoftIDPConfig) GetName

func (*AuthenticationProviderResponseMicrosoftIDPConfig) GetOrganizationID

func (*AuthenticationProviderResponseMicrosoftIDPConfig) GetRedirectURI

func (*AuthenticationProviderResponseMicrosoftIDPConfig) GetType

func (*AuthenticationProviderResponseMicrosoftIDPConfig) GetUpdatedAt

func (AuthenticationProviderResponseMicrosoftIDPConfig) MarshalJSON

func (*AuthenticationProviderResponseMicrosoftIDPConfig) UnmarshalJSON

type AuthenticationProviderResponseMicrosoftIDPConfigConfig

type AuthenticationProviderResponseMicrosoftIDPConfigConfig struct {
	// Tenant ID for Microsoft authentication
	Tenant *string `default:"common" json:"tenant"`
}

func (*AuthenticationProviderResponseMicrosoftIDPConfigConfig) GetTenant

func (AuthenticationProviderResponseMicrosoftIDPConfigConfig) MarshalJSON

func (*AuthenticationProviderResponseMicrosoftIDPConfigConfig) UnmarshalJSON

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

IsExact returns true if the value matches a known enum value, false otherwise.

func (AuthenticationProviderResponseMicrosoftIDPConfigType) ToPointer

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 (*AuthenticationProviderResponseOIDCConfig) GetClientSecret

func (a *AuthenticationProviderResponseOIDCConfig) GetClientSecret() string

func (*AuthenticationProviderResponseOIDCConfig) GetConfig

func (*AuthenticationProviderResponseOIDCConfig) GetCreatedAt

func (*AuthenticationProviderResponseOIDCConfig) GetName

func (*AuthenticationProviderResponseOIDCConfig) GetOrganizationID

func (a *AuthenticationProviderResponseOIDCConfig) GetOrganizationID() string

func (*AuthenticationProviderResponseOIDCConfig) GetRedirectURI

func (*AuthenticationProviderResponseOIDCConfig) GetType

func (*AuthenticationProviderResponseOIDCConfig) GetUpdatedAt

func (AuthenticationProviderResponseOIDCConfig) MarshalJSON

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 (*AuthenticationProviderResponseOIDCConfigConfig) GetIssuer

func (AuthenticationProviderResponseOIDCConfigConfig) MarshalJSON

func (*AuthenticationProviderResponseOIDCConfigConfig) UnmarshalJSON

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

IsExact returns true if the value matches a known enum value, false otherwise.

func (AuthenticationProviderResponseOIDCConfigType) ToPointer

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 (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 (*CreateClientResponseResponseData) GetName

func (*CreateClientResponseResponseData) GetOwnerID

func (c *CreateClientResponseResponseData) GetOwnerID() string

func (*CreateClientResponseResponseData) GetSecret

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 (*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

type CreateOrganizationClientResponse

type CreateOrganizationClientResponse struct {
	Data OrganizationClient `json:"data"`
}

func (*CreateOrganizationClientResponse) GetData

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 (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

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 (c *Cursor) GetHasMore() bool

func (*Cursor) GetNext

func (c *Cursor) GetNext() *string

func (*Cursor) GetPageSize

func (c *Cursor) GetPageSize() int64

func (*Cursor) GetPrevious

func (c *Cursor) GetPrevious() *string

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 (u Data) MarshalJSON() ([]byte, error)

func (*Data) UnmarshalJSON

func (u *Data) UnmarshalJSON(data []byte) error

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 (EnableApplicationForOrganizationResponse) MarshalJSON

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 (e *Error) GetErrorCode() string

func (*Error) GetErrorMessage

func (e *Error) GetErrorMessage() *string

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 (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 (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) GetAction

func (l *Log) GetAction() string

func (*Log) GetData

func (l *Log) GetData() LogData

func (*Log) GetDate

func (l *Log) GetDate() time.Time

func (*Log) GetOrganizationID

func (l *Log) GetOrganizationID() string

func (*Log) GetSeq

func (l *Log) GetSeq() string

func (*Log) GetUserID

func (l *Log) GetUserID() string

func (Log) MarshalJSON

func (l Log) MarshalJSON() ([]byte, error)

func (*Log) UnmarshalJSON

func (l *Log) UnmarshalJSON(data []byte) error

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 LogData

type LogData struct {
}

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 (m *Module) GetLastStateUpdate() time.Time

func (*Module) GetLastStatusUpdate

func (m *Module) GetLastStatusUpdate() time.Time

func (*Module) GetName

func (m *Module) GetName() string

func (*Module) GetState

func (m *Module) GetState() ModuleState

func (*Module) GetStatus

func (m *Module) GetStatus() ModuleStatus

func (Module) MarshalJSON

func (m Module) MarshalJSON() ([]byte, error)

func (*Module) UnmarshalJSON

func (m *Module) UnmarshalJSON(data []byte) error

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 (*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 (p *Policy) GetCreatedAt() time.Time

func (*Policy) GetDescription

func (p *Policy) GetDescription() *string

func (*Policy) GetID

func (p *Policy) GetID() int64

func (*Policy) GetName

func (p *Policy) GetName() string

func (*Policy) GetOrganizationID

func (p *Policy) GetOrganizationID() *string

func (*Policy) GetProtected

func (p *Policy) GetProtected() bool

func (*Policy) GetScopes

func (p *Policy) GetScopes() []Scope

func (*Policy) GetUpdatedAt

func (p *Policy) GetUpdatedAt() time.Time

func (Policy) MarshalJSON

func (p Policy) MarshalJSON() ([]byte, error)

func (*Policy) UnmarshalJSON

func (p *Policy) UnmarshalJSON(data []byte) error

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

type ReadOrganizationClientsResponse

type ReadOrganizationClientsResponse struct {
	Data ReadOrganizationClientsResponseData `json:"data"`
}

func (*ReadOrganizationClientsResponse) GetData

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 (*ReadOrganizationClientsResponseData) GetHasMore

func (r *ReadOrganizationClientsResponseData) GetHasMore() bool

func (*ReadOrganizationClientsResponseData) GetNext

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 (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 (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 (*ReadOrganizationUserResponseData) GetID

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 (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) GetActive

func (r *Region) GetActive() bool

func (*Region) GetAgentID

func (r *Region) GetAgentID() string

func (*Region) GetBaseURL

func (r *Region) GetBaseURL() string

func (*Region) GetCapabilities

func (r *Region) GetCapabilities() RegionCapability

func (*Region) GetCreatedAt

func (r *Region) GetCreatedAt() string

func (*Region) GetCreatorID

func (r *Region) GetCreatorID() *string

func (*Region) GetID

func (r *Region) GetID() string

func (*Region) GetLastPing

func (r *Region) GetLastPing() *time.Time

func (*Region) GetName

func (r *Region) GetName() string

func (*Region) GetOutdated

func (r *Region) GetOutdated() bool

func (*Region) GetVersion

func (r *Region) GetVersion() *string

func (Region) MarshalJSON

func (r Region) MarshalJSON() ([]byte, error)

func (*Region) UnmarshalJSON

func (r *Region) UnmarshalJSON(data []byte) error

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 (s *Scope) GetApplicationID() *string

func (*Scope) GetCreatedAt

func (s *Scope) GetCreatedAt() time.Time

func (*Scope) GetDescription

func (s *Scope) GetDescription() *string

func (*Scope) GetID

func (s *Scope) GetID() int64

func (*Scope) GetLabel

func (s *Scope) GetLabel() string

func (*Scope) GetProtected

func (s *Scope) GetProtected() *bool

func (*Scope) GetUpdatedAt

func (s *Scope) GetUpdatedAt() time.Time

func (Scope) MarshalJSON

func (s Scope) MarshalJSON() ([]byte, error)

func (*Scope) UnmarshalJSON

func (s *Scope) UnmarshalJSON(data []byte) error

type Security

type Security struct {
	Oauth2 string `security:"scheme,type=oauth2,name=Authorization"`
}

func (*Security) GetOauth2

func (s *Security) GetOauth2() string

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 (s *Stack) GetAuditEnabled() *bool

func (*Stack) GetCreatedAt

func (s *Stack) GetCreatedAt() *time.Time

func (*Stack) GetDeletedAt

func (s *Stack) GetDeletedAt() *time.Time

func (*Stack) GetDisabledAt

func (s *Stack) GetDisabledAt() *time.Time

func (*Stack) GetDisposableSince

func (s *Stack) GetDisposableSince() *time.Time

func (*Stack) GetExpectedStatus

func (s *Stack) GetExpectedStatus() ExpectedStatus

func (*Stack) GetID

func (s *Stack) GetID() string

func (*Stack) GetLastExpectedStatusUpdate

func (s *Stack) GetLastExpectedStatusUpdate() time.Time

func (*Stack) GetLastReachableUpdate

func (s *Stack) GetLastReachableUpdate() *time.Time

func (*Stack) GetLastStateUpdate

func (s *Stack) GetLastStateUpdate() time.Time

func (*Stack) GetLastStatusUpdate

func (s *Stack) GetLastStatusUpdate() time.Time

func (*Stack) GetMetadata

func (s *Stack) GetMetadata() map[string]string

func (*Stack) GetModules

func (s *Stack) GetModules() []Module

func (*Stack) GetName

func (s *Stack) GetName() string

func (*Stack) GetOrganizationID

func (s *Stack) GetOrganizationID() string

func (*Stack) GetReachable

func (s *Stack) GetReachable() bool

func (*Stack) GetRegion

func (s *Stack) GetRegion() *Region

func (*Stack) GetRegionID

func (s *Stack) GetRegionID() string

func (*Stack) GetStargateEnabled

func (s *Stack) GetStargateEnabled() bool

func (*Stack) GetState

func (s *Stack) GetState() StackState

func (*Stack) GetStatus

func (s *Stack) GetStatus() StackStatus

func (*Stack) GetSynchronised

func (s *Stack) GetSynchronised() bool

func (*Stack) GetURI

func (s *Stack) GetURI() string

func (*Stack) GetUpdatedAt

func (s *Stack) GetUpdatedAt() *time.Time

func (*Stack) GetVersion

func (s *Stack) GetVersion() *string

func (*Stack) GetWarnedAt

func (s *Stack) GetWarnedAt() *time.Time

func (Stack) MarshalJSON

func (s Stack) MarshalJSON() ([]byte, error)

func (*Stack) UnmarshalJSON

func (s *Stack) UnmarshalJSON(data []byte) error

type StackData

type StackData struct {
	// Stack name
	Name     string            `json:"name"`
	Metadata map[string]string `json:"metadata,omitzero"`
}

func (*StackData) GetMetadata

func (s *StackData) GetMetadata() map[string]string

func (*StackData) GetName

func (s *StackData) GetName() string

func (StackData) MarshalJSON

func (s StackData) MarshalJSON() ([]byte, error)

func (*StackData) UnmarshalJSON

func (s *StackData) UnmarshalJSON(data []byte) error

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 (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

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 (*UpsertAuthenticationProviderRequestGithubIDPConfig) GetClientSecret

func (*UpsertAuthenticationProviderRequestGithubIDPConfig) GetConfig

func (*UpsertAuthenticationProviderRequestGithubIDPConfig) GetName

func (*UpsertAuthenticationProviderRequestGithubIDPConfig) GetType

func (UpsertAuthenticationProviderRequestGithubIDPConfig) MarshalJSON

func (*UpsertAuthenticationProviderRequestGithubIDPConfig) UnmarshalJSON

type UpsertAuthenticationProviderRequestGithubIDPConfigConfig

type UpsertAuthenticationProviderRequestGithubIDPConfigConfig struct {
}

func (UpsertAuthenticationProviderRequestGithubIDPConfigConfig) MarshalJSON

func (*UpsertAuthenticationProviderRequestGithubIDPConfigConfig) UnmarshalJSON

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) ToPointer

func (*UpsertAuthenticationProviderRequestGithubIDPConfigType) UnmarshalJSON

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 (*UpsertAuthenticationProviderRequestGoogleIDPConfig) GetClientSecret

func (*UpsertAuthenticationProviderRequestGoogleIDPConfig) GetConfig

func (*UpsertAuthenticationProviderRequestGoogleIDPConfig) GetName

func (*UpsertAuthenticationProviderRequestGoogleIDPConfig) GetType

func (UpsertAuthenticationProviderRequestGoogleIDPConfig) MarshalJSON

func (*UpsertAuthenticationProviderRequestGoogleIDPConfig) UnmarshalJSON

type UpsertAuthenticationProviderRequestGoogleIDPConfigConfig

type UpsertAuthenticationProviderRequestGoogleIDPConfigConfig struct {
}

func (UpsertAuthenticationProviderRequestGoogleIDPConfigConfig) MarshalJSON

func (*UpsertAuthenticationProviderRequestGoogleIDPConfigConfig) UnmarshalJSON

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) ToPointer

func (*UpsertAuthenticationProviderRequestGoogleIDPConfigType) UnmarshalJSON

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 (*UpsertAuthenticationProviderRequestMicrosoftIDPConfig) GetClientSecret

func (*UpsertAuthenticationProviderRequestMicrosoftIDPConfig) GetConfig

func (*UpsertAuthenticationProviderRequestMicrosoftIDPConfig) GetName

func (*UpsertAuthenticationProviderRequestMicrosoftIDPConfig) GetType

func (UpsertAuthenticationProviderRequestMicrosoftIDPConfig) MarshalJSON

func (*UpsertAuthenticationProviderRequestMicrosoftIDPConfig) UnmarshalJSON

type UpsertAuthenticationProviderRequestMicrosoftIDPConfigConfig

type UpsertAuthenticationProviderRequestMicrosoftIDPConfigConfig struct {
	// Tenant ID for Microsoft authentication
	Tenant *string `default:"common" json:"tenant"`
}

func (*UpsertAuthenticationProviderRequestMicrosoftIDPConfigConfig) GetTenant

func (UpsertAuthenticationProviderRequestMicrosoftIDPConfigConfig) MarshalJSON

func (*UpsertAuthenticationProviderRequestMicrosoftIDPConfigConfig) UnmarshalJSON

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) ToPointer

func (*UpsertAuthenticationProviderRequestMicrosoftIDPConfigType) UnmarshalJSON

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 (*UpsertAuthenticationProviderRequestOIDCConfig) GetClientSecret

func (*UpsertAuthenticationProviderRequestOIDCConfig) GetConfig

func (*UpsertAuthenticationProviderRequestOIDCConfig) GetName

func (*UpsertAuthenticationProviderRequestOIDCConfig) GetType

func (UpsertAuthenticationProviderRequestOIDCConfig) MarshalJSON

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 (*UpsertAuthenticationProviderRequestOIDCConfigConfig) GetIssuer

func (UpsertAuthenticationProviderRequestOIDCConfigConfig) MarshalJSON

func (*UpsertAuthenticationProviderRequestOIDCConfigConfig) UnmarshalJSON

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) ToPointer

func (*UpsertAuthenticationProviderRequestOIDCConfigType) UnmarshalJSON

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) GetEmail

func (u *User) GetEmail() string

func (*User) GetID

func (u *User) GetID() string

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 (v *Version) GetDeprecated() *bool

func (*Version) GetName

func (v *Version) GetName() string

func (*Version) GetRegionID

func (v *Version) GetRegionID() string

func (*Version) GetVersions

func (v *Version) GetVersions() map[string]string

Source Files

Jump to

Keyboard shortcuts

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