api

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const GetCloudAWS_Operation = `
query GetCloudAWS ($id: UUID!) {
	currentUser {
		awsAccount(id: $id) {
			id
			roleARN
			externalID
		}
	}
}
`

The query or mutation executed by GetCloudAWS.

View Source
const GetCloudDigitalOcean_Operation = `
query GetCloudDigitalOcean ($id: UUID!) {
	currentUser {
		doAccount(id: $id) {
			id
			accessToken
		}
	}
}
`

The query or mutation executed by GetCloudDigitalOcean.

View Source
const GetCloudGCP_Operation = `
query GetCloudGCP ($id: UUID!) {
	currentUser {
		gcpAccount(id: $id) {
			id
			projectID
			credentials
		}
	}
}
`

The query or mutation executed by GetCloudGCP.

View Source
const GetCloudLinode_Operation = `
query GetCloudLinode ($id: UUID!) {
	currentUser {
		linodeAccount(id: $id) {
			id
			accessToken
		}
	}
}
`

The query or mutation executed by GetCloudLinode.

Variables

This section is empty.

Functions

func IsBuildInProgress added in v0.6.0

func IsBuildInProgress(status DeploymentStatus) bool

func IsDeployInProgress added in v0.6.0

func IsDeployInProgress(status DeploymentStatus) bool

func IsJobInProgress added in v0.6.0

func IsJobInProgress(state JobRunState) bool

Types

type AdapterStatusCriterion added in v0.8.1

type AdapterStatusCriterion struct {
	Value []*string `json:"value,omitempty"`
}

func (*AdapterStatusCriterion) GetValue added in v0.8.1

func (v *AdapterStatusCriterion) GetValue() []*string

GetValue returns AdapterStatusCriterion.Value, and is useful for accessing the field via an interface.

type BlueprintConnection added in v0.8.0

type BlueprintConnection struct {
	TotalCount int                                 `json:"totalCount"`
	PageInfo   PageInfo                            `json:"pageInfo"`
	Nodes      []BlueprintConnectionNodesBlueprint `json:"nodes,omitempty"`
}

BlueprintConnection includes the requested fields of the GraphQL type BlueprintConnection.

func (*BlueprintConnection) GetNodes added in v0.8.0

GetNodes returns BlueprintConnection.Nodes, and is useful for accessing the field via an interface.

func (*BlueprintConnection) GetPageInfo added in v0.8.0

func (v *BlueprintConnection) GetPageInfo() PageInfo

GetPageInfo returns BlueprintConnection.PageInfo, and is useful for accessing the field via an interface.

func (*BlueprintConnection) GetTotalCount added in v0.8.0

func (v *BlueprintConnection) GetTotalCount() int

GetTotalCount returns BlueprintConnection.TotalCount, and is useful for accessing the field via an interface.

type BlueprintConnectionNodesBlueprint added in v0.8.0

type BlueprintConnectionNodesBlueprint struct {
	BlueprintSummary `json:"-"`
}

BlueprintConnectionNodesBlueprint includes the requested fields of the GraphQL type Blueprint.

func (*BlueprintConnectionNodesBlueprint) GetDescription added in v0.8.0

func (v *BlueprintConnectionNodesBlueprint) GetDescription() string

GetDescription returns BlueprintConnectionNodesBlueprint.Description, and is useful for accessing the field via an interface.

func (*BlueprintConnectionNodesBlueprint) GetDisplayName added in v0.8.0

func (v *BlueprintConnectionNodesBlueprint) GetDisplayName() string

GetDisplayName returns BlueprintConnectionNodesBlueprint.DisplayName, and is useful for accessing the field via an interface.

func (*BlueprintConnectionNodesBlueprint) GetId added in v0.8.0

GetId returns BlueprintConnectionNodesBlueprint.Id, and is useful for accessing the field via an interface.

func (*BlueprintConnectionNodesBlueprint) GetProjectCount added in v0.8.0

func (v *BlueprintConnectionNodesBlueprint) GetProjectCount() int

GetProjectCount returns BlueprintConnectionNodesBlueprint.ProjectCount, and is useful for accessing the field via an interface.

func (*BlueprintConnectionNodesBlueprint) GetRichInputSchema added in v0.8.0

func (v *BlueprintConnectionNodesBlueprint) GetRichInputSchema() string

GetRichInputSchema returns BlueprintConnectionNodesBlueprint.RichInputSchema, and is useful for accessing the field via an interface.

func (*BlueprintConnectionNodesBlueprint) GetSlug added in v0.8.0

GetSlug returns BlueprintConnectionNodesBlueprint.Slug, and is useful for accessing the field via an interface.

func (*BlueprintConnectionNodesBlueprint) GetTags added in v0.8.0

GetTags returns BlueprintConnectionNodesBlueprint.Tags, and is useful for accessing the field via an interface.

func (*BlueprintConnectionNodesBlueprint) GetType added in v0.8.0

GetType returns BlueprintConnectionNodesBlueprint.Type, and is useful for accessing the field via an interface.

func (*BlueprintConnectionNodesBlueprint) MarshalJSON added in v0.8.0

func (v *BlueprintConnectionNodesBlueprint) MarshalJSON() ([]byte, error)

func (*BlueprintConnectionNodesBlueprint) UnmarshalJSON added in v0.8.0

func (v *BlueprintConnectionNodesBlueprint) UnmarshalJSON(b []byte) error

type BlueprintDriverAction added in v0.8.1

type BlueprintDriverAction string
const (
	BlueprintDriverActionPlanDestroy BlueprintDriverAction = "PLAN_DESTROY"
	BlueprintDriverActionPlan        BlueprintDriverAction = "PLAN"
	BlueprintDriverActionApprove     BlueprintDriverAction = "APPROVE"
	BlueprintDriverActionApply       BlueprintDriverAction = "APPLY"
)

type BlueprintMetadataFilter added in v0.9.0

type BlueprintMetadataFilter struct {
	Name *StringCriterion `json:"name,omitempty"`
}

func (*BlueprintMetadataFilter) GetName added in v0.9.0

GetName returns BlueprintMetadataFilter.Name, and is useful for accessing the field via an interface.

type BlueprintSummary added in v0.8.0

type BlueprintSummary struct {
	Id              uuid.UUID     `json:"id"`
	Slug            string        `json:"slug"`
	DisplayName     string        `json:"displayName"`
	Description     string        `json:"description"`
	Type            BlueprintType `json:"type"`
	ProjectCount    int           `json:"projectCount"`
	RichInputSchema string        `json:"richInputSchema"`
	Tags            []string      `json:"tags,omitempty"`
}

BlueprintSummary includes the GraphQL fields of Blueprint requested by the fragment BlueprintSummary.

func (*BlueprintSummary) GetDescription added in v0.8.0

func (v *BlueprintSummary) GetDescription() string

GetDescription returns BlueprintSummary.Description, and is useful for accessing the field via an interface.

func (*BlueprintSummary) GetDisplayName added in v0.8.0

func (v *BlueprintSummary) GetDisplayName() string

GetDisplayName returns BlueprintSummary.DisplayName, and is useful for accessing the field via an interface.

func (*BlueprintSummary) GetId added in v0.8.0

func (v *BlueprintSummary) GetId() uuid.UUID

GetId returns BlueprintSummary.Id, and is useful for accessing the field via an interface.

func (*BlueprintSummary) GetProjectCount added in v0.8.0

func (v *BlueprintSummary) GetProjectCount() int

GetProjectCount returns BlueprintSummary.ProjectCount, and is useful for accessing the field via an interface.

func (*BlueprintSummary) GetRichInputSchema added in v0.8.0

func (v *BlueprintSummary) GetRichInputSchema() string

GetRichInputSchema returns BlueprintSummary.RichInputSchema, and is useful for accessing the field via an interface.

func (*BlueprintSummary) GetSlug added in v0.8.0

func (v *BlueprintSummary) GetSlug() string

GetSlug returns BlueprintSummary.Slug, and is useful for accessing the field via an interface.

func (*BlueprintSummary) GetTags added in v0.8.0

func (v *BlueprintSummary) GetTags() []string

GetTags returns BlueprintSummary.Tags, and is useful for accessing the field via an interface.

func (*BlueprintSummary) GetType added in v0.8.0

func (v *BlueprintSummary) GetType() BlueprintType

GetType returns BlueprintSummary.Type, and is useful for accessing the field via an interface.

type BlueprintType added in v0.8.0

type BlueprintType string
const (
	BlueprintTypeTerraform          BlueprintType = "TERRAFORM"
	BlueprintTypeKubernetesManifest BlueprintType = "KUBERNETES_MANIFEST"
	BlueprintTypeHelm               BlueprintType = "HELM"
	BlueprintTypeZeetKubernetes     BlueprintType = "ZEET_KUBERNETES"
	BlueprintTypeZeetAwsLambda      BlueprintType = "ZEET_AWS_LAMBDA"
	BlueprintTypeZeetGcpCloudRun    BlueprintType = "ZEET_GCP_CLOUD_RUN"
)

type BooleanCriterion added in v0.9.0

type BooleanCriterion struct {
	Value *bool `json:"value,omitempty"`
}

func (*BooleanCriterion) GetValue added in v0.9.0

func (v *BooleanCriterion) GetValue() *bool

GetValue returns BooleanCriterion.Value, and is useful for accessing the field via an interface.

type BuildRepoBuildRepo added in v0.11.0

type BuildRepoBuildRepo struct {
	Deployments []BuildRepoBuildRepoDeploymentsDeployment `json:"deployments,omitempty"`
}

BuildRepoBuildRepo includes the requested fields of the GraphQL type Repo.

func (*BuildRepoBuildRepo) GetDeployments added in v0.11.0

GetDeployments returns BuildRepoBuildRepo.Deployments, and is useful for accessing the field via an interface.

type BuildRepoBuildRepoDeploymentsDeployment added in v0.11.0

type BuildRepoBuildRepoDeploymentsDeployment struct {
	Id              string           `json:"id"`
	Status          DeploymentStatus `json:"status"`
	Branch          string           `json:"branch"`
	Endpoints       []string         `json:"endpoints,omitempty"`
	PrivateEndpoint string           `json:"privateEndpoint"`
}

BuildRepoBuildRepoDeploymentsDeployment includes the requested fields of the GraphQL type Deployment.

func (*BuildRepoBuildRepoDeploymentsDeployment) GetBranch added in v0.11.0

GetBranch returns BuildRepoBuildRepoDeploymentsDeployment.Branch, and is useful for accessing the field via an interface.

func (*BuildRepoBuildRepoDeploymentsDeployment) GetEndpoints added in v0.11.0

func (v *BuildRepoBuildRepoDeploymentsDeployment) GetEndpoints() []string

GetEndpoints returns BuildRepoBuildRepoDeploymentsDeployment.Endpoints, and is useful for accessing the field via an interface.

func (*BuildRepoBuildRepoDeploymentsDeployment) GetId added in v0.11.0

GetId returns BuildRepoBuildRepoDeploymentsDeployment.Id, and is useful for accessing the field via an interface.

func (*BuildRepoBuildRepoDeploymentsDeployment) GetPrivateEndpoint added in v0.11.0

func (v *BuildRepoBuildRepoDeploymentsDeployment) GetPrivateEndpoint() string

GetPrivateEndpoint returns BuildRepoBuildRepoDeploymentsDeployment.PrivateEndpoint, and is useful for accessing the field via an interface.

func (*BuildRepoBuildRepoDeploymentsDeployment) GetStatus added in v0.11.0

GetStatus returns BuildRepoBuildRepoDeploymentsDeployment.Status, and is useful for accessing the field via an interface.

type BuildRepoDefaultBranchBuildRepo added in v0.11.0

type BuildRepoDefaultBranchBuildRepo struct {
	Deployments []BuildRepoDefaultBranchBuildRepoDeploymentsDeployment `json:"deployments,omitempty"`
}

BuildRepoDefaultBranchBuildRepo includes the requested fields of the GraphQL type Repo.

func (*BuildRepoDefaultBranchBuildRepo) GetDeployments added in v0.11.0

GetDeployments returns BuildRepoDefaultBranchBuildRepo.Deployments, and is useful for accessing the field via an interface.

type BuildRepoDefaultBranchBuildRepoDeploymentsDeployment added in v0.11.0

type BuildRepoDefaultBranchBuildRepoDeploymentsDeployment struct {
	Id              string           `json:"id"`
	Status          DeploymentStatus `json:"status"`
	Branch          string           `json:"branch"`
	Endpoints       []string         `json:"endpoints,omitempty"`
	PrivateEndpoint string           `json:"privateEndpoint"`
}

BuildRepoDefaultBranchBuildRepoDeploymentsDeployment includes the requested fields of the GraphQL type Deployment.

func (*BuildRepoDefaultBranchBuildRepoDeploymentsDeployment) GetBranch added in v0.11.0

GetBranch returns BuildRepoDefaultBranchBuildRepoDeploymentsDeployment.Branch, and is useful for accessing the field via an interface.

func (*BuildRepoDefaultBranchBuildRepoDeploymentsDeployment) GetEndpoints added in v0.11.0

GetEndpoints returns BuildRepoDefaultBranchBuildRepoDeploymentsDeployment.Endpoints, and is useful for accessing the field via an interface.

func (*BuildRepoDefaultBranchBuildRepoDeploymentsDeployment) GetId added in v0.11.0

GetId returns BuildRepoDefaultBranchBuildRepoDeploymentsDeployment.Id, and is useful for accessing the field via an interface.

func (*BuildRepoDefaultBranchBuildRepoDeploymentsDeployment) GetPrivateEndpoint added in v0.11.0

GetPrivateEndpoint returns BuildRepoDefaultBranchBuildRepoDeploymentsDeployment.PrivateEndpoint, and is useful for accessing the field via an interface.

func (*BuildRepoDefaultBranchBuildRepoDeploymentsDeployment) GetStatus added in v0.11.0

GetStatus returns BuildRepoDefaultBranchBuildRepoDeploymentsDeployment.Status, and is useful for accessing the field via an interface.

type BuildRepoDefaultBranchResponse added in v0.11.0

type BuildRepoDefaultBranchResponse struct {
	BuildRepo BuildRepoDefaultBranchBuildRepo `json:"buildRepo"`
}

buildRepoDefaultBranchResponse is returned by buildRepoDefaultBranch on success.

func BuildRepoDefaultBranchMutation added in v0.9.0

func BuildRepoDefaultBranchMutation(
	ctx_ context.Context,
	client_ graphql.Client,
	id string,
	noCache bool,
) (*BuildRepoDefaultBranchResponse, error)

func (*BuildRepoDefaultBranchResponse) GetBuildRepo added in v0.11.0

GetBuildRepo returns BuildRepoDefaultBranchResponse.BuildRepo, and is useful for accessing the field via an interface.

type BuildRepoResponse added in v0.11.0

type BuildRepoResponse struct {
	BuildRepo BuildRepoBuildRepo `json:"buildRepo"`
}

buildRepoResponse is returned by buildRepo on success.

func BuildRepoMutation added in v0.9.0

func BuildRepoMutation(
	ctx_ context.Context,
	client_ graphql.Client,
	id string,
	branch string,
	noCache bool,
) (*BuildRepoResponse, error)

func (*BuildRepoResponse) GetBuildRepo added in v0.11.0

func (v *BuildRepoResponse) GetBuildRepo() BuildRepoBuildRepo

