model

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigDescription

type ConfigDescription struct {
	Name           string
	Root           bool
	Inheritable    bool
	Inheriting     bool
	Inherits       []string
	Locked         bool
	InitialFetchAt *string
	LastFetchAt    *string
	CreatedAt      string
	Environment    string
	Project        string
	Slug           string
}

type ConfigJSON added in v0.2.2

type ConfigJSON struct {
	Name           string   `json:"name"`
	Root           bool     `json:"root"`
	Inheritable    bool     `json:"inheritable"`
	Inheriting     bool     `json:"inheriting"`
	Inherits       []string `json:"inherits"`
	Locked         bool     `json:"locked"`
	InitialFetchAt *string  `json:"initial_fetch_at"`
	LastFetchAt    *string  `json:"last_fetch_at"`
	CreatedAt      string   `json:"created_at"`
	Environment    string   `json:"environment"`
	Project        string   `json:"project"`
	Slug           string   `json:"slug"`
}

type ConfigListResponse

type ConfigListResponse struct {
	Configs []ConfigJSON `json:"configs"`
	Page    int          `json:"page"`
}

type DefaultProjectRole

type DefaultProjectRole struct {
	Identifier string
}

type DefaultProjectRoleJSON added in v0.2.2

type DefaultProjectRoleJSON struct {
	Identifier string `json:"identifier"`
}

type EnvironmentDescription

type EnvironmentDescription struct {
	ID             string
	Slug           string
	Name           string
	InitialFetchAt *string
	CreatedAt      string
	Project        string
}

type EnvironmentJSON added in v0.2.2

type EnvironmentJSON struct {
	ID             string  `json:"id"`
	Slug           string  `json:"slug"`
	Name           string  `json:"name"`
	InitialFetchAt *string `json:"initial_fetch_at"`
	CreatedAt      string  `json:"created_at"`
	Project        string  `json:"project"`
}

type EnvironmentListResponse

type EnvironmentListResponse struct {
	Environments []EnvironmentJSON `json:"environments"`
	Page         int               `json:"page"`
}

type GroupDescription

type GroupDescription struct {
	Name               string
	Slug               string
	CreatedAt          string
	DefaultProjectRole DefaultProjectRole
}

type GroupGetResponse

type GroupGetResponse struct {
	Group GroupJSON `json:"group"`
}

type GroupJSON added in v0.2.2

type GroupJSON struct {
	Name               string                 `json:"name"`
	Slug               string                 `json:"slug"`
	CreatedAt          string                 `json:"created_at"`
	DefaultProjectRole DefaultProjectRoleJSON `json:"default_project_role"`
}

type GroupListResponse

type GroupListResponse struct {
	Groups []GroupJSON `json:"groups"`
}

type IntegrationDescription

type IntegrationDescription struct {
	Slug    string
	Name    string
	Type    string
	Kind    string
	Enabled bool
	Syncs   []Sync
}

type IntegrationGetResponse

type IntegrationGetResponse struct {
	Integration IntegrationJSON `json:"integration"`
}

type IntegrationJSON added in v0.2.2

type IntegrationJSON struct {
	Slug    string     `json:"slug"`
	Name    string     `json:"name"`
	Type    string     `json:"type"`
	Kind    string     `json:"kind"`
	Enabled bool       `json:"enabled"`
	Syncs   []SyncJSON `json:"syncs,omitempty"`
}

type IntegrationListResponse

type IntegrationListResponse struct {
	Integrations []IntegrationJSON `json:"integrations"`
}

type Metadata

type Metadata struct{}

type ProjectDescription

type ProjectDescription struct {
	ID          string
	Slug        string
	Name        string
	Description string
	CreatedAt   string
}

type ProjectGetResponse

type ProjectGetResponse struct {
	Project ProjectJSON `json:"project"`
}

type ProjectJSON added in v0.2.2

type ProjectJSON struct {
	ID          string `json:"id"`
	Slug        string `json:"slug"`
	Name        string `json:"name"`
	Description string `json:"description"`
	CreatedAt   string `json:"created_at"`
}

type ProjectListResponse

type ProjectListResponse struct {
	Page     int           `json:"page"`
	Projects []ProjectJSON `json:"projects"`
}