GetBuildRepo returns BuildRepoResponse.BuildRepo, and is useful for accessing the field via an interface.

type Client added in v0.1.0

type Client struct {
	// contains filtered or unexported fields
}

func New added in v0.1.0

func New(server, token, version string, debug bool) *Client

func (*Client) BuildProject added in v0.1.0

func (c *Client) BuildProject(ctx context.Context, projectID uuid.UUID, branch string, noCache bool) (*Deployment, error)

func (*Client) Client added in v0.9.0

func (c *Client) Client() graphql.Client

func (*Client) ClientV1 added in v0.9.0

func (c *Client) ClientV1() graphql.Client

func (*Client) DeleteBlueprint added in v0.8.0

func (c *Client) DeleteBlueprint(ctx context.Context, id uuid.UUID) error

func (*Client) DeleteRepo added in v0.6.1

func (c *Client) DeleteRepo(ctx context.Context, repoID uuid.UUID) error

func (*Client) DeployProjectBranch added in v0.1.0

func (c *Client) DeployProjectBranch(ctx context.Context, projectID uuid.UUID, branch string, noCache bool) (*Deployment, error)

func (*Client) GetBlueprint added in v0.8.0

func (c *Client) GetBlueprint(ctx context.Context, id uuid.UUID) (*BlueprintSummary, error)

func (*Client) GetBuildLogs added in v0.1.0

func (c *Client) GetBuildLogs(ctx context.Context, deployID uuid.UUID) (out []LogEntry, err error)

func (*Client) GetCloudAWS added in v0.7.0

func (c *Client) GetCloudAWS(ctx context.Context, cloudID uuid.UUID) (*GetCloudAWSResponse, error)

func (*Client) GetCloudDigitalOcean added in v0.7.0

func (c *Client) GetCloudDigitalOcean(ctx context.Context, cloudID uuid.UUID) (*GetCloudDigitalOceanResponse, error)

func (*Client) GetCloudGCP added in v0.7.0

func (c *Client) GetCloudGCP(ctx context.Context, cloudID uuid.UUID) (*GetCloudGCPResponse, error)

func (*Client) GetCloudLinode added in v0.7.0

func (c *Client) GetCloudLinode(ctx context.Context, cloudID uuid.UUID) (*GetCloudLinodeResponse, error)

func (*Client) GetClusterKubeconfig added in v0.7.0

func (c *Client) GetClusterKubeconfig(ctx context.Context, clusterID uuid.UUID) (*GetClusterKubeconfigResponse, error)

func (*Client) GetCurrentUser added in v0.1.0

func (c *Client) GetCurrentUser(ctx context.Context) (*User, error)

func (*Client) GetDeployment added in v0.1.0

func (c *Client) GetDeployment(ctx context.Context, deploymentID uuid.UUID) (*Deployment, error)

func (*Client) GetDeploymentLogs added in v0.1.0

func (c *Client) GetDeploymentLogs(ctx context.Context, deployID uuid.UUID) (out []LogEntry, err error)

func (*Client) GetDeploymentStatus added in v0.5.2

func (c *Client) GetDeploymentStatus(ctx context.Context, deploymentID uuid.UUID) (*DeploymentReplicaStatus, error)

func (*Client) GetEnvVars added in v0.2.0

func (c *Client) GetEnvVars(ctx context.Context, repoID uuid.UUID) (map[string]string, error)

func (*Client) GetJob added in v0.5.2

func (c *Client) GetJob(ctx context.Context, projectID uuid.UUID, jobID uuid.UUID) (*Job, error)

func (*Client) GetJobLogs added in v0.5.2

func (c *Client) GetJobLogs(ctx context.Context, repoID uuid.UUID, jobID uuid.UUID) ([]LogEntry, error)

func (*Client) GetLatestDeployment added in v0.5.2

func (c *Client) GetLatestDeployment(ctx context.Context, project string, branch string) (*Deployment, error)

func (*Client) GetProductionBranch added in v0.1.0

func (c *Client) GetProductionBranch(ctx context.Context, projectID uuid.UUID) (string, error)

func (*Client) GetProductionDeployment added in v0.1.2

func (c *Client) GetProductionDeployment(ctx context.Context, project string) (*Deployment, error)

func (*Client) GetProjectByPath added in v0.1.0

func (c *Client) GetProjectByPath(ctx context.Context, project string) (*Project, error)

func (*Client) GetProjectPath added in v0.5.2

func (c *Client) GetProjectPath(ctx context.Context, id uuid.UUID) (string, error)

func (*Client) GetProjectV3 added in v0.8.1

func (c *Client) GetProjectV3(ctx context.Context, projectId uuid.UUID) (*ProjectV3AdapterSummary, error)

func (*Client) GetRepo added in v0.6.1

func (c *Client) GetRepo(ctx context.Context, path string) (*Repo, error)

func (*Client) GetRuntimeLogs added in v0.2.0

func (c *Client) GetRuntimeLogs(ctx context.Context, deployID uuid.UUID) (out []LogEntry, err error)

func (*Client) ListBlueprints added in v0.8.0

func (c *Client) ListBlueprints(ctx context.Context, pageInput PageInput) (*BlueprintConnection, error)

func (*Client) ListClusters added in v0.8.1

func (c *Client) ListClusters(ctx context.Context, path string) (*ListClustersResponse, error)

func (*Client) ListProjectV3s added in v0.8.1

func (c *Client) ListProjectV3s(ctx context.Context, filterInput *FilterInput) (*ProjectV3AdapterConnection, error)

func (*Client) RunJob added in v0.5.2

func (c *Client) RunJob(ctx context.Context, projectID uuid.UUID, command string, build bool) (*Job, error)

func (*Client) SetEnvVars added in v0.2.0

func (c *Client) SetEnvVars(ctx context.Context, repoID uuid.UUID, vars map[string]string) error

func (*Client) ToProjectPath added in v0.6.0

func (c *Client) ToProjectPath(input string) (string, error)

ToProjectPath returns the path for a given project UUID or path

func (*Client) UpdateBranch added in v0.5.2

func (c *Client) UpdateBranch(ctx context.Context, projectID uuid.UUID, image string, branchName string, deploy bool) error

func (*Client) UpdateClusterKubeconfig added in v0.6.0

func (c *Client) UpdateClusterKubeconfig(ctx context.Context, clusterId uuid.UUID, kubeconfig []byte) (*Cluster, error)

func (*Client) UpdateProject added in v0.5.2

func (c *Client) UpdateProject(ctx context.Context, projectID uuid.UUID, image string) error

func (*Client) UploadClient added in v0.9.0

func (c *Client) UploadClient() *UploadClient

func (*Client) UploadClientV1 added in v0.9.0

func (c *Client) UploadClientV1() *UploadClient

type CloudProvider added in v0.8.1

type CloudProvider string
const (
	CloudProviderUnknown   CloudProvider = "UNKNOWN"
	CloudProviderZeet      CloudProvider = "ZEET"
	CloudProviderAws       CloudProvider = "AWS"
	CloudProviderAzure     CloudProvider = "AZURE"
	CloudProviderGcp       CloudProvider = "GCP"
	CloudProviderAlibaba   CloudProvider = "ALIBABA"
	CloudProviderOci       CloudProvider = "OCI"
	CloudProviderIbm       CloudProvider = "IBM"
	CloudProviderTencent   CloudProvider = "TENCENT"
	CloudProviderDo        CloudProvider = "DO"
	CloudProviderCoreweave CloudProvider = "COREWEAVE"
	CloudProviderOvh       CloudProvider = "OVH"
	CloudProviderLinode    CloudProvider = "LINODE"
	CloudProviderVultr     CloudProvider = "VULTR"
	CloudProviderScaleway  CloudProvider = "SCALEWAY"
)

type Cluster added in v0.6.0

type Cluster struct {
	Id uuid.UUID `copier:"Id"`
}

type ClusterProvider added in v0.8.1

type ClusterProvider string
const (
	ClusterProviderGeneric   ClusterProvider = "GENERIC"
	ClusterProviderEks       ClusterProvider = "EKS"
	ClusterProviderGke       ClusterProvider = "GKE"
	ClusterProviderDoks      ClusterProvider = "DOKS"
	ClusterProviderCoreweave ClusterProvider = "COREWEAVE"
	ClusterProviderLke       ClusterProvider = "LKE"
	ClusterProviderVke       ClusterProvider = "VKE"
)

type DeleteBlueprintResponse added in v0.11.0

type DeleteBlueprintResponse struct {
	DeleteBlueprint bool `json:"deleteBlueprint"`
}

deleteBlueprintResponse is returned by deleteBlueprint on success.

func DeleteBlueprintMutation added in v0.9.0

func DeleteBlueprintMutation(
	ctx_ context.Context,
	client_ graphql.Client,
	id uuid.UUID,
) (*DeleteBlueprintResponse, error)

func (*DeleteBlueprintResponse) GetDeleteBlueprint added in v0.11.0

func (v *DeleteBlueprintResponse) GetDeleteBlueprint() bool

GetDeleteBlueprint returns DeleteBlueprintResponse.DeleteBlueprint, and is useful for accessing the field via an interface.

type DeleteResponse added in v0.11.0

type DeleteResponse struct {
	DeleteRepo bool `json:"deleteRepo"`
}

deleteResponse is returned by delete on success.

func DeleteMutation added in v0.9.0

func DeleteMutation(
	ctx_ context.Context,
	client_ graphql.Client,
	id string,
) (*DeleteResponse, error)

func (*DeleteResponse) GetDeleteRepo added in v0.11.0

func (v *DeleteResponse) GetDeleteRepo() bool

GetDeleteRepo returns DeleteResponse.DeleteRepo, and is useful for accessing the field via an interface.

type DeployRepoBranchDeployRepoBranchRepo added in v0.11.0

type DeployRepoBranchDeployRepoBranchRepo struct {
	Deployments []DeployRepoBranchDeployRepoBranchRepoDeploymentsDeployment `json:"deployments,omitempty"`
}

DeployRepoBranchDeployRepoBranchRepo includes the requested fields of the GraphQL type Repo.

func (*DeployRepoBranchDeployRepoBranchRepo) GetDeployments added in v0.11.0

GetDeployments returns DeployRepoBranchDeployRepoBranchRepo.Deployments, and is useful for accessing the field via an interface.

type DeployRepoBranchDeployRepoBranchRepoDeploymentsDeployment added in v0.11.0

type DeployRepoBranchDeployRepoBranchRepoDeploymentsDeployment struct {
	Id              string           `json:"id"`
	Status          DeploymentStatus `json:"status"`
	Branch          string           `json:"branch"`
	Endpoints       []string         `json:"endpoints,omitempty"`
	PrivateEndpoint string           `json:"privateEndpoint"`
}

DeployRepoBranchDeployRepoBranchRepoDeploymentsDeployment includes the requested fields of the GraphQL type Deployment.

func (*DeployRepoBranchDeployRepoBranchRepoDeploymentsDeployment) GetBranch added in v0.11.0

GetBranch returns DeployRepoBranchDeployRepoBranchRepoDeploymentsDeployment.Branch, and is useful for accessing the field via an interface.

func (*DeployRepoBranchDeployRepoBranchRepoDeploymentsDeployment) GetEndpoints added in v0.11.0

GetEndpoints returns DeployRepoBranchDeployRepoBranchRepoDeploymentsDeployment.Endpoints, and is useful for accessing the field via an interface.

func (*DeployRepoBranchDeployRepoBranchRepoDeploymentsDeployment) GetId added in v0.11.0

GetId returns DeployRepoBranchDeployRepoBranchRepoDeploymentsDeployment.Id, and is useful for accessing the field via an interface.

func (*DeployRepoBranchDeployRepoBranchRepoDeploymentsDeployment) GetPrivateEndpoint added in v0.11.0

GetPrivateEndpoint returns DeployRepoBranchDeployRepoBranchRepoDeploymentsDeployment.PrivateEndpoint, and is useful for accessing the field via an interface.

func (*DeployRepoBranchDeployRepoBranchRepoDeploymentsDeployment) GetStatus added in v0.11.0

GetStatus returns DeployRepoBranchDeployRepoBranchRepoDeploymentsDeployment.Status, and is useful for accessing the field via an interface.

type DeployRepoBranchResponse added in v0.11.0

type DeployRepoBranchResponse struct {
	DeployRepoBranch DeployRepoBranchDeployRepoBranchRepo `json:"deployRepoBranch"`
}

deployRepoBranchResponse is returned by deployRepoBranch on success.

func DeployRepoBranchMutation added in v0.9.0

func DeployRepoBranchMutation(
	ctx_ context.Context,
	client_ graphql.Client,
	branch string,
	projectId uuid.UUID,
) (*DeployRepoBranchResponse, error)

func (*DeployRepoBranchResponse) GetDeployRepoBranch added in v0.11.0

GetDeployRepoBranch returns DeployRepoBranchResponse.DeployRepoBranch, and is useful for accessing the field via an interface.

type DeployableDriverActionExecutionFilter added in v0.8.1

type DeployableDriverActionExecutionFilter struct {
	Ids         *MultiEntityCriterion      `json:"ids,omitempty"`
	ActionTypes *DriverActionTypeCriterion `json:"actionTypes,omitempty"`
	ResourceIds *MultiEntityCriterion      `json:"resourceIds,omitempty"`
}

func (*DeployableDriverActionExecutionFilter) GetActionTypes added in v0.8.1

GetActionTypes returns DeployableDriverActionExecutionFilter.ActionTypes, and is useful for accessing the field via an interface.

func (*DeployableDriverActionExecutionFilter) GetIds added in v0.8.1

GetIds returns DeployableDriverActionExecutionFilter.Ids, and is useful for accessing the field via an interface.

func (*DeployableDriverActionExecutionFilter) GetResourceIds added in v0.8.1

GetResourceIds returns DeployableDriverActionExecutionFilter.ResourceIds, and is useful for accessing the field via an interface.

type Deployment added in v0.1.0

type Deployment struct {
	ID              uuid.UUID        `copier:"Id"`
	Status          DeploymentStatus `copier:"Status"`
	Branch          string
	Endpoints       []string
	PrivateEndpoint string
	ErrorMessage    string
}

type DeploymentReplicaStatus added in v0.1.2

type DeploymentReplicaStatus struct {
	Replicas        int
	ReadyReplicas   int
	RunningReplicas int
	State           string
	ErrorMessage    string
}

TODO this should be named DeploymentStatus, but that's already used

type DeploymentStatus added in v0.1.0

type DeploymentStatus string
const (
	DeploymentStatusBuildPending      DeploymentStatus = "BUILD_PENDING"
	DeploymentStatusBuildInProgress   DeploymentStatus = "BUILD_IN_PROGRESS"
	DeploymentStatusBuildFailed       DeploymentStatus = "BUILD_FAILED"
	DeploymentStatusBuildSucceeded    DeploymentStatus = "BUILD_SUCCEEDED"
	DeploymentStatusDeployPending     DeploymentStatus = "DEPLOY_PENDING"
	DeploymentStatusDeployInProgress  DeploymentStatus = "DEPLOY_IN_PROGRESS"
	DeploymentStatusReleaseInProgress DeploymentStatus = "RELEASE_IN_PROGRESS"
	DeploymentStatusDeployFailed      DeploymentStatus = "DEPLOY_FAILED"
	DeploymentStatusDeploySucceeded   DeploymentStatus = "DEPLOY_SUCCEEDED"
	DeploymentStatusBuildAborted      DeploymentStatus = "BUILD_ABORTED"
	DeploymentStatusDeployStopped     DeploymentStatus = "DEPLOY_STOPPED"
	DeploymentStatusDeployHealhty     DeploymentStatus = "DEPLOY_HEALHTY"
	DeploymentStatusDeployCrashing    DeploymentStatus = "DEPLOY_CRASHING"
)

type DriverActionTypeCriterion added in v0.8.1

type DriverActionTypeCriterion struct {
	Value    []*BlueprintDriverAction     `json:"value,omitempty"`
	Operator *FilterCriterionOperatorType `json:"operator,omitempty"`
}

func (*DriverActionTypeCriterion) GetOperator added in v0.8.1

GetOperator returns DriverActionTypeCriterion.Operator, and is useful for accessing the field via an interface.

func (*DriverActionTypeCriterion) GetValue added in v0.8.1

GetValue returns DriverActionTypeCriterion.Value, and is useful for accessing the field via an interface.

type EnvVarInput added in v0.2.0

type EnvVarInput struct {
	Name   string `json:"name"`
	Value  string `json:"value"`
	Sealed bool   `json:"sealed"`
}

func (*EnvVarInput) GetName added in v0.2.0

func (v *EnvVarInput) GetName() string

GetName returns EnvVarInput.Name, and is useful for accessing the field via an interface.

func (*EnvVarInput) GetSealed added in v0.6.1

func (v *EnvVarInput) GetSealed() bool

GetSealed returns EnvVarInput.Sealed, and is useful for accessing the field via an interface.

func (*EnvVarInput) GetValue added in v0.2.0

func (v *EnvVarInput) GetValue() string

GetValue returns EnvVarInput.Value, and is useful for accessing the field via an interface.

type FilterCriterion added in v0.8.1

type FilterCriterion struct {
	UserFilter                            *UserFilter                            `json:"userFilter,omitempty"`
	ResourceFilter                        *ResourceFilter                        `json:"resourceFilter,omitempty"`
	RepoFilter                            *RepoFilter                            `json:"repoFilter,omitempty"`
	DeployableDriverActionExecutionFilter *DeployableDriverActionExecutionFilter `json:"deployableDriverActionExecutionFilter,omitempty"`
	ResourceAdapterFilter                 *ResourceAdapterFilter                 `json:"resourceAdapterFilter,omitempty"`
	BlueprintMetadataFilter               *BlueprintMetadataFilter               `json:"blueprintMetadataFilter,omitempty"`
}

func (*FilterCriterion) GetBlueprintMetadataFilter added in v0.9.0

func (v *FilterCriterion) GetBlueprintMetadataFilter() *BlueprintMetadataFilter

GetBlueprintMetadataFilter returns FilterCriterion.BlueprintMetadataFilter, and is useful for accessing the field via an interface.

func (*FilterCriterion) GetDeployableDriverActionExecutionFilter added in v0.8.1

func (v *FilterCriterion) GetDeployableDriverActionExecutionFilter() *DeployableDriverActionExecutionFilter

GetDeployableDriverActionExecutionFilter returns FilterCriterion.DeployableDriverActionExecutionFilter, and is useful for accessing the field via an interface.

func (*FilterCriterion) GetRepoFilter added in v0.8.1

func (v *FilterCriterion) GetRepoFilter() *RepoFilter

GetRepoFilter returns FilterCriterion.RepoFilter, and is useful for accessing the field via an interface.

func (*FilterCriterion) GetResourceAdapterFilter added in v0.8.1

func (v *FilterCriterion) GetResourceAdapterFilter() *ResourceAdapterFilter

GetResourceAdapterFilter returns FilterCriterion.ResourceAdapterFilter, and is useful for accessing the field via an interface.

func (*FilterCriterion) GetResourceFilter added in v0.8.1

func (v *FilterCriterion) GetResourceFilter() *ResourceFilter

GetResourceFilter returns FilterCriterion.ResourceFilter, and is useful for accessing the field via an interface.

func (*FilterCriterion) GetUserFilter added in v0.8.1

func (v *FilterCriterion) GetUserFilter() *UserFilter

GetUserFilter returns FilterCriterion.UserFilter, and is useful for accessing the field via an interface.

type FilterCriterionOperatorType added in v0.8.1

type FilterCriterionOperatorType string
const (
	FilterCriterionOperatorTypeEquals    FilterCriterionOperatorType = "EQUALS"
	FilterCriterionOperatorTypeNotEquals FilterCriterionOperatorType = "NOT_EQUALS"
	FilterCriterionOperatorTypeIncludes  FilterCriterionOperatorType = "INCLUDES"
	FilterCriterionOperatorTypeExcludes  FilterCriterionOperatorType = "EXCLUDES"
	FilterCriterionOperatorTypeStarts    FilterCriterionOperatorType = "STARTS"
	FilterCriterionOperatorTypeEnds      FilterCriterionOperatorType = "ENDS"
	FilterCriterionOperatorTypeContains  FilterCriterionOperatorType = "CONTAINS"
)

type FilterExpression added in v0.8.1

type FilterExpression struct {
	Operator *FilterExpressionOperator `json:"operator,omitempty"`
	Filters  []*FilterNode             `json:"filters,omitempty"`
}

func (*FilterExpression) GetFilters added in v0.8.1

func (v *FilterExpression) GetFilters() []*FilterNode

GetFilters returns FilterExpression.Filters, and is useful for accessing the field via an interface.

func (*FilterExpression) GetOperator added in v0.8.1

func (v *FilterExpression) GetOperator() *FilterExpressionOperator

GetOperator returns FilterExpression.Operator, and is useful for accessing the field via an interface.

type FilterExpressionOperator added in v0.8.1

type FilterExpressionOperator string
const (
	FilterExpressionOperatorAnd FilterExpressionOperator = "AND"
	FilterExpressionOperatorOr  FilterExpressionOperator = "OR"
	FilterExpressionOperatorNot FilterExpressionOperator = "NOT"
)

type FilterInput added in v0.8.1

type FilterInput struct {
	Sort   *SortInput  `json:"sort,omitempty"`
	Page   *PageInput  `json:"page,omitempty"`
	Filter *FilterNode `json:"filter,omitempty"`
}

func (*FilterInput) GetFilter added in v0.8.1

func (v *FilterInput) GetFilter() *FilterNode

GetFilter returns FilterInput.Filter, and is useful for accessing the field via an interface.

func (*FilterInput) GetPage added in v0.8.1

func (v *FilterInput) GetPage() *PageInput

GetPage returns FilterInput.Page, and is useful for accessing the field via an interface.

func (*FilterInput) GetSort added in v0.8.1

func (v *FilterInput) GetSort() *SortInput

GetSort returns FilterInput.Sort, and is useful for accessing the field via an interface.

type FilterNode added in v0.8.1

type FilterNode struct {
	Expression *FilterExpression `json:"expression,omitempty"`
	Criterion  *FilterCriterion  `json:"criterion,omitempty"`
}

func (*FilterNode) GetCriterion added in v0.8.1

func (v *FilterNode) GetCriterion() *FilterCriterion

GetCriterion returns FilterNode.Criterion, and is useful for accessing the field via an interface.

func (*FilterNode) GetExpression added in v0.8.1

func (v *FilterNode) GetExpression() *FilterExpression

GetExpression returns FilterNode.Expression, and is useful for accessing the field via an interface.

type GetBlueprintResponse added in v0.11.0

type GetBlueprintResponse struct {
	User GetBlueprintUser `json:"user"`
}

getBlueprintResponse is returned by getBlueprint on success.

func GetBlueprintQuery added in v0.9.0

func GetBlueprintQuery(
	ctx_ context.Context,
	client_ graphql.Client,
	userID string,
	blueprintID uuid.UUID,
) (*GetBlueprintResponse, error)

func (*GetBlueprintResponse) GetUser added in v0.11.0

GetUser returns GetBlueprintResponse.User, and is useful for accessing the field via an interface.

type GetBlueprintUser added in v0.11.0

type GetBlueprintUser struct {
	Blueprint GetBlueprintUserBlueprint `json:"blueprint"`
}

GetBlueprintUser includes the requested fields of the GraphQL type User.

func (*GetBlueprintUser) GetBlueprint added in v0.11.0

func (v *GetBlueprintUser) GetBlueprint() GetBlueprintUserBlueprint

GetBlueprint returns GetBlueprintUser.Blueprint, and is useful for accessing the field via an interface.

type GetBlueprintUserBlueprint added in v0.11.0

type GetBlueprintUserBlueprint struct {
	BlueprintSummary `json:"-"`
}

GetBlueprintUserBlueprint includes the requested fields of the GraphQL type Blueprint.

func (*GetBlueprintUserBlueprint) GetDescription added in v0.11.0

func (v *GetBlueprintUserBlueprint) GetDescription() string

GetDescription returns GetBlueprintUserBlueprint.Description, and is useful for accessing the field via an interface.

func (*GetBlueprintUserBlueprint) GetDisplayName added in v0.11.0

func (v *GetBlueprintUserBlueprint) GetDisplayName() string

GetDisplayName returns GetBlueprintUserBlueprint.DisplayName, and is useful for accessing the field via an interface.

func (*GetBlueprintUserBlueprint) GetId added in v0.11.0

func (v *GetBlueprintUserBlueprint) GetId() uuid.UUID

GetId returns GetBlueprintUserBlueprint.Id, and is useful for accessing the field via an interface.

func (*GetBlueprintUserBlueprint) GetProjectCount added in v0.11.0

func (v *GetBlueprintUserBlueprint) GetProjectCount() int

GetProjectCount returns GetBlueprintUserBlueprint.ProjectCount, and is useful for accessing the field via an interface.

func (*GetBlueprintUserBlueprint) GetRichInputSchema added in v0.11.0

func (v *GetBlueprintUserBlueprint) GetRichInputSchema() string

GetRichInputSchema returns GetBlueprintUserBlueprint.RichInputSchema, and is useful for accessing the field via an interface.

func (*GetBlueprintUserBlueprint) GetSlug added in v0.11.0

func (v *GetBlueprintUserBlueprint) GetSlug() string

GetSlug returns GetBlueprintUserBlueprint.Slug, and is useful for accessing the field via an interface.

func (*GetBlueprintUserBlueprint) GetTags added in v0.11.0

func (v *GetBlueprintUserBlueprint) GetTags() []string

GetTags returns GetBlueprintUserBlueprint.Tags, and is useful for accessing the field via an interface.

func (*GetBlueprintUserBlueprint) GetType added in v0.11.0

GetType returns GetBlueprintUserBlueprint.Type, and is useful for accessing the field via an interface.

func (*GetBlueprintUserBlueprint) MarshalJSON added in v0.11.0

func (v *GetBlueprintUserBlueprint) MarshalJSON() ([]byte, error)

func (*GetBlueprintUserBlueprint) UnmarshalJSON added in v0.11.0

func (v *GetBlueprintUserBlueprint) UnmarshalJSON(b []byte) error

type GetBlueprintsResponse added in v0.11.0

type GetBlueprintsResponse struct {
	User GetBlueprintsUser `json:"user"`
}

getBlueprintsResponse is returned by getBlueprints on success.

func GetBlueprintsQuery added in v0.9.0

func GetBlueprintsQuery(
	ctx_ context.Context,
	client_ graphql.Client,
	userId string,
	pageInput PageInput,
) (*GetBlueprintsResponse, error)

func (*GetBlueprintsResponse) GetUser added in v0.11.0

GetUser returns GetBlueprintsResponse.User, and is useful for accessing the field via an interface.

type GetBlueprintsUser added in v0.11.0

type GetBlueprintsUser struct {
	Blueprints BlueprintConnection `json:"blueprints"`
}

GetBlueprintsUser includes the requested fields of the GraphQL type User.

func (*GetBlueprintsUser) GetBlueprints added in v0.11.0

func (v *GetBlueprintsUser) GetBlueprints() BlueprintConnection

GetBlueprints returns GetBlueprintsUser.Blueprints, and is useful for accessing the field via an interface.

type GetBuildLogsCurrentUser added in v0.11.0

type GetBuildLogsCurrentUser struct {
	Deployment GetBuildLogsCurrentUserDeployment `json:"deployment"`
}

GetBuildLogsCurrentUser includes the requested fields of the GraphQL type User.

func (*GetBuildLogsCurrentUser) GetDeployment added in v0.11.0

GetDeployment returns GetBuildLogsCurrentUser.Deployment, and is useful for accessing the field via an interface.

type GetBuildLogsCurrentUserDeployment added in v0.11.0

type GetBuildLogsCurrentUserDeployment struct {
	Build GetBuildLogsCurrentUserDeploymentBuild `json:"build"`
}

GetBuildLogsCurrentUserDeployment includes the requested fields of the GraphQL type Deployment.

func (*GetBuildLogsCurrentUserDeployment) GetBuild added in v0.11.0

GetBuild returns GetBuildLogsCurrentUserDeployment.Build, and is useful for accessing the field via an interface.

type GetBuildLogsCurrentUserDeploymentBuild added in v0.11.0

type GetBuildLogsCurrentUserDeploymentBuild struct {
	Logs GetBuildLogsCurrentUserDeploymentBuildLogs `json:"logs"`
}

GetBuildLogsCurrentUserDeploymentBuild includes the requested fields of the GraphQL type Build.

func (*GetBuildLogsCurrentUserDeploymentBuild) GetLogs added in v0.11.0

GetLogs returns GetBuildLogsCurrentUserDeploymentBuild.Logs, and is useful for accessing the field via an interface.

type GetBuildLogsCurrentUserDeploymentBuildLogs added in v0.11.0

type GetBuildLogsCurrentUserDeploymentBuildLogs struct {
	Entries []GetBuildLogsCurrentUserDeploymentBuildLogsEntriesLogEntry `json:"entries,omitempty"`
}

GetBuildLogsCurrentUserDeploymentBuildLogs includes the requested fields of the GraphQL type Logs.

func (*GetBuildLogsCurrentUserDeploymentBuildLogs) GetEntries added in v0.11.0

GetEntries returns GetBuildLogsCurrentUserDeploymentBuildLogs.Entries, and is useful for accessing the field via an interface.

type GetBuildLogsCurrentUserDeploymentBuildLogsEntriesLogEntry added in v0.11.0

type GetBuildLogsCurrentUserDeploymentBuildLogsEntriesLogEntry struct {
	Text      string    `json:"text"`
	Timestamp time.Time `json:"timestamp"`
}

GetBuildLogsCurrentUserDeploymentBuildLogsEntriesLogEntry includes the requested fields of the GraphQL type LogEntry.

func (*GetBuildLogsCurrentUserDeploymentBuildLogsEntriesLogEntry) GetText added in v0.11.0

GetText returns GetBuildLogsCurrentUserDeploymentBuildLogsEntriesLogEntry.Text, and is useful for accessing the field via an interface.

func (*GetBuildLogsCurrentUserDeploymentBuildLogsEntriesLogEntry) GetTimestamp added in v0.11.0

GetTimestamp returns GetBuildLogsCurrentUserDeploymentBuildLogsEntriesLogEntry.Timestamp, and is useful for accessing the field via an interface.

type GetBuildLogsResponse added in v0.11.0

type GetBuildLogsResponse struct {
	CurrentUser GetBuildLogsCurrentUser `json:"currentUser"`
}

getBuildLogsResponse is returned by getBuildLogs on success.