type ProjectMemberDescription

type ProjectMemberDescription struct {
	Type                  string
	Slug                  string
	Role                  Role
	AccessAllEnvironments bool
	Environments          *string
}

type ProjectMemberJSON added in v0.2.2

type ProjectMemberJSON struct {
	Type                  string   `json:"type"`
	Slug                  string   `json:"slug"`
	Role                  RoleJSON `json:"role"`
	AccessAllEnvironments bool     `json:"access_all_environments"`
	Environments          *string  `json:"environments"`
}

type ProjectMemberListResponse

type ProjectMemberListResponse struct {
	Members []ProjectMemberJSON `json:"members"`
}

type ProjectRoleDescription

type ProjectRoleDescription struct {
	Name         string
	Permissions  []string
	Identifier   string
	CreatedAt    string
	IsCustomRole bool
}

type ProjectRoleGetResponse

type ProjectRoleGetResponse struct {
	Role ProjectRoleJSON `json:"role"`
}

type ProjectRoleJSON added in v0.2.2

type ProjectRoleJSON struct {
	Name         string   `json:"name"`
	Permissions  []string `json:"permissions"`
	Identifier   string   `json:"identifier"`
	CreatedAt    string   `json:"created_at"`
	IsCustomRole bool     `json:"is_custom_role"`
}

type ProjectRoleListResponse

type ProjectRoleListResponse struct {
	Roles []ProjectRoleJSON `json:"roles"`
}

type Role

type Role struct {
	Identifier string
}

type RoleJSON added in v0.2.2

type RoleJSON struct {
	Identifier string `json:"identifier"`
}

type SecretDescription

type SecretDescription struct {
	Raw                string
	Computed           string
	Note               string
	RawVisibility      string
	ComputedVisibility string
	RawValueType       ValueType
	ComputedValueType  ValueType
}

type SecretJSON added in v0.2.2

type SecretJSON struct {
	Raw                string        `json:"raw"`
	Computed           string        `json:"computed"`
	Note               string        `json:"note"`
	RawVisibility      string        `json:"rawVisibility"`
	ComputedVisibility string        `json:"computedVisibility"`
	RawValueType       ValueTypeJSON `json:"rawValueType"`
	ComputedValueType  ValueTypeJSON `json:"computedValueType"`
}

type SecretListResponse

type SecretListResponse struct {
	Secrets map[string]SecretJSON `json:"secrets"`
}

type ServiceAccountDescription

type ServiceAccountDescription struct {
	Name          string
	Slug          string
	CreatedAt     string
	WorkplaceRole WorkplaceRole
}

type ServiceAccountGetResponse

type ServiceAccountGetResponse struct {
	ServiceAccount ServiceAccountJSON `json:"service_account"`
}

type ServiceAccountJSON added in v0.2.2

type ServiceAccountJSON struct {
	Name          string            `json:"name"`
	Slug          string            `json:"slug"`
	CreatedAt     string            `json:"created_at"`
	WorkplaceRole WorkplaceRoleJSON `json:"workplace_role"`
}

type ServiceAccountListResponse

type ServiceAccountListResponse struct {
	ServiceAccounts []ServiceAccountJSON `json:"service_accounts"`
}

type ServiceAccountTokenDescription

type ServiceAccountTokenDescription struct {
	Name       string
	Slug       string
	CreatedAt  string
	LastSeenAt string
	ExpiresAt  string
}

type ServiceAccountTokenJSON added in v0.2.2

type ServiceAccountTokenJSON struct {
	Name       string `json:"name"`
	Slug       string `json:"slug"`
	CreatedAt  string `json:"created_at"`
	LastSeenAt string `json:"last_seen_at"`
	ExpiresAt  string `json:"expires_at"`
}

type ServiceAccountTokenListResponse

type ServiceAccountTokenListResponse struct {
	APITokens []ServiceAccountTokenJSON `json:"api_tokens"`
}

type ServiceTokenDescription

type ServiceTokenDescription struct {
	Name        string
	Slug        string
	CreatedAt   string
	Config      string
	Environment string
	Project     string
	ExpiresAt   *string
}