func GetBuildLogsQuery added in v0.9.0

func GetBuildLogsQuery(
	ctx_ context.Context,
	client_ graphql.Client,
	id string,
) (*GetBuildLogsResponse, error)

func (*GetBuildLogsResponse) GetCurrentUser added in v0.11.0

func (v *GetBuildLogsResponse) GetCurrentUser() GetBuildLogsCurrentUser

GetCurrentUser returns GetBuildLogsResponse.CurrentUser, and is useful for accessing the field via an interface.

type GetCloudAWSCurrentUser added in v0.7.0

type GetCloudAWSCurrentUser struct {
	AwsAccount GetCloudAWSCurrentUserAwsAccountAWSAccount `json:"awsAccount"`
}

GetCloudAWSCurrentUser includes the requested fields of the GraphQL type User.

func (*GetCloudAWSCurrentUser) GetAwsAccount added in v0.7.0

GetAwsAccount returns GetCloudAWSCurrentUser.AwsAccount, and is useful for accessing the field via an interface.

type GetCloudAWSCurrentUserAwsAccountAWSAccount added in v0.7.0

type GetCloudAWSCurrentUserAwsAccountAWSAccount struct {
	Id         uuid.UUID `json:"id"`
	RoleARN    string    `json:"roleARN"`
	ExternalID string    `json:"externalID"`
}

GetCloudAWSCurrentUserAwsAccountAWSAccount includes the requested fields of the GraphQL type AWSAccount.

func (*GetCloudAWSCurrentUserAwsAccountAWSAccount) GetExternalID added in v0.7.0

GetExternalID returns GetCloudAWSCurrentUserAwsAccountAWSAccount.ExternalID, and is useful for accessing the field via an interface.

func (*GetCloudAWSCurrentUserAwsAccountAWSAccount) GetId added in v0.7.0

GetId returns GetCloudAWSCurrentUserAwsAccountAWSAccount.Id, and is useful for accessing the field via an interface.

func (*GetCloudAWSCurrentUserAwsAccountAWSAccount) GetRoleARN added in v0.7.0

GetRoleARN returns GetCloudAWSCurrentUserAwsAccountAWSAccount.RoleARN, and is useful for accessing the field via an interface.

type GetCloudAWSResponse added in v0.7.0

type GetCloudAWSResponse struct {
	CurrentUser GetCloudAWSCurrentUser `json:"currentUser"`
}

GetCloudAWSResponse is returned by GetCloudAWS on success.

func GetCloudAWSQuery added in v0.9.0

func GetCloudAWSQuery(
	ctx_ context.Context,
	client_ graphql.Client,
	id uuid.UUID,
) (*GetCloudAWSResponse, error)

func (*GetCloudAWSResponse) GetCurrentUser added in v0.7.0

func (v *GetCloudAWSResponse) GetCurrentUser() GetCloudAWSCurrentUser

GetCurrentUser returns GetCloudAWSResponse.CurrentUser, and is useful for accessing the field via an interface.

type GetCloudDigitalOceanCurrentUser added in v0.7.0

type GetCloudDigitalOceanCurrentUser struct {
	DoAccount GetCloudDigitalOceanCurrentUserDoAccountDOAccount `json:"doAccount"`
}

GetCloudDigitalOceanCurrentUser includes the requested fields of the GraphQL type User.

func (*GetCloudDigitalOceanCurrentUser) GetDoAccount added in v0.7.0

GetDoAccount returns GetCloudDigitalOceanCurrentUser.DoAccount, and is useful for accessing the field via an interface.

type GetCloudDigitalOceanCurrentUserDoAccountDOAccount added in v0.7.0

type GetCloudDigitalOceanCurrentUserDoAccountDOAccount struct {
	Id          uuid.UUID `json:"id"`
	AccessToken string    `json:"accessToken"`
}

GetCloudDigitalOceanCurrentUserDoAccountDOAccount includes the requested fields of the GraphQL type DOAccount.

func (*GetCloudDigitalOceanCurrentUserDoAccountDOAccount) GetAccessToken added in v0.7.0

GetAccessToken returns GetCloudDigitalOceanCurrentUserDoAccountDOAccount.AccessToken, and is useful for accessing the field via an interface.

func (*GetCloudDigitalOceanCurrentUserDoAccountDOAccount) GetId added in v0.7.0

GetId returns GetCloudDigitalOceanCurrentUserDoAccountDOAccount.Id, and is useful for accessing the field via an interface.

type GetCloudDigitalOceanResponse added in v0.7.0

type GetCloudDigitalOceanResponse struct {
	CurrentUser GetCloudDigitalOceanCurrentUser `json:"currentUser"`
}

GetCloudDigitalOceanResponse is returned by GetCloudDigitalOcean on success.

func GetCloudDigitalOceanQuery added in v0.9.0

func GetCloudDigitalOceanQuery(
	ctx_ context.Context,
	client_ graphql.Client,
	id uuid.UUID,
) (*GetCloudDigitalOceanResponse, error)

func (*GetCloudDigitalOceanResponse) GetCurrentUser added in v0.7.0

GetCurrentUser returns GetCloudDigitalOceanResponse.CurrentUser, and is useful for accessing the field via an interface.

type GetCloudGCPCurrentUser added in v0.7.0

type GetCloudGCPCurrentUser struct {
	GcpAccount GetCloudGCPCurrentUserGcpAccountGCPAccount `json:"gcpAccount"`
}

GetCloudGCPCurrentUser includes the requested fields of the GraphQL type User.

func (*GetCloudGCPCurrentUser) GetGcpAccount added in v0.7.0

GetGcpAccount returns GetCloudGCPCurrentUser.GcpAccount, and is useful for accessing the field via an interface.

type GetCloudGCPCurrentUserGcpAccountGCPAccount added in v0.7.0

type GetCloudGCPCurrentUserGcpAccountGCPAccount struct {
	Id          uuid.UUID `json:"id"`
	ProjectID   string    `json:"projectID"`
	Credentials string    `json:"credentials"`
}

GetCloudGCPCurrentUserGcpAccountGCPAccount includes the requested fields of the GraphQL type GCPAccount.

func (*GetCloudGCPCurrentUserGcpAccountGCPAccount) GetCredentials added in v0.7.0

GetCredentials returns GetCloudGCPCurrentUserGcpAccountGCPAccount.Credentials, and is useful for accessing the field via an interface.

func (*GetCloudGCPCurrentUserGcpAccountGCPAccount) GetId added in v0.7.0

GetId returns GetCloudGCPCurrentUserGcpAccountGCPAccount.Id, and is useful for accessing the field via an interface.

func (*GetCloudGCPCurrentUserGcpAccountGCPAccount) GetProjectID added in v0.7.6

GetProjectID returns GetCloudGCPCurrentUserGcpAccountGCPAccount.ProjectID, and is useful for accessing the field via an interface.

type GetCloudGCPResponse added in v0.7.0

type GetCloudGCPResponse struct {
	CurrentUser GetCloudGCPCurrentUser `json:"currentUser"`
}

GetCloudGCPResponse is returned by GetCloudGCP on success.

func GetCloudGCPQuery added in v0.9.0

func GetCloudGCPQuery(
	ctx_ context.Context,
	client_ graphql.Client,
	id uuid.UUID,
) (*GetCloudGCPResponse, error)

func (*GetCloudGCPResponse) GetCurrentUser added in v0.7.0

func (v *GetCloudGCPResponse) GetCurrentUser() GetCloudGCPCurrentUser

GetCurrentUser returns GetCloudGCPResponse.CurrentUser, and is useful for accessing the field via an interface.

type GetCloudLinodeCurrentUser added in v0.7.0

type GetCloudLinodeCurrentUser struct {
	LinodeAccount GetCloudLinodeCurrentUserLinodeAccount `json:"linodeAccount"`
}

GetCloudLinodeCurrentUser includes the requested fields of the GraphQL type User.

func (*GetCloudLinodeCurrentUser) GetLinodeAccount added in v0.7.0

GetLinodeAccount returns GetCloudLinodeCurrentUser.LinodeAccount, and is useful for accessing the field via an interface.

type GetCloudLinodeCurrentUserLinodeAccount added in v0.7.0

type GetCloudLinodeCurrentUserLinodeAccount struct {
	Id          uuid.UUID `json:"id"`
	AccessToken string    `json:"accessToken"`
}

GetCloudLinodeCurrentUserLinodeAccount includes the requested fields of the GraphQL type LinodeAccount.

func (*GetCloudLinodeCurrentUserLinodeAccount) GetAccessToken added in v0.7.0

func (v *GetCloudLinodeCurrentUserLinodeAccount) GetAccessToken() string

GetAccessToken returns GetCloudLinodeCurrentUserLinodeAccount.AccessToken, and is useful for accessing the field via an interface.

func (*GetCloudLinodeCurrentUserLinodeAccount) GetId added in v0.7.0

GetId returns GetCloudLinodeCurrentUserLinodeAccount.Id, and is useful for accessing the field via an interface.

type GetCloudLinodeResponse added in v0.7.0

type GetCloudLinodeResponse struct {
	CurrentUser GetCloudLinodeCurrentUser `json:"currentUser"`
}

GetCloudLinodeResponse is returned by GetCloudLinode on success.

func GetCloudLinodeQuery added in v0.9.0

func GetCloudLinodeQuery(
	ctx_ context.Context,
	client_ graphql.Client,
	id uuid.UUID,
) (*GetCloudLinodeResponse, error)

func (*GetCloudLinodeResponse) GetCurrentUser added in v0.7.0

GetCurrentUser returns GetCloudLinodeResponse.CurrentUser, and is useful for accessing the field via an interface.

type GetClusterKubeconfigCurrentUser added in v0.11.0

type GetClusterKubeconfigCurrentUser struct {
	Cluster GetClusterKubeconfigCurrentUserCluster `json:"cluster"`
}

GetClusterKubeconfigCurrentUser includes the requested fields of the GraphQL type User.

func (*GetClusterKubeconfigCurrentUser) GetCluster added in v0.11.0

GetCluster returns GetClusterKubeconfigCurrentUser.Cluster, and is useful for accessing the field via an interface.

type GetClusterKubeconfigCurrentUserCluster added in v0.11.0

type GetClusterKubeconfigCurrentUserCluster struct {
	Id         uuid.UUID `json:"id"`
	Name       string    `json:"name"`
	Kubeconfig string    `json:"kubeconfig"`
}

GetClusterKubeconfigCurrentUserCluster includes the requested fields of the GraphQL type Cluster.

func (*GetClusterKubeconfigCurrentUserCluster) GetId added in v0.11.0

GetId returns GetClusterKubeconfigCurrentUserCluster.Id, and is useful for accessing the field via an interface.

func (*GetClusterKubeconfigCurrentUserCluster) GetKubeconfig added in v0.11.0

GetKubeconfig returns GetClusterKubeconfigCurrentUserCluster.Kubeconfig, and is useful for accessing the field via an interface.

func (*GetClusterKubeconfigCurrentUserCluster) GetName added in v0.11.0

GetName returns GetClusterKubeconfigCurrentUserCluster.Name, and is useful for accessing the field via an interface.

type GetClusterKubeconfigResponse added in v0.7.0

type GetClusterKubeconfigResponse struct {
	CurrentUser GetClusterKubeconfigCurrentUser `json:"currentUser"`
}

getClusterKubeconfigResponse is returned by getClusterKubeconfig on success.

func GetClusterKubeconfigQuery added in v0.9.0

func GetClusterKubeconfigQuery(
	ctx_ context.Context,
	client_ graphql.Client,
	id uuid.UUID,
) (*GetClusterKubeconfigResponse, error)

func (*GetClusterKubeconfigResponse) GetCurrentUser added in v0.11.0

GetCurrentUser returns GetClusterKubeconfigResponse.CurrentUser, and is useful for accessing the field via an interface.

type GetCurrentUserCurrentUser added in v0.11.0

type GetCurrentUserCurrentUser struct {
	Id    string `json:"id"`
	Login string `json:"login"`
}

GetCurrentUserCurrentUser includes the requested fields of the GraphQL type User.

func (*GetCurrentUserCurrentUser) GetId added in v0.11.0

func (v *GetCurrentUserCurrentUser) GetId() string

GetId returns GetCurrentUserCurrentUser.Id, and is useful for accessing the field via an interface.

func (*GetCurrentUserCurrentUser) GetLogin added in v0.11.0

func (v *GetCurrentUserCurrentUser) GetLogin() string

GetLogin returns GetCurrentUserCurrentUser.Login, and is useful for accessing the field via an interface.

type GetCurrentUserResponse added in v0.11.0

type GetCurrentUserResponse struct {
	CurrentUser GetCurrentUserCurrentUser `json:"currentUser"`
}

getCurrentUserResponse is returned by getCurrentUser on success.

func GetCurrentUserQuery added in v0.9.0

func GetCurrentUserQuery(
	ctx_ context.Context,
	client_ graphql.Client,
) (*GetCurrentUserResponse, error)

func (*GetCurrentUserResponse) GetCurrentUser added in v0.11.0

GetCurrentUser returns GetCurrentUserResponse.CurrentUser, and is useful for accessing the field via an interface.

type GetDeploymentInfoCurrentUser added in v0.11.0

type GetDeploymentInfoCurrentUser struct {
	Deployment GetDeploymentInfoCurrentUserDeployment `json:"deployment"`
}

GetDeploymentInfoCurrentUser includes the requested fields of the GraphQL type User.

func (*GetDeploymentInfoCurrentUser) GetDeployment added in v0.11.0

GetDeployment returns GetDeploymentInfoCurrentUser.Deployment, and is useful for accessing the field via an interface.

type GetDeploymentInfoCurrentUserDeployment added in v0.11.0

type GetDeploymentInfoCurrentUserDeployment struct {
	Id              string           `json:"id"`
	Status          DeploymentStatus `json:"status"`
	Endpoints       []string         `json:"endpoints,omitempty"`
	PrivateEndpoint string           `json:"privateEndpoint"`
	ErrorMessage    string           `json:"errorMessage"`
}

GetDeploymentInfoCurrentUserDeployment includes the requested fields of the GraphQL type Deployment.

func (*GetDeploymentInfoCurrentUserDeployment) GetEndpoints added in v0.11.0

func (v *GetDeploymentInfoCurrentUserDeployment) GetEndpoints() []string

GetEndpoints returns GetDeploymentInfoCurrentUserDeployment.Endpoints, and is useful for accessing the field via an interface.

func (*GetDeploymentInfoCurrentUserDeployment) GetErrorMessage added in v0.11.0

func (v *GetDeploymentInfoCurrentUserDeployment) GetErrorMessage() string

GetErrorMessage returns GetDeploymentInfoCurrentUserDeployment.ErrorMessage, and is useful for accessing the field via an interface.

func (*GetDeploymentInfoCurrentUserDeployment) GetId added in v0.11.0

GetId returns GetDeploymentInfoCurrentUserDeployment.Id, and is useful for accessing the field via an interface.

func (*GetDeploymentInfoCurrentUserDeployment) GetPrivateEndpoint added in v0.11.0

func (v *GetDeploymentInfoCurrentUserDeployment) GetPrivateEndpoint() string

GetPrivateEndpoint returns GetDeploymentInfoCurrentUserDeployment.PrivateEndpoint, and is useful for accessing the field via an interface.

func (*GetDeploymentInfoCurrentUserDeployment) GetStatus added in v0.11.0