type ServiceTokenJSON added in v0.2.2

type ServiceTokenJSON struct {
	Name        string  `json:"name"`
	Slug        string  `json:"slug"`
	CreatedAt   string  `json:"created_at"`
	Config      string  `json:"config"`
	Environment string  `json:"environment"`
	Project     string  `json:"project"`
	ExpiresAt   *string `json:"expires_at"`
}

type ServiceTokenListResponse

type ServiceTokenListResponse struct {
	Tokens []ServiceTokenJSON `json:"tokens"`
}

type Sync

type Sync struct {
	Slug         string
	Enabled      bool
	LastSyncedAt string
	Project      string
	Config       string
	Integration  string
}

type SyncJSON added in v0.2.2

type SyncJSON struct {
	Slug         string `json:"slug"`
	Enabled      bool   `json:"enabled"`
	LastSyncedAt string `json:"lastSyncedAt"`
	Project      string `json:"project"`
	Config       string `json:"config"`
	Integration  string `json:"integration"`
}

type TrustIPDescription

type TrustIPDescription struct {
	IP string
}

type TrustIPListResponse

type TrustIPListResponse struct {
	IPs []string `json:"ips"`
}

type User

type User struct {
	Email           string
	Name            string
	Username        string
	ProfileImageURL string
}

type UserJSON added in v0.2.2

type UserJSON struct {
	Email           string `json:"email"`
	Name            string `json:"name"`
	Username        string `json:"username"`
	ProfileImageURL string `json:"profile_image_url"`
}

type ValueType

type ValueType struct {
	Type string
}

type ValueTypeJSON added in v0.2.2

type ValueTypeJSON struct {
	Type string `json:"type"`
}

type WorkplaceDescription

type WorkplaceDescription struct {
	ID            string
	Name          string
	BillingEmail  string
	SecurityEmail string
}

type WorkplaceJSON added in v0.2.2

type WorkplaceJSON struct {
	ID            string `json:"id"`
	Name          string `json:"name"`
	BillingEmail  string `json:"billing_email"`
	SecurityEmail string `json:"security_email"`
}

type WorkplaceListResponse

type WorkplaceListResponse struct {
	Workplace WorkplaceJSON `json:"workplace"`
}

type WorkplaceRole

type WorkplaceRole struct {
	Name         string
	Permissions  []string
	Identifier   string
	CreatedAt    string
	IsCustomRole bool
	IsInlineRole bool
}

type WorkplaceRoleDescription

type WorkplaceRoleDescription struct {
	Name         string
	Permissions  []string
	Identifier   string
	CreatedAt    string
	IsCustomRole bool
	IsInlineRole bool
}

type WorkplaceRoleGetResponse

type WorkplaceRoleGetResponse struct {
	Role WorkplaceRoleJSON `json:"role"`
}

type WorkplaceRoleJSON added in v0.2.2

type WorkplaceRoleJSON struct {
	Name         string   `json:"name"`
	Permissions  []string `json:"permissions"`
	Identifier   string   `json:"identifier"`
	CreatedAt    string   `json:"created_at"`
	IsCustomRole bool     `json:"is_custom_role"`
	IsInlineRole bool     `json:"is_inline_role"`
}

type WorkplaceRoleListResponse

type WorkplaceRoleListResponse struct {
	Roles []WorkplaceRoleJSON `json:"roles"`
}

type WorkplaceUserDescription

type WorkplaceUserDescription struct {
	ID        string
	Access    string
	CreatedAt string
	User      User
}

type WorkplaceUserGetResponse

type WorkplaceUserGetResponse struct {
	WorkplaceUser WorkplaceUserJSON `json:"workplace_user"`
}

type WorkplaceUserJSON added in v0.2.2

type WorkplaceUserJSON struct {
	ID        string   `json:"id"`
	Access    string   `json:"access"`
	CreatedAt string   `json:"created_at"`
	User      UserJSON `json:"user"`
}

type WorkplaceUserListResponse

type WorkplaceUserListResponse struct {
	WorkplaceUsers []WorkplaceUserJSON `json:"workplace_users"`
	Page           int                 `json:"page"`
}

Jump to

Keyboard shortcuts

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