GetStatus returns GetDeploymentInfoCurrentUserDeployment.Status, and is useful for accessing the field via an interface.

type GetDeploymentInfoResponse added in v0.11.0

type GetDeploymentInfoResponse struct {
	CurrentUser GetDeploymentInfoCurrentUser `json:"currentUser"`
}

getDeploymentInfoResponse is returned by getDeploymentInfo on success.

func GetDeploymentInfoQuery added in v0.9.0

func GetDeploymentInfoQuery(
	ctx_ context.Context,
	client_ graphql.Client,
	id string,
) (*GetDeploymentInfoResponse, error)

func (*GetDeploymentInfoResponse) GetCurrentUser added in v0.11.0

GetCurrentUser returns GetDeploymentInfoResponse.CurrentUser, and is useful for accessing the field via an interface.

type GetDeploymentLogsCurrentUser added in v0.11.0

type GetDeploymentLogsCurrentUser struct {
	Deployment GetDeploymentLogsCurrentUserDeployment `json:"deployment"`
}

GetDeploymentLogsCurrentUser includes the requested fields of the GraphQL type User.

func (*GetDeploymentLogsCurrentUser) GetDeployment added in v0.11.0

GetDeployment returns GetDeploymentLogsCurrentUser.Deployment, and is useful for accessing the field via an interface.

type GetDeploymentLogsCurrentUserDeployment added in v0.11.0

type GetDeploymentLogsCurrentUserDeployment struct {
	DeployStep GetDeploymentLogsCurrentUserDeploymentDeployStepPipelineStep `json:"deployStep"`
}

GetDeploymentLogsCurrentUserDeployment includes the requested fields of the GraphQL type Deployment.

func (*GetDeploymentLogsCurrentUserDeployment) GetDeployStep added in v0.11.0

GetDeployStep returns GetDeploymentLogsCurrentUserDeployment.DeployStep, and is useful for accessing the field via an interface.

type GetDeploymentLogsCurrentUserDeploymentDeployStepPipelineStep added in v0.11.0

type GetDeploymentLogsCurrentUserDeploymentDeployStepPipelineStep struct {
	Logs GetDeploymentLogsCurrentUserDeploymentDeployStepPipelineStepLogs `json:"logs"`
}

GetDeploymentLogsCurrentUserDeploymentDeployStepPipelineStep includes the requested fields of the GraphQL type PipelineStep.

func (*GetDeploymentLogsCurrentUserDeploymentDeployStepPipelineStep) GetLogs added in v0.11.0

GetLogs returns GetDeploymentLogsCurrentUserDeploymentDeployStepPipelineStep.Logs, and is useful for accessing the field via an interface.

type GetDeploymentLogsCurrentUserDeploymentDeployStepPipelineStepLogs added in v0.11.0

type GetDeploymentLogsCurrentUserDeploymentDeployStepPipelineStepLogs struct {
	Entries []GetDeploymentLogsCurrentUserDeploymentDeployStepPipelineStepLogsEntriesLogEntry `json:"entries,omitempty"`
}

GetDeploymentLogsCurrentUserDeploymentDeployStepPipelineStepLogs includes the requested fields of the GraphQL type Logs.

func (*GetDeploymentLogsCurrentUserDeploymentDeployStepPipelineStepLogs) GetEntries added in v0.11.0

GetEntries returns GetDeploymentLogsCurrentUserDeploymentDeployStepPipelineStepLogs.Entries, and is useful for accessing the field via an interface.

type GetDeploymentLogsCurrentUserDeploymentDeployStepPipelineStepLogsEntriesLogEntry added in v0.11.0

type GetDeploymentLogsCurrentUserDeploymentDeployStepPipelineStepLogsEntriesLogEntry struct {
	Text      string    `json:"text"`
	Timestamp time.Time `json:"timestamp"`
}

GetDeploymentLogsCurrentUserDeploymentDeployStepPipelineStepLogsEntriesLogEntry includes the requested fields of the GraphQL type LogEntry.

func (*GetDeploymentLogsCurrentUserDeploymentDeployStepPipelineStepLogsEntriesLogEntry) GetText added in v0.11.0

GetText returns GetDeploymentLogsCurrentUserDeploymentDeployStepPipelineStepLogsEntriesLogEntry.Text, and is useful for accessing the field via an interface.

func (*GetDeploymentLogsCurrentUserDeploymentDeployStepPipelineStepLogsEntriesLogEntry) GetTimestamp added in v0.11.0

GetTimestamp returns GetDeploymentLogsCurrentUserDeploymentDeployStepPipelineStepLogsEntriesLogEntry.Timestamp, and is useful for accessing the field via an interface.

type GetDeploymentLogsResponse added in v0.11.0

type GetDeploymentLogsResponse struct {
	CurrentUser GetDeploymentLogsCurrentUser `json:"currentUser"`
}

getDeploymentLogsResponse is returned by getDeploymentLogs on success.

func GetDeploymentLogsQuery added in v0.9.0

func GetDeploymentLogsQuery(
	ctx_ context.Context,
	client_ graphql.Client,
	id string,
) (*GetDeploymentLogsResponse, error)

func (*GetDeploymentLogsResponse) GetCurrentUser added in v0.11.0

GetCurrentUser returns GetDeploymentLogsResponse.CurrentUser, and is useful for accessing the field via an interface.

type GetDeploymentReplicaStatusCurrentUser added in v0.11.0

type GetDeploymentReplicaStatusCurrentUser struct {
	Deployment GetDeploymentReplicaStatusCurrentUserDeployment `json:"deployment"`
}

GetDeploymentReplicaStatusCurrentUser includes the requested fields of the GraphQL type User.

func (*GetDeploymentReplicaStatusCurrentUser) GetDeployment added in v0.11.0

GetDeployment returns GetDeploymentReplicaStatusCurrentUser.Deployment, and is useful for accessing the field via an interface.

type GetDeploymentReplicaStatusCurrentUserDeployment added in v0.11.0

type GetDeploymentReplicaStatusCurrentUserDeployment struct {
	DeployStatus GetDeploymentReplicaStatusCurrentUserDeploymentDeployStatus `json:"deployStatus"`
}

GetDeploymentReplicaStatusCurrentUserDeployment includes the requested fields of the GraphQL type Deployment.

func (*GetDeploymentReplicaStatusCurrentUserDeployment) GetDeployStatus added in v0.11.0

GetDeployStatus returns GetDeploymentReplicaStatusCurrentUserDeployment.DeployStatus, and is useful for accessing the field via an interface.

type GetDeploymentReplicaStatusCurrentUserDeploymentDeployStatus added in v0.11.0

type GetDeploymentReplicaStatusCurrentUserDeploymentDeployStatus struct {
	Replicas        int    `json:"replicas"`
	ReadyReplicas   int    `json:"readyReplicas"`
	RunningReplicas int    `json:"runningReplicas"`
	State           string `json:"state"`
	ErrorMessage    string `json:"errorMessage"`
}

GetDeploymentReplicaStatusCurrentUserDeploymentDeployStatus includes the requested fields of the GraphQL type DeployStatus.

func (*GetDeploymentReplicaStatusCurrentUserDeploymentDeployStatus) GetErrorMessage added in v0.11.0

GetErrorMessage returns GetDeploymentReplicaStatusCurrentUserDeploymentDeployStatus.ErrorMessage, and is useful for accessing the field via an interface.

func (*GetDeploymentReplicaStatusCurrentUserDeploymentDeployStatus) GetReadyReplicas added in v0.11.0

GetReadyReplicas returns GetDeploymentReplicaStatusCurrentUserDeploymentDeployStatus.ReadyReplicas, and is useful for accessing the field via an interface.

func (*GetDeploymentReplicaStatusCurrentUserDeploymentDeployStatus) GetReplicas added in v0.11.0

GetReplicas returns GetDeploymentReplicaStatusCurrentUserDeploymentDeployStatus.Replicas, and is useful for accessing the field via an interface.

func (*GetDeploymentReplicaStatusCurrentUserDeploymentDeployStatus) GetRunningReplicas added in v0.11.0

GetRunningReplicas returns GetDeploymentReplicaStatusCurrentUserDeploymentDeployStatus.RunningReplicas, and is useful for accessing the field via an interface.

func (*GetDeploymentReplicaStatusCurrentUserDeploymentDeployStatus) GetState added in v0.11.0

GetState returns GetDeploymentReplicaStatusCurrentUserDeploymentDeployStatus.State, and is useful for accessing the field via an interface.

type GetDeploymentReplicaStatusResponse added in v0.11.0

type GetDeploymentReplicaStatusResponse struct {
	CurrentUser GetDeploymentReplicaStatusCurrentUser `json:"currentUser"`
}

getDeploymentReplicaStatusResponse is returned by getDeploymentReplicaStatus on success.

func GetDeploymentReplicaStatusQuery added in v0.9.0

func GetDeploymentReplicaStatusQuery(
	ctx_ context.Context,
	client_ graphql.Client,
	id string,
) (*GetDeploymentReplicaStatusResponse, error)

func (*GetDeploymentReplicaStatusResponse) GetCurrentUser added in v0.11.0

GetCurrentUser returns GetDeploymentReplicaStatusResponse.CurrentUser, and is useful for accessing the field via an interface.

type GetEnvVarsCurrentUser added in v0.11.0

type GetEnvVarsCurrentUser struct {
	Repo GetEnvVarsCurrentUserRepo `json:"repo"`
}

GetEnvVarsCurrentUser includes the requested fields of the GraphQL type User.

func (*GetEnvVarsCurrentUser) GetRepo added in v0.11.0

GetRepo returns GetEnvVarsCurrentUser.Repo, and is useful for accessing the field via an interface.

type GetEnvVarsCurrentUserRepo added in v0.11.0

type GetEnvVarsCurrentUserRepo struct {
	Envs []GetEnvVarsCurrentUserRepoEnvsEnvVar `json:"envs,omitempty"`
}

GetEnvVarsCurrentUserRepo includes the requested fields of the GraphQL type Repo.

func (*GetEnvVarsCurrentUserRepo) GetEnvs added in v0.11.0

GetEnvs returns GetEnvVarsCurrentUserRepo.Envs, and is useful for accessing the field via an interface.

type GetEnvVarsCurrentUserRepoEnvsEnvVar added in v0.11.0

type GetEnvVarsCurrentUserRepoEnvsEnvVar struct {
	Name  string `json:"name"`
	Value string `json:"value"`
}

GetEnvVarsCurrentUserRepoEnvsEnvVar includes the requested fields of the GraphQL type EnvVar.

func (*GetEnvVarsCurrentUserRepoEnvsEnvVar) GetName added in v0.11.0

GetName returns GetEnvVarsCurrentUserRepoEnvsEnvVar.Name, and is useful for accessing the field via an interface.

func (*GetEnvVarsCurrentUserRepoEnvsEnvVar) GetValue added in v0.11.0

GetValue returns GetEnvVarsCurrentUserRepoEnvsEnvVar.Value, and is useful for accessing the field via an interface.

type GetEnvVarsResponse added in v0.11.0

type GetEnvVarsResponse struct {
	CurrentUser GetEnvVarsCurrentUser `json:"currentUser"`
}

getEnvVarsResponse is returned by getEnvVars on success.

func GetEnvVarsQuery added in v0.9.0

func GetEnvVarsQuery(
	ctx_ context.Context,
	client_ graphql.Client,
	id string,
) (*GetEnvVarsResponse, error)

func (*GetEnvVarsResponse) GetCurrentUser added in v0.11.0

func (v *GetEnvVarsResponse) GetCurrentUser() GetEnvVarsCurrentUser

GetCurrentUser returns GetEnvVarsResponse.CurrentUser, and is useful for accessing the field via an interface.

type GetJobLogsRepo added in v0.11.0

type GetJobLogsRepo struct {
	JobRun GetJobLogsRepoJobRun `json:"jobRun"`
}

GetJobLogsRepo includes the requested fields of the GraphQL type Repo.

func (*GetJobLogsRepo) GetJobRun added in v0.11.0

func (v *GetJobLogsRepo) GetJobRun() GetJobLogsRepoJobRun

GetJobRun returns GetJobLogsRepo.JobRun, and is useful for accessing the field via an interface.

type GetJobLogsRepoJobRun added in v0.11.0

type GetJobLogsRepoJobRun struct {
	Logs GetJobLogsRepoJobRunLogs `json:"logs"`
}

GetJobLogsRepoJobRun includes the requested fields of the GraphQL type JobRun.

func (*GetJobLogsRepoJobRun) GetLogs added in v0.11.0

GetLogs returns GetJobLogsRepoJobRun.Logs, and is useful for accessing the field via an interface.

type GetJobLogsRepoJobRunLogs added in v0.11.0

type GetJobLogsRepoJobRunLogs struct {
	Entries []GetJobLogsRepoJobRunLogsEntriesLogEntry `json:"entries,omitempty"`
}

GetJobLogsRepoJobRunLogs includes the requested fields of the GraphQL type Logs.

func (*GetJobLogsRepoJobRunLogs) GetEntries added in v0.11.0

GetEntries returns GetJobLogsRepoJobRunLogs.Entries, and is useful for accessing the field via an interface.

type GetJobLogsRepoJobRunLogsEntriesLogEntry added in v0.11.0

type GetJobLogsRepoJobRunLogsEntriesLogEntry struct {
	Text      string    `json:"text"`
	Timestamp time.Time `json:"timestamp"`
}

GetJobLogsRepoJobRunLogsEntriesLogEntry includes the requested fields of the GraphQL type LogEntry.

func (*GetJobLogsRepoJobRunLogsEntriesLogEntry) GetText added in v0.11.0

GetText returns GetJobLogsRepoJobRunLogsEntriesLogEntry.Text, and is useful for accessing the field via an interface.

func (*GetJobLogsRepoJobRunLogsEntriesLogEntry) GetTimestamp added in v0.11.0

GetTimestamp returns GetJobLogsRepoJobRunLogsEntriesLogEntry.Timestamp, and is useful for accessing the field via an interface.

type GetJobLogsResponse added in v0.11.0

type GetJobLogsResponse struct {
	Repo GetJobLogsRepo `json:"repo"`
}

getJobLogsResponse is returned by getJobLogs on success.

func GetJobLogsQuery added in v0.9.0

func GetJobLogsQuery(
	ctx_ context.Context,
	client_ graphql.Client,
	repoID uuid.UUID,
	jobID uuid.UUID,
) (*GetJobLogsResponse, error)

func (*GetJobLogsResponse) GetRepo added in v0.11.0

func (v *GetJobLogsResponse) GetRepo() GetJobLogsRepo

GetRepo returns GetJobLogsResponse.Repo, and is useful for accessing the field via an interface.

type GetJobRepo added in v0.11.0

type GetJobRepo struct {
	JobRun GetJobRepoJobRun `json:"jobRun"`
}

GetJobRepo includes the requested fields of the GraphQL type Repo.

func (*GetJobRepo) GetJobRun added in v0.11.0

func (v *GetJobRepo) GetJobRun() GetJobRepoJobRun

GetJobRun returns GetJobRepo.JobRun, and is useful for accessing the field via an interface.

type GetJobRepoJobRun added in v0.11.0

type GetJobRepoJobRun struct {
	Id    uuid.UUID   `json:"id"`
	State JobRunState `json:"state"`
}

GetJobRepoJobRun includes the requested fields of the GraphQL type JobRun.

func (*GetJobRepoJobRun) GetId added in v0.11.0

func (v *GetJobRepoJobRun) GetId() uuid.UUID

GetId returns GetJobRepoJobRun.Id, and is useful for accessing the field via an interface.

func (*GetJobRepoJobRun) GetState added in v0.11.0

func (v *GetJobRepoJobRun) GetState() JobRunState

GetState returns GetJobRepoJobRun.State, and is useful for accessing the field via an interface.

type GetJobResponse added in v0.11.0

type GetJobResponse struct {
	Repo GetJobRepo `json:"repo"`
}

getJobResponse is returned by getJob on success.

func GetJobQuery added in v0.9.0

func GetJobQuery(
	ctx_ context.Context,
	client_ graphql.Client,
	projectID uuid.UUID,
	jobID uuid.UUID,
) (*GetJobResponse, error)

func (*GetJobResponse) GetRepo added in v0.11.0

func (v *GetJobResponse) GetRepo() GetJobRepo

GetRepo returns GetJobResponse.Repo, and is useful for accessing the field via an interface.

type GetLatestDeploymentRepo added in v0.11.0

type GetLatestDeploymentRepo struct {
	Branch GetLatestDeploymentRepoBranchRepoBranchV2 `json:"branch"`
}

GetLatestDeploymentRepo includes the requested fields of the GraphQL type Repo.

func (*GetLatestDeploymentRepo) GetBranch added in v0.11.0

GetBranch returns GetLatestDeploymentRepo.Branch, and is useful for accessing the field via an interface.

type GetLatestDeploymentRepoBranchRepoBranchV2 added in v0.11.0

type GetLatestDeploymentRepoBranchRepoBranchV2 struct {
	LatestDeployment GetLatestDeploymentRepoBranchRepoBranchV2LatestDeployment `json:"latestDeployment"`
}

GetLatestDeploymentRepoBranchRepoBranchV2 includes the requested fields of the GraphQL type RepoBranchV2.

func (*GetLatestDeploymentRepoBranchRepoBranchV2) GetLatestDeployment added in v0.11.0

GetLatestDeployment returns GetLatestDeploymentRepoBranchRepoBranchV2.LatestDeployment, and is useful for accessing the field via an interface.

type GetLatestDeploymentRepoBranchRepoBranchV2LatestDeployment added in v0.11.0

type GetLatestDeploymentRepoBranchRepoBranchV2LatestDeployment struct {
	Id              string           `json:"id"`
	Status          DeploymentStatus `json:"status"`
	Branch          string           `json:"branch"`
	Endpoints       []string         `json:"endpoints,omitempty"`
	PrivateEndpoint string           `json:"privateEndpoint"`
}

GetLatestDeploymentRepoBranchRepoBranchV2LatestDeployment includes the requested fields of the GraphQL type Deployment.

func (*GetLatestDeploymentRepoBranchRepoBranchV2LatestDeployment) GetBranch added in v0.11.0

GetBranch returns GetLatestDeploymentRepoBranchRepoBranchV2LatestDeployment.Branch, and is useful for accessing the field via an interface.

func (*GetLatestDeploymentRepoBranchRepoBranchV2LatestDeployment) GetEndpoints added in v0.11.0

GetEndpoints returns GetLatestDeploymentRepoBranchRepoBranchV2LatestDeployment.Endpoints, and is useful for accessing the field via an interface.

func (*GetLatestDeploymentRepoBranchRepoBranchV2LatestDeployment) GetId added in v0.11.0

GetId returns GetLatestDeploymentRepoBranchRepoBranchV2LatestDeployment.Id, and is useful for accessing the field via an interface.

func (*GetLatestDeploymentRepoBranchRepoBranchV2LatestDeployment) GetPrivateEndpoint added in v0.11.0

GetPrivateEndpoint returns GetLatestDeploymentRepoBranchRepoBranchV2LatestDeployment.PrivateEndpoint, and is useful for accessing the field via an interface.

func (*GetLatestDeploymentRepoBranchRepoBranchV2LatestDeployment) GetStatus added in v0.11.0

GetStatus returns GetLatestDeploymentRepoBranchRepoBranchV2LatestDeployment.Status, and is useful for accessing the field via an interface.

type GetLatestDeploymentResponse added in v0.11.0

type GetLatestDeploymentResponse struct {
	Repo GetLatestDeploymentRepo `json:"repo"`
}

getLatestDeploymentResponse is returned by getLatestDeployment on success.

func GetLatestDeploymentQuery added in v0.9.0

func GetLatestDeploymentQuery(
	ctx_ context.Context,
	client_ graphql.Client,
	project string,
	branch string,
) (*GetLatestDeploymentResponse, error)

func (*GetLatestDeploymentResponse) GetRepo added in v0.11.0

GetRepo returns GetLatestDeploymentResponse.Repo, and is useful for accessing the field via an interface.

type GetProductionBranchCurrentUser added in v0.11.0

type GetProductionBranchCurrentUser struct {
	Repo GetProductionBranchCurrentUserRepo `json:"repo"`
}

GetProductionBranchCurrentUser includes the requested fields of the GraphQL type User.

func (*GetProductionBranchCurrentUser) GetRepo added in v0.11.0

GetRepo returns GetProductionBranchCurrentUser.Repo, and is useful for accessing the field via an interface.

type GetProductionBranchCurrentUserRepo added in v0.11.0

type GetProductionBranchCurrentUserRepo struct {
	// - v0.RepoID
	Id                 string                                                           `json:"id"`
	ProductionBranchV2 GetProductionBranchCurrentUserRepoProductionBranchV2RepoBranchV2 `json:"productionBranchV2"`
}

GetProductionBranchCurrentUserRepo includes the requested fields of the GraphQL type Repo.

func (*GetProductionBranchCurrentUserRepo) GetId added in v0.11.0

GetId returns GetProductionBranchCurrentUserRepo.Id, and is useful for accessing the field via an interface.

func (*GetProductionBranchCurrentUserRepo) GetProductionBranchV2 added in v0.11.0

GetProductionBranchV2 returns GetProductionBranchCurrentUserRepo.ProductionBranchV2, and is useful for accessing the field via an interface.

type GetProductionBranchCurrentUserRepoProductionBranchV2RepoBranchV2 added in v0.11.0

type GetProductionBranchCurrentUserRepoProductionBranchV2RepoBranchV2 struct {
	Name string `json:"name"`
}

GetProductionBranchCurrentUserRepoProductionBranchV2RepoBranchV2 includes the requested fields of the GraphQL type RepoBranchV2.

func (*GetProductionBranchCurrentUserRepoProductionBranchV2RepoBranchV2) GetName added in v0.11.0

GetName returns GetProductionBranchCurrentUserRepoProductionBranchV2RepoBranchV2.Name, and is useful for accessing the field via an interface.

type GetProductionBranchResponse added in v0.11.0

type GetProductionBranchResponse struct {
	CurrentUser GetProductionBranchCurrentUser `json:"currentUser"`
}

getProductionBranchResponse is returned by getProductionBranch on success.

func GetProductionBranchQuery added in v0.9.0

func GetProductionBranchQuery(
	ctx_ context.Context,
	client_ graphql.Client,
	repoId string,
) (*GetProductionBranchResponse, error)

func (*GetProductionBranchResponse) GetCurrentUser added in v0.11.0

GetCurrentUser returns GetProductionBranchResponse.CurrentUser, and is useful for accessing the field via an interface.

type GetProductionDeploymentRepo added in v0.11.0

type GetProductionDeploymentRepo struct {
	ProductionDeployment GetProductionDeploymentRepoProductionDeployment `json:"productionDeployment"`
}

GetProductionDeploymentRepo includes the requested fields of the GraphQL type Repo.

func (*GetProductionDeploymentRepo) GetProductionDeployment added in v0.11.0

GetProductionDeployment returns GetProductionDeploymentRepo.ProductionDeployment, and is useful for accessing the field via an interface.

type GetProductionDeploymentRepoProductionDeployment added in v0.11.0

type GetProductionDeploymentRepoProductionDeployment struct {
	Id              string           `json:"id"`
	Status          DeploymentStatus `json:"status"`
	Endpoints       []string         `json:"endpoints,omitempty"`
	PrivateEndpoint string           `json:"privateEndpoint"`
}

GetProductionDeploymentRepoProductionDeployment includes the requested fields of the GraphQL type Deployment.

func (*GetProductionDeploymentRepoProductionDeployment) GetEndpoints added in v0.11.0

GetEndpoints returns GetProductionDeploymentRepoProductionDeployment.Endpoints, and is useful for accessing the field via an interface.

func (*GetProductionDeploymentRepoProductionDeployment) GetId added in v0.11.0

GetId returns GetProductionDeploymentRepoProductionDeployment.Id, and is useful for accessing the field via an interface.

func (*GetProductionDeploymentRepoProductionDeployment) GetPrivateEndpoint added in v0.11.0

GetPrivateEndpoint returns GetProductionDeploymentRepoProductionDeployment.PrivateEndpoint, and is useful for accessing the field via an interface.

func (*GetProductionDeploymentRepoProductionDeployment) GetStatus added in v0.11.0

GetStatus returns GetProductionDeploymentRepoProductionDeployment.Status, and is useful for accessing the field via an interface.

type GetProductionDeploymentResponse added in v0.11.0

type GetProductionDeploymentResponse struct {
	Repo GetProductionDeploymentRepo `json:"repo"`
}

getProductionDeploymentResponse is returned by getProductionDeployment on success.

func GetProductionDeploymentQuery added in v0.9.0

func GetProductionDeploymentQuery(
	ctx_ context.Context,
	client_ graphql.Client,
	project string,
) (*GetProductionDeploymentResponse, error)

func (*GetProductionDeploymentResponse) GetRepo added in v0.11.0

GetRepo returns GetProductionDeploymentResponse.Repo, and is useful for accessing the field via an interface.

type GetProjectByPathRepo added in v0.11.0

type GetProjectByPathRepo struct {
	// - v0.RepoID
	Id string `json:"id"`
}

GetProjectByPathRepo includes the requested fields of the GraphQL type Repo.

func (*GetProjectByPathRepo) GetId added in v0.11.0

func (v *GetProjectByPathRepo) GetId() string

GetId returns GetProjectByPathRepo.Id, and is useful for accessing the field via an interface.

type GetProjectByPathResponse added in v0.11.0

type GetProjectByPathResponse struct {
	Repo GetProjectByPathRepo `json:"repo"`
}

getProjectByPathResponse is returned by getProjectByPath on success.

func GetProjectByPathQuery added in v0.9.0

func GetProjectByPathQuery(
	ctx_ context.Context,
	client_ graphql.Client,
	path string,
) (*GetProjectByPathResponse, error)

func (*GetProjectByPathResponse) GetRepo added in v0.11.0

GetRepo returns GetProjectByPathResponse.Repo, and is useful for accessing the field via an interface.

type GetProjectPathRepo added in v0.11.0

type GetProjectPathRepo struct {
	FullPath string `json:"fullPath"`
}

GetProjectPathRepo includes the requested fields of the GraphQL type Repo.

func (*GetProjectPathRepo) GetFullPath added in v0.11.0

func (v *GetProjectPathRepo) GetFullPath() string

GetFullPath returns GetProjectPathRepo.FullPath, and is useful for accessing the field via an interface.

type GetProjectPathResponse added in v0.11.0

type GetProjectPathResponse struct {
	Repo GetProjectPathRepo `json:"repo"`
}

getProjectPathResponse is returned by getProjectPath on success.

func GetProjectPathQuery added in v0.9.0

func GetProjectPathQuery(
	ctx_ context.Context,
	client_ graphql.Client,
	id uuid.UUID,
) (*GetProjectPathResponse, error)

func (*GetProjectPathResponse) GetRepo added in v0.11.0

GetRepo returns GetProjectPathResponse.Repo, and is useful for accessing the field via an interface.

type GetProjectV3sResponse added in v0.11.0

type GetProjectV3sResponse struct {
	User *GetProjectV3sUser `json:"user,omitempty"`
}

getProjectV3sResponse is returned by getProjectV3s on success.

func GetProjectV3sQuery added in v0.9.0

func GetProjectV3sQuery(
	ctx_ context.Context,
	client_ graphql.Client,
	userId *string,
	filter *FilterInput,
) (*GetProjectV3sResponse, error)

func (*GetProjectV3sResponse) GetUser added in v0.11.0

GetUser returns GetProjectV3sResponse.User, and is useful for accessing the field via an interface.

type GetProjectV3sUser added in v0.11.0

type GetProjectV3sUser struct {
	ProjectV3Adapters *ProjectV3AdapterConnection `json:"projectV3Adapters,omitempty"`
}

GetProjectV3sUser includes the requested fields of the GraphQL type User.

func (*GetProjectV3sUser) GetProjectV3Adapters added in v0.11.0

func (v *GetProjectV3sUser) GetProjectV3Adapters() *ProjectV3AdapterConnection

GetProjectV3Adapters returns GetProjectV3sUser.ProjectV3Adapters, and is useful for accessing the field via an interface.

type GetRepoRepo added in v0.11.0

type GetRepoRepo struct {
	// - v0.RepoID
	Id string `json:"id"`
}

GetRepoRepo includes the requested fields of the GraphQL type Repo.

func (*GetRepoRepo) GetId added in v0.11.0

func (v *GetRepoRepo) GetId() string

GetId returns GetRepoRepo.Id, and is useful for accessing the field via an interface.

type GetRepoResponse added in v0.11.0

type GetRepoResponse struct {
	Repo GetRepoRepo `json:"repo"`
}

getRepoResponse is returned by getRepo on success.

func GetRepoQuery added in v0.9.0

func GetRepoQuery(
	ctx_ context.Context,
	client_ graphql.Client,
	path string,
) (*GetRepoResponse, error)

func (*GetRepoResponse) GetRepo added in v0.11.0

func (v *GetRepoResponse) GetRepo() GetRepoRepo

GetRepo returns GetRepoResponse.Repo, and is useful for accessing the field via an interface.

type GetRuntimeLogsCurrentUser added in v0.11.0

type GetRuntimeLogsCurrentUser struct {
	Deployment GetRuntimeLogsCurrentUserDeployment `json:"deployment"`
}

GetRuntimeLogsCurrentUser includes the requested fields of the GraphQL type User.

func (*GetRuntimeLogsCurrentUser) GetDeployment added in v0.11.0

GetDeployment returns GetRuntimeLogsCurrentUser.Deployment, and is useful for accessing the field via an interface.

type GetRuntimeLogsCurrentUserDeployment added in v0.11.0

type GetRuntimeLogsCurrentUserDeployment struct {
	Logs []GetRuntimeLogsCurrentUserDeploymentLogsLogEntry `json:"logs,omitempty"`
}

GetRuntimeLogsCurrentUserDeployment includes the requested fields of the GraphQL type Deployment.

func (*GetRuntimeLogsCurrentUserDeployment) GetLogs added in v0.11.0

GetLogs returns GetRuntimeLogsCurrentUserDeployment.Logs, and is useful for accessing the field via an interface.

type GetRuntimeLogsCurrentUserDeploymentLogsLogEntry added in v0.11.0

type GetRuntimeLogsCurrentUserDeploymentLogsLogEntry struct {
	Text      string    `json:"text"`
	Timestamp time.Time `json:"timestamp"`
}

GetRuntimeLogsCurrentUserDeploymentLogsLogEntry includes the requested fields of the GraphQL type LogEntry.

func (*GetRuntimeLogsCurrentUserDeploymentLogsLogEntry) GetText added in v0.11.0

GetText returns GetRuntimeLogsCurrentUserDeploymentLogsLogEntry.Text, and is useful for accessing the field via an interface.

func (*GetRuntimeLogsCurrentUserDeploymentLogsLogEntry) GetTimestamp added in v0.11.0

GetTimestamp returns GetRuntimeLogsCurrentUserDeploymentLogsLogEntry.Timestamp, and is useful for accessing the field via an interface.

type GetRuntimeLogsResponse added in v0.11.0

type GetRuntimeLogsResponse struct {
	CurrentUser GetRuntimeLogsCurrentUser `json:"currentUser"`
}

getRuntimeLogsResponse is returned by getRuntimeLogs on success.

func GetRuntimeLogsQuery added in v0.9.0

func GetRuntimeLogsQuery(
	ctx_ context.Context,
	client_ graphql.Client,
	id string,
) (*GetRuntimeLogsResponse, error)

func (*GetRuntimeLogsResponse) GetCurrentUser added in v0.11.0

GetCurrentUser returns GetRuntimeLogsResponse.CurrentUser, and is useful for accessing the field via an interface.

type Job added in v0.5.2

type Job struct {
	ID    uuid.UUID `copier:"Id"`
	State JobRunState
}

type JobRunState added in v0.5.2

type JobRunState string
const (
	JobRunStateJobRunStarting        JobRunState = "JOB_RUN_STARTING"
	JobRunStateJobRunRunning         JobRunState = "JOB_RUN_RUNNING"
	JobRunStateJobRunFailed          JobRunState = "JOB_RUN_FAILED"
	JobRunStateJobRunSucceeded       JobRunState = "JOB_RUN_SUCCEEDED"
	JobRunStateJobRunPendingApproval JobRunState = "JOB_RUN_PENDING_APPROVAL"
	JobRunStateJobRunPendingBuild    JobRunState = "JOB_RUN_PENDING_BUILD"
)

type ListClustersCurrentUser added in v0.11.0

type ListClustersCurrentUser struct {
	Clusters []ListClustersCurrentUserClustersCluster `json:"clusters,omitempty"`
}

ListClustersCurrentUser includes the requested fields of the GraphQL type User.

func (*ListClustersCurrentUser) GetClusters added in v0.11.0

GetClusters returns ListClustersCurrentUser.Clusters, and is useful for accessing the field via an interface.

type ListClustersCurrentUserClustersCluster added in v0.11.0

type ListClustersCurrentUserClustersCluster struct {
	Id              uuid.UUID       `json:"id"`
	Name            string          `json:"name"`
	CloudProvider   CloudProvider   `json:"cloudProvider"`
	ClusterProvider ClusterProvider `json:"clusterProvider"`
	Region          string          `json:"region"`
	Connected       bool            `json:"connected"`
}

ListClustersCurrentUserClustersCluster includes the requested fields of the GraphQL type Cluster.

func (*ListClustersCurrentUserClustersCluster) GetCloudProvider added in v0.11.0

GetCloudProvider returns ListClustersCurrentUserClustersCluster.CloudProvider, and is useful for accessing the field via an interface.

func (*ListClustersCurrentUserClustersCluster) GetClusterProvider added in v0.11.0

GetClusterProvider returns ListClustersCurrentUserClustersCluster.ClusterProvider, and is useful for accessing the field via an interface.

func (*ListClustersCurrentUserClustersCluster) GetConnected added in v0.11.0

func (v *ListClustersCurrentUserClustersCluster) GetConnected() bool

GetConnected returns ListClustersCurrentUserClustersCluster.Connected, and is useful for accessing the field via an interface.

func (*ListClustersCurrentUserClustersCluster) GetId added in v0.11.0

GetId returns ListClustersCurrentUserClustersCluster.Id, and is useful for accessing the field via an interface.

func (*ListClustersCurrentUserClustersCluster) GetName added in v0.11.0

GetName returns ListClustersCurrentUserClustersCluster.Name, and is useful for accessing the field via an interface.

func (*ListClustersCurrentUserClustersCluster) GetRegion added in v0.11.0

GetRegion returns ListClustersCurrentUserClustersCluster.Region, and is useful for accessing the field via an interface.

type ListClustersForTeamResponse added in v0.11.0

type ListClustersForTeamResponse struct {
	Team ListClustersForTeamTeam `json:"team"`
}

listClustersForTeamResponse is returned by listClustersForTeam on success.

func ListClustersForTeamQuery added in v0.9.0

func ListClustersForTeamQuery(
	ctx_ context.Context,
	client_ graphql.Client,
	path string,
) (*ListClustersForTeamResponse, error)

func (*ListClustersForTeamResponse) GetTeam added in v0.11.0

GetTeam returns ListClustersForTeamResponse.Team, and is useful for accessing the field via an interface.

type ListClustersForTeamTeam added in v0.11.0

type ListClustersForTeamTeam struct {
	User ListClustersForTeamTeamUser `json:"user"`
}

ListClustersForTeamTeam includes the requested fields of the GraphQL type Team.

func (*ListClustersForTeamTeam) GetUser added in v0.11.0

GetUser returns ListClustersForTeamTeam.User, and is useful for accessing the field via an interface.

type ListClustersForTeamTeamUser added in v0.11.0

type ListClustersForTeamTeamUser struct {
	Clusters []ListClustersForTeamTeamUserClustersCluster `json:"clusters,omitempty"`
}

ListClustersForTeamTeamUser includes the requested fields of the GraphQL type User.

func (*ListClustersForTeamTeamUser) GetClusters added in v0.11.0

GetClusters returns ListClustersForTeamTeamUser.Clusters, and is useful for accessing the field via an interface.

type ListClustersForTeamTeamUserClustersCluster added in v0.11.0

type ListClustersForTeamTeamUserClustersCluster struct {
	Id              uuid.UUID       `json:"id"`
	Name            string          `json:"name"`
	CloudProvider   CloudProvider   `json:"cloudProvider"`
	ClusterProvider ClusterProvider `json:"clusterProvider"`
	Region          string          `json:"region"`
	Connected       bool            `json:"connected"`
}

ListClustersForTeamTeamUserClustersCluster includes the requested fields of the GraphQL type Cluster.

func (*ListClustersForTeamTeamUserClustersCluster) GetCloudProvider added in v0.11.0

GetCloudProvider returns ListClustersForTeamTeamUserClustersCluster.CloudProvider, and is useful for accessing the field via an interface.

func (*ListClustersForTeamTeamUserClustersCluster) GetClusterProvider added in v0.11.0

GetClusterProvider returns ListClustersForTeamTeamUserClustersCluster.ClusterProvider, and is useful for accessing the field via an interface.

func (*ListClustersForTeamTeamUserClustersCluster) GetConnected added in v0.11.0

GetConnected returns ListClustersForTeamTeamUserClustersCluster.Connected, and is useful for accessing the field via an interface.

func (*ListClustersForTeamTeamUserClustersCluster) GetId added in v0.11.0

GetId returns ListClustersForTeamTeamUserClustersCluster.Id, and is useful for accessing the field via an interface.

func (*ListClustersForTeamTeamUserClustersCluster) GetName added in v0.11.0

GetName returns ListClustersForTeamTeamUserClustersCluster.Name, and is useful for accessing the field via an interface.

func (*ListClustersForTeamTeamUserClustersCluster) GetRegion added in v0.11.0

GetRegion returns ListClustersForTeamTeamUserClustersCluster.Region, and is useful for accessing the field via an interface.

type ListClustersResponse added in v0.8.1

type ListClustersResponse struct {
	CurrentUser ListClustersCurrentUser `json:"currentUser"`
}

listClustersResponse is returned by listClusters on success.

func ListClustersQuery added in v0.9.0

func ListClustersQuery(
	ctx_ context.Context,
	client_ graphql.Client,
) (*ListClustersResponse, error)

func (*ListClustersResponse) GetCurrentUser added in v0.11.0

func (v *ListClustersResponse) GetCurrentUser() ListClustersCurrentUser

GetCurrentUser returns ListClustersResponse.CurrentUser, and is useful for accessing the field via an interface.

type LogEntry added in v0.1.0

type LogEntry struct {
	Text      string
	Timestamp time.Time
}

type MultiEntityCriterion added in v0.8.1

type MultiEntityCriterion struct {
	Value []*uuid.UUID `json:"value,omitempty"`
}

func (*MultiEntityCriterion) GetValue added in v0.8.1

func (v *MultiEntityCriterion) GetValue() []*uuid.UUID

GetValue returns MultiEntityCriterion.Value, and is useful for accessing the field via an interface.

type PageInfo added in v0.8.0

type PageInfo struct {
	StartCursor     string `json:"startCursor"`
	EndCursor       string `json:"endCursor"`
	HasNextPage     bool   `json:"hasNextPage"`
	HasPreviousPage bool   `json:"hasPreviousPage"`
}

PageInfo includes the requested fields of the GraphQL type PageInfo.

func (*PageInfo) GetEndCursor added in v0.8.0

func (v *PageInfo) GetEndCursor() string

GetEndCursor returns PageInfo.EndCursor, and is useful for accessing the field via an interface.

func (*PageInfo) GetHasNextPage added in v0.8.0

func (v *PageInfo) GetHasNextPage() bool

GetHasNextPage returns PageInfo.HasNextPage, and is useful for accessing the field via an interface.

func (*PageInfo) GetHasPreviousPage added in v0.8.0

func (v *PageInfo) GetHasPreviousPage() bool

GetHasPreviousPage returns PageInfo.HasPreviousPage, and is useful for accessing the field via an interface.

func (*PageInfo) GetStartCursor added in v0.8.0

func (v *PageInfo) GetStartCursor() string

GetStartCursor returns PageInfo.StartCursor, and is useful for accessing the field via an interface.

type PageInput added in v0.8.0

type PageInput struct {
	First  int     `json:"first"`
	Last   *int    `json:"last,omitempty"`
	After  string  `json:"after"`
	Before *string `json:"before,omitempty"`
	Filter *string `json:"filter,omitempty"`
	Sort   *string `json:"sort,omitempty"`
}

func (*PageInput) GetAfter added in v0.8.0

func (v *PageInput) GetAfter() string

GetAfter returns PageInput.After, and is useful for accessing the field via an interface.

func (*PageInput) GetBefore added in v0.8.0

func (v *PageInput) GetBefore() *string

GetBefore returns PageInput.Before, and is useful for accessing the field via an interface.

func (*PageInput) GetFilter added in v0.8.0

func (v *PageInput) GetFilter() *string

GetFilter returns PageInput.Filter, and is useful for accessing the field via an interface.

func (*PageInput) GetFirst added in v0.8.0

func (v *PageInput) GetFirst() int

GetFirst returns PageInput.First, and is useful for accessing the field via an interface.

func (*PageInput) GetLast added in v0.8.0

func (v *PageInput) GetLast() *int

GetLast returns PageInput.Last, and is useful for accessing the field via an interface.

func (*PageInput) GetSort added in v0.8.0

func (v *PageInput) GetSort() *string

GetSort returns PageInput.Sort, and is useful for accessing the field via an interface.

type Project

type Project struct {
	ID uuid.UUID `copier:"Id"`
}

type ProjectV3AdapterConnection added in v0.8.1

type ProjectV3AdapterConnection struct {
	TotalCount *int                                               `json:"totalCount,omitempty"`
	PageInfo   *PageInfo                                          `json:"pageInfo,omitempty"`
	Nodes      []*ProjectV3AdapterConnectionNodesProjectV3Adapter `json:"nodes,omitempty"`
}

ProjectV3AdapterConnection includes the requested fields of the GraphQL type ProjectV3AdapterConnection.

func (*ProjectV3AdapterConnection) GetNodes added in v0.8.1

GetNodes returns ProjectV3AdapterConnection.Nodes, and is useful for accessing the field via an interface.

func (*ProjectV3AdapterConnection) GetPageInfo added in v0.8.1

func (v *ProjectV3AdapterConnection) GetPageInfo() *PageInfo

GetPageInfo returns ProjectV3AdapterConnection.PageInfo, and is useful for accessing the field via an interface.

func (*ProjectV3AdapterConnection) GetTotalCount added in v0.8.1

func (v *ProjectV3AdapterConnection) GetTotalCount() *int

GetTotalCount returns ProjectV3AdapterConnection.TotalCount, and is useful for accessing the field via an interface.

type ProjectV3AdapterConnectionNodesProjectV3Adapter added in v0.8.1

type ProjectV3AdapterConnectionNodesProjectV3Adapter struct {
	ProjectV3AdapterSummary `json:"-"`
}

ProjectV3AdapterConnectionNodesProjectV3Adapter includes the requested fields of the GraphQL type ProjectV3Adapter.

func (*ProjectV3AdapterConnectionNodesProjectV3Adapter) GetId added in v0.8.1

GetId returns ProjectV3AdapterConnectionNodesProjectV3Adapter.Id, and is useful for accessing the field via an interface.

func (*ProjectV3AdapterConnectionNodesProjectV3Adapter) GetName added in v0.8.1

GetName returns ProjectV3AdapterConnectionNodesProjectV3Adapter.Name, and is useful for accessing the field via an interface.

func (*ProjectV3AdapterConnectionNodesProjectV3Adapter) GetProjectV3 added in v0.8.1

GetProjectV3 returns ProjectV3AdapterConnectionNodesProjectV3Adapter.ProjectV3, and is useful for accessing the field via an interface.

func (*ProjectV3AdapterConnectionNodesProjectV3Adapter) GetRepo added in v0.8.1

GetRepo returns ProjectV3AdapterConnectionNodesProjectV3Adapter.Repo, and is useful for accessing the field via an interface.

func (*ProjectV3AdapterConnectionNodesProjectV3Adapter) MarshalJSON added in v0.8.1

func (*ProjectV3AdapterConnectionNodesProjectV3Adapter) UnmarshalJSON added in v0.8.1

type ProjectV3AdapterSummary added in v0.8.1

type ProjectV3AdapterSummary struct {
	// - v0.ProjectAdapterID or v1.ProjectID
	Id        uuid.UUID                        `json:"id"`
	Name      string                           `json:"name"`
	ProjectV3 ProjectV3AdapterSummaryProjectV3 `json:"projectV3"`
	Repo      ProjectV3AdapterSummaryRepo      `json:"repo"`
}

ProjectV3AdapterSummary includes the GraphQL fields of ProjectV3Adapter requested by the fragment ProjectV3AdapterSummary.

func (*ProjectV3AdapterSummary) GetId added in v0.8.1

func (v *ProjectV3AdapterSummary) GetId() uuid.UUID

GetId returns ProjectV3AdapterSummary.Id, and is useful for accessing the field via an interface.

func (*ProjectV3AdapterSummary) GetName added in v0.8.1

func (v *ProjectV3AdapterSummary) GetName() string

GetName returns ProjectV3AdapterSummary.Name, and is useful for accessing the field via an interface.

func (*ProjectV3AdapterSummary) GetProjectV3 added in v0.8.1

GetProjectV3 returns ProjectV3AdapterSummary.ProjectV3, and is useful for accessing the field via an interface.

func (*ProjectV3AdapterSummary) GetRepo added in v0.8.1

GetRepo returns ProjectV3AdapterSummary.Repo, and is useful for accessing the field via an interface.

type ProjectV3AdapterSummaryProjectV3 added in v0.8.1

type ProjectV3AdapterSummaryProjectV3 struct {
	// - v0.ProjectV3ID
	Id   uuid.UUID `json:"id"`
	Name string    `json:"name"`
}

ProjectV3AdapterSummaryProjectV3 includes the requested fields of the GraphQL type ProjectV3.

func (*ProjectV3AdapterSummaryProjectV3) GetId added in v0.8.1

GetId returns ProjectV3AdapterSummaryProjectV3.Id, and is useful for accessing the field via an interface.

func (*ProjectV3AdapterSummaryProjectV3) GetName added in v0.8.1

GetName returns ProjectV3AdapterSummaryProjectV3.Name, and is useful for accessing the field via an interface.

type ProjectV3AdapterSummaryRepo added in v0.8.1

type ProjectV3AdapterSummaryRepo struct {
	// - v0.RepoID
	Id   string `json:"id"`
	Name string `json:"name"`
}

ProjectV3AdapterSummaryRepo includes the requested fields of the GraphQL type Repo.

func (*ProjectV3AdapterSummaryRepo) GetId added in v0.8.1

GetId returns ProjectV3AdapterSummaryRepo.Id, and is useful for accessing the field via an interface.

func (*ProjectV3AdapterSummaryRepo) GetName added in v0.8.1

func (v *ProjectV3AdapterSummaryRepo) GetName() string

GetName returns ProjectV3AdapterSummaryRepo.Name, and is useful for accessing the field via an interface.

type Repo added in v0.2.0

type Repo struct {
	ID uuid.UUID `copier:"Id"`
}

type RepoFilter added in v0.8.1

type RepoFilter struct {
	Status *RepoStatusCriterion `json:"status,omitempty"`
}

func (*RepoFilter) GetStatus added in v0.8.1

func (v *RepoFilter) GetStatus() *RepoStatusCriterion

GetStatus returns RepoFilter.Status, and is useful for accessing the field via an interface.

type RepoStatusCriterion added in v0.8.1

type RepoStatusCriterion struct {
	Value    *string                      `json:"value,omitempty"`
	Operator *FilterCriterionOperatorType `json:"operator,omitempty"`
}

func (*RepoStatusCriterion) GetOperator added in v0.8.1

GetOperator returns RepoStatusCriterion.Operator, and is useful for accessing the field via an interface.

func (*RepoStatusCriterion) GetValue added in v0.8.1

func (v *RepoStatusCriterion) GetValue() *string

GetValue returns RepoStatusCriterion.Value, and is useful for accessing the field via an interface.

type ResourceAdapterFilter added in v0.8.1

type ResourceAdapterFilter struct {
	Ids             *MultiEntityCriterion   `json:"ids,omitempty"`
	RepoIds         *MultiEntityCriterion   `json:"repoIds,omitempty"`
	ResourceIds     *MultiEntityCriterion   `json:"resourceIds,omitempty"`
	DeployableIds   *MultiEntityCriterion   `json:"deployableIds,omitempty"`
	Name            *StringCriterion        `json:"name,omitempty"`
	Status          *AdapterStatusCriterion `json:"status,omitempty"`
	ProjectName     *StringCriterion        `json:"projectName,omitempty"`
	EnvironmentName *StringCriterion        `json:"environmentName,omitempty"`
	// Active=true or Paused=false
	Active *BooleanCriterion `json:"active,omitempty"`
}

func (*ResourceAdapterFilter) GetActive added in v0.9.0

func (v *ResourceAdapterFilter) GetActive() *BooleanCriterion

GetActive returns ResourceAdapterFilter.Active, and is useful for accessing the field via an interface.

func (*ResourceAdapterFilter) GetDeployableIds added in v0.8.1

func (v *ResourceAdapterFilter) GetDeployableIds() *MultiEntityCriterion

GetDeployableIds returns ResourceAdapterFilter.DeployableIds, and is useful for accessing the field via an interface.

func (*ResourceAdapterFilter) GetEnvironmentName added in v0.8.1

func (v *ResourceAdapterFilter) GetEnvironmentName() *StringCriterion

GetEnvironmentName returns ResourceAdapterFilter.EnvironmentName, and is useful for accessing the field via an interface.

func (*ResourceAdapterFilter) GetIds added in v0.8.1

GetIds returns ResourceAdapterFilter.Ids, and is useful for accessing the field via an interface.

func (*ResourceAdapterFilter) GetName added in v0.8.1

func (v *ResourceAdapterFilter) GetName() *StringCriterion

GetName returns ResourceAdapterFilter.Name, and is useful for accessing the field via an interface.

func (*ResourceAdapterFilter) GetProjectName added in v0.8.1

func (v *ResourceAdapterFilter) GetProjectName() *StringCriterion

GetProjectName returns ResourceAdapterFilter.ProjectName, and is useful for accessing the field via an interface.

func (*ResourceAdapterFilter) GetRepoIds added in v0.8.1

GetRepoIds returns ResourceAdapterFilter.RepoIds, and is useful for accessing the field via an interface.

func (*ResourceAdapterFilter) GetResourceIds added in v0.8.1

func (v *ResourceAdapterFilter) GetResourceIds() *MultiEntityCriterion

GetResourceIds returns ResourceAdapterFilter.ResourceIds, and is useful for accessing the field via an interface.

func (*ResourceAdapterFilter) GetStatus added in v0.8.1

GetStatus returns ResourceAdapterFilter.Status, and is useful for accessing the field via an interface.

type ResourceFilter added in v0.8.1

type ResourceFilter struct {
	Ids           *MultiEntityCriterion `json:"ids,omitempty"`
	DeployableIds *MultiEntityCriterion `json:"deployableIds,omitempty"`
	UserIds       *MultiEntityCriterion `json:"userIds,omitempty"`
}

func (*ResourceFilter) GetDeployableIds added in v0.8.1

func (v *ResourceFilter) GetDeployableIds() *MultiEntityCriterion

GetDeployableIds returns ResourceFilter.DeployableIds, and is useful for accessing the field via an interface.

func (*ResourceFilter) GetIds added in v0.8.1

func (v *ResourceFilter) GetIds() *MultiEntityCriterion

GetIds returns ResourceFilter.Ids, and is useful for accessing the field via an interface.

func (*ResourceFilter) GetUserIds added in v0.8.1

func (v *ResourceFilter) GetUserIds() *MultiEntityCriterion

GetUserIds returns ResourceFilter.UserIds, and is useful for accessing the field via an interface.

type RunJobResponse added in v0.11.0

type RunJobResponse struct {
	RunJob RunJobRunJobJobRun `json:"runJob"`
}

runJobResponse is returned by runJob on success.

func RunJobMutation added in v0.9.0

func RunJobMutation(
	ctx_ context.Context,
	client_ graphql.Client,
	id uuid.UUID,
	command string,
	build bool,
) (*RunJobResponse, error)

func (*RunJobResponse) GetRunJob added in v0.11.0

func (v *RunJobResponse) GetRunJob() RunJobRunJobJobRun

GetRunJob returns RunJobResponse.RunJob, and is useful for accessing the field via an interface.

type RunJobRunJobJobRun added in v0.11.0

type RunJobRunJobJobRun struct {
	State JobRunState `json:"state"`
	Id    uuid.UUID   `json:"id"`
}

RunJobRunJobJobRun includes the requested fields of the GraphQL type JobRun.

func (*RunJobRunJobJobRun) GetId added in v0.11.0

func (v *RunJobRunJobJobRun) GetId() uuid.UUID

GetId returns RunJobRunJobJobRun.Id, and is useful for accessing the field via an interface.

func (*RunJobRunJobJobRun) GetState added in v0.11.0

func (v *RunJobRunJobJobRun) GetState() JobRunState

GetState returns RunJobRunJobJobRun.State, and is useful for accessing the field via an interface.

type SetEnvVarsResponse added in v0.11.0

type SetEnvVarsResponse struct {
	SetRepoEnvs SetEnvVarsSetRepoEnvsRepo `json:"setRepoEnvs"`
}

setEnvVarsResponse is returned by setEnvVars on success.

func SetEnvVarsMutation added in v0.9.0

func SetEnvVarsMutation(
	ctx_ context.Context,
	client_ graphql.Client,
	id string,
	envs []EnvVarInput,
) (*SetEnvVarsResponse, error)

func (*SetEnvVarsResponse) GetSetRepoEnvs added in v0.11.0

func (v *SetEnvVarsResponse) GetSetRepoEnvs() SetEnvVarsSetRepoEnvsRepo

GetSetRepoEnvs returns SetEnvVarsResponse.SetRepoEnvs, and is useful for accessing the field via an interface.

type SetEnvVarsSetRepoEnvsRepo added in v0.11.0

type SetEnvVarsSetRepoEnvsRepo struct {
	Envs []SetEnvVarsSetRepoEnvsRepoEnvsEnvVar `json:"envs,omitempty"`
}

SetEnvVarsSetRepoEnvsRepo includes the requested fields of the GraphQL type Repo.

func (*SetEnvVarsSetRepoEnvsRepo) GetEnvs added in v0.11.0

GetEnvs returns SetEnvVarsSetRepoEnvsRepo.Envs, and is useful for accessing the field via an interface.

type SetEnvVarsSetRepoEnvsRepoEnvsEnvVar added in v0.11.0

type SetEnvVarsSetRepoEnvsRepoEnvsEnvVar struct {
	Id string `json:"id"`
}

SetEnvVarsSetRepoEnvsRepoEnvsEnvVar includes the requested fields of the GraphQL type EnvVar.

func (*SetEnvVarsSetRepoEnvsRepoEnvsEnvVar) GetId added in v0.11.0

GetId returns SetEnvVarsSetRepoEnvsRepoEnvsEnvVar.Id, and is useful for accessing the field via an interface.

type SortDirection added in v0.8.1

type SortDirection string
const (
	SortDirectionAsc  SortDirection = "ASC"
	SortDirectionDesc SortDirection = "DESC"
)

type SortInput added in v0.8.1

type SortInput struct {
	Direction *SortDirection `json:"direction,omitempty"`
	Field     *string        `json:"field,omitempty"`
}

func (*SortInput) GetDirection added in v0.8.1

func (v *SortInput) GetDirection() *SortDirection

GetDirection returns SortInput.Direction, and is useful for accessing the field via an interface.

func (*SortInput) GetField added in v0.8.1

func (v *SortInput) GetField() *string

GetField returns SortInput.Field, and is useful for accessing the field via an interface.

type StringCriterion added in v0.8.1

type StringCriterion struct {
	Value    *string                      `json:"value,omitempty"`
	Operator *FilterCriterionOperatorType `json:"operator,omitempty"`
}

func (*StringCriterion) GetOperator added in v0.8.1

func (v *StringCriterion) GetOperator() *FilterCriterionOperatorType

GetOperator returns StringCriterion.Operator, and is useful for accessing the field via an interface.

func (*StringCriterion) GetValue added in v0.8.1

func (v *StringCriterion) GetValue() *string

GetValue returns StringCriterion.Value, and is useful for accessing the field via an interface.

type UpdateBranchResponse added in v0.11.0

type UpdateBranchResponse struct {
	UpdateBranch UpdateBranchUpdateBranchRepoBranchV2 `json:"updateBranch"`
}

updateBranchResponse is returned by updateBranch on success.

func UpdateBranchMutation added in v0.9.0

func UpdateBranchMutation(
	ctx_ context.Context,
	client_ graphql.Client,
	image string,
	deploy bool,
	projectID uuid.UUID,
	branchName string,
) (*UpdateBranchResponse, error)

func (*UpdateBranchResponse) GetUpdateBranch added in v0.11.0

GetUpdateBranch returns UpdateBranchResponse.UpdateBranch, and is useful for accessing the field via an interface.

type UpdateBranchUpdateBranchRepoBranchV2 added in v0.11.0

type UpdateBranchUpdateBranchRepoBranchV2 struct {
	Id uuid.UUID `json:"id"`
}

UpdateBranchUpdateBranchRepoBranchV2 includes the requested fields of the GraphQL type RepoBranchV2.

func (*UpdateBranchUpdateBranchRepoBranchV2) GetId added in v0.11.0

GetId returns UpdateBranchUpdateBranchRepoBranchV2.Id, and is useful for accessing the field via an interface.

type UpdateClusterResponse added in v0.11.0

type UpdateClusterResponse struct {
	UpdateCluster UpdateClusterUpdateCluster `json:"updateCluster"`
}

updateClusterResponse is returned by updateCluster on success.

func UpdateClusterMutation added in v0.9.0

func UpdateClusterMutation(
	ctx_ context.Context,
	client_ graphql.Client,
	id uuid.UUID,
	file string,
) (*UpdateClusterResponse, error)

func (*UpdateClusterResponse) GetUpdateCluster added in v0.11.0

func (v *UpdateClusterResponse) GetUpdateCluster() UpdateClusterUpdateCluster

GetUpdateCluster returns UpdateClusterResponse.UpdateCluster, and is useful for accessing the field via an interface.

type UpdateClusterUpdateCluster added in v0.11.0

type UpdateClusterUpdateCluster struct {
	Id uuid.UUID `json:"id"`
}

UpdateClusterUpdateCluster includes the requested fields of the GraphQL type Cluster.

func (*UpdateClusterUpdateCluster) GetId added in v0.11.0

GetId returns UpdateClusterUpdateCluster.Id, and is useful for accessing the field via an interface.

type UpdateProjectResponse added in v0.11.0

type UpdateProjectResponse struct {
	UpdateProject UpdateProjectUpdateProjectRepo `json:"updateProject"`
}

updateProjectResponse is returned by updateProject on success.

func UpdateProjectMutation added in v0.9.0

func UpdateProjectMutation(
	ctx_ context.Context,
	client_ graphql.Client,
	projectID string,
	image string,
) (*UpdateProjectResponse, error)

func (*UpdateProjectResponse) GetUpdateProject added in v0.11.0

GetUpdateProject returns UpdateProjectResponse.UpdateProject, and is useful for accessing the field via an interface.

type UpdateProjectUpdateProjectRepo added in v0.11.0

type UpdateProjectUpdateProjectRepo struct {
	// - v0.RepoID
	Id string `json:"id"`
}

UpdateProjectUpdateProjectRepo includes the requested fields of the GraphQL type Repo.

func (*UpdateProjectUpdateProjectRepo) GetId added in v0.11.0

GetId returns UpdateProjectUpdateProjectRepo.Id, and is useful for accessing the field via an interface.

type UploadClient added in v0.9.0

type UploadClient struct {
	// contains filtered or unexported fields
}

func NewUploadClient added in v0.9.0

func NewUploadClient(client *http.Client, path string) *UploadClient

func (*UploadClient) UploadFile added in v0.9.0

func (c *UploadClient) UploadFile(query string, variables interface{}, fileVariable string, file []byte, retval interface{}) error

Our graphql client doesn't support file uploads, so this function is a manual workaround which uses http

type User added in v0.1.0

type User struct {
	Id    uuid.UUID
	Login string
}

type UserFilter added in v0.8.1

type UserFilter struct {
	Ids *MultiEntityCriterion `json:"ids,omitempty"`
}

func (*UserFilter) GetIds added in v0.8.1

func (v *UserFilter) GetIds() *MultiEntityCriterion

GetIds returns UserFilter.Ids, and is useful for accessing the field via an interface.

Jump to

Keyboard shortcuts

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