Documentation ¶
Index ¶
- Constants
- func BuildRepoDefaultBranchMutation(ctx_ context.Context, client_ graphql.Client, id uuid.UUID, noCache bool) (*buildRepoDefaultBranchResponse, error)
- func BuildRepoMutation(ctx_ context.Context, client_ graphql.Client, id uuid.UUID, branch string, ...) (*buildRepoResponse, error)
- func DeleteBlueprintMutation(ctx_ context.Context, client_ graphql.Client, id uuid.UUID) (*deleteBlueprintResponse, error)
- func DeleteMutation(ctx_ context.Context, client_ graphql.Client, id uuid.UUID) (*deleteResponse, error)
- func DeployRepoBranchMutation(ctx_ context.Context, client_ graphql.Client, branch string, ...) (*deployRepoBranchResponse, error)
- func GetBlueprintQuery(ctx_ context.Context, client_ graphql.Client, userID uuid.UUID, ...) (*getBlueprintResponse, error)
- func GetBlueprintsQuery(ctx_ context.Context, client_ graphql.Client, userId uuid.UUID, ...) (*getBlueprintsResponse, error)
- func GetBuildLogsQuery(ctx_ context.Context, client_ graphql.Client, id uuid.UUID) (*getBuildLogsResponse, error)
- func GetClusterKubeconfigQuery(ctx_ context.Context, client_ graphql.Client, id uuid.UUID) (*getClusterKubeconfigResponse, error)
- func GetCurrentUserQuery(ctx_ context.Context, client_ graphql.Client) (*getCurrentUserResponse, error)
- func GetDeploymentInfoQuery(ctx_ context.Context, client_ graphql.Client, id uuid.UUID) (*getDeploymentInfoResponse, error)
- func GetDeploymentLogsQuery(ctx_ context.Context, client_ graphql.Client, id uuid.UUID) (*getDeploymentLogsResponse, error)
- func GetDeploymentReplicaStatusQuery(ctx_ context.Context, client_ graphql.Client, id uuid.UUID) (*getDeploymentReplicaStatusResponse, error)
- func GetEnvVarsQuery(ctx_ context.Context, client_ graphql.Client, id uuid.UUID) (*getEnvVarsResponse, error)
- func GetJobLogsQuery(ctx_ context.Context, client_ graphql.Client, repoID uuid.UUID, ...) (*getJobLogsResponse, error)
- func GetJobQuery(ctx_ context.Context, client_ graphql.Client, projectID uuid.UUID, ...) (*getJobResponse, error)
- func GetLatestDeploymentQuery(ctx_ context.Context, client_ graphql.Client, project string, branch string) (*getLatestDeploymentResponse, error)
- func GetProductionBranchQuery(ctx_ context.Context, client_ graphql.Client, repoId uuid.UUID) (*getProductionBranchResponse, error)
- func GetProductionDeploymentQuery(ctx_ context.Context, client_ graphql.Client, project string) (*getProductionDeploymentResponse, error)
- func GetProjectByPathQuery(ctx_ context.Context, client_ graphql.Client, path string) (*getProjectByPathResponse, error)
- func GetProjectPathQuery(ctx_ context.Context, client_ graphql.Client, id uuid.UUID) (*getProjectPathResponse, error)
- func GetProjectV3sQuery(ctx_ context.Context, client_ graphql.Client, userId *uuid.UUID, ...) (*getProjectV3sResponse, error)
- func GetRepoQuery(ctx_ context.Context, client_ graphql.Client, path string) (*getRepoResponse, error)
- func GetRuntimeLogsQuery(ctx_ context.Context, client_ graphql.Client, id uuid.UUID) (*getRuntimeLogsResponse, error)
- func IsBuildInProgress(status DeploymentStatus) bool
- func IsDeployInProgress(status DeploymentStatus) bool
- func IsJobInProgress(state JobRunState) bool
- func ListClustersForTeamQuery(ctx_ context.Context, client_ graphql.Client, path string) (*listClustersForTeamResponse, error)
- func ListClustersQuery(ctx_ context.Context, client_ graphql.Client) (*listClustersResponse, error)
- func RunJobMutation(ctx_ context.Context, client_ graphql.Client, id uuid.UUID, command string, ...) (*runJobResponse, error)
- func SetEnvVarsMutation(ctx_ context.Context, client_ graphql.Client, id uuid.UUID, envs []EnvVarInput) (*setEnvVarsResponse, error)
- func UpdateBranchMutation(ctx_ context.Context, client_ graphql.Client, image string, deploy bool, ...) (*updateBranchResponse, error)
- func UpdateClusterMutation(ctx_ context.Context, client_ graphql.Client, id uuid.UUID, file string) (*updateClusterResponse, error)
- func UpdateProjectMutation(ctx_ context.Context, client_ graphql.Client, projectID uuid.UUID, ...) (*updateProjectResponse, error)
- type AdapterStatusCriterion
- type BlueprintConnection
- type BlueprintConnectionNodesBlueprint
- func (v *BlueprintConnectionNodesBlueprint) GetDescription() string
- func (v *BlueprintConnectionNodesBlueprint) GetDisplayName() string
- func (v *BlueprintConnectionNodesBlueprint) GetId() uuid.UUID
- func (v *BlueprintConnectionNodesBlueprint) GetProjectCount() int
- func (v *BlueprintConnectionNodesBlueprint) GetRichInputSchema() string
- func (v *BlueprintConnectionNodesBlueprint) GetSlug() string
- func (v *BlueprintConnectionNodesBlueprint) GetTags() []string
- func (v *BlueprintConnectionNodesBlueprint) GetType() BlueprintType
- func (v *BlueprintConnectionNodesBlueprint) MarshalJSON() ([]byte, error)
- func (v *BlueprintConnectionNodesBlueprint) UnmarshalJSON(b []byte) error
- type BlueprintDriverAction
- type BlueprintMetadataFilter
- type BlueprintSummary
- func (v *BlueprintSummary) GetDescription() string
- func (v *BlueprintSummary) GetDisplayName() string
- func (v *BlueprintSummary) GetId() uuid.UUID
- func (v *BlueprintSummary) GetProjectCount() int
- func (v *BlueprintSummary) GetRichInputSchema() string
- func (v *BlueprintSummary) GetSlug() string
- func (v *BlueprintSummary) GetTags() []string
- func (v *BlueprintSummary) GetType() BlueprintType
- type BlueprintType
- type BooleanCriterion
- type Client
- func (c *Client) BuildProject(ctx context.Context, projectID uuid.UUID, branch string, noCache bool) (*Deployment, error)
- func (c *Client) Client() graphql.Client
- func (c *Client) ClientV1() graphql.Client
- func (c *Client) DeleteBlueprint(ctx context.Context, id uuid.UUID) error
- func (c *Client) DeleteRepo(ctx context.Context, repoID uuid.UUID) error
- func (c *Client) DeployProjectBranch(ctx context.Context, projectID uuid.UUID, branch string, noCache bool) (*Deployment, error)
- func (c *Client) GetBlueprint(ctx context.Context, id uuid.UUID) (*BlueprintSummary, error)
- func (c *Client) GetBuildLogs(ctx context.Context, deployID uuid.UUID) (out []LogEntry, err error)
- func (c *Client) GetCloudAWS(ctx context.Context, cloudID uuid.UUID) (*GetCloudAWSResponse, error)
- func (c *Client) GetCloudDigitalOcean(ctx context.Context, cloudID uuid.UUID) (*GetCloudDigitalOceanResponse, error)
- func (c *Client) GetCloudGCP(ctx context.Context, cloudID uuid.UUID) (*GetCloudGCPResponse, error)
- func (c *Client) GetCloudLinode(ctx context.Context, cloudID uuid.UUID) (*GetCloudLinodeResponse, error)
- func (c *Client) GetClusterKubeconfig(ctx context.Context, clusterID uuid.UUID) (*GetClusterKubeconfigResponse, error)
- func (c *Client) GetCurrentUser(ctx context.Context) (*User, error)
- func (c *Client) GetDeployment(ctx context.Context, deploymentID uuid.UUID) (*Deployment, error)
- func (c *Client) GetDeploymentLogs(ctx context.Context, deployID uuid.UUID) (out []LogEntry, err error)
- func (c *Client) GetDeploymentStatus(ctx context.Context, deploymentID uuid.UUID) (*DeploymentReplicaStatus, error)
- func (c *Client) GetEnvVars(ctx context.Context, repoID uuid.UUID) (map[string]string, error)
- func (c *Client) GetJob(ctx context.Context, projectID uuid.UUID, jobID uuid.UUID) (*Job, error)
- func (c *Client) GetJobLogs(ctx context.Context, repoID uuid.UUID, jobID uuid.UUID) ([]LogEntry, error)
- func (c *Client) GetLatestDeployment(ctx context.Context, project string, branch string) (*Deployment, error)
- func (c *Client) GetProductionBranch(ctx context.Context, projectID uuid.UUID) (string, error)
- func (c *Client) GetProductionDeployment(ctx context.Context, project string) (*Deployment, error)
- func (c *Client) GetProjectByPath(ctx context.Context, project string) (*Project, error)
- func (c *Client) GetProjectPath(ctx context.Context, id uuid.UUID) (string, error)
- func (c *Client) GetProjectV3(ctx context.Context, projectId uuid.UUID) (*ProjectV3AdapterSummary, error)
- func (c *Client) GetRepo(ctx context.Context, path string) (*Repo, error)
- func (c *Client) GetRuntimeLogs(ctx context.Context, deployID uuid.UUID) (out []LogEntry, err error)
- func (c *Client) ListBlueprints(ctx context.Context, pageInput PageInput) (*BlueprintConnection, error)
- func (c *Client) ListClusters(ctx context.Context, path string) ([]ListClustersResponse, error)
- func (c *Client) ListProjectV3s(ctx context.Context, filterInput *FilterInput) (*ProjectV3AdapterConnection, error)
- func (c *Client) RunJob(ctx context.Context, projectID uuid.UUID, command string, build bool) (*Job, error)
- func (c *Client) SetEnvVars(ctx context.Context, repoID uuid.UUID, vars map[string]string) error
- func (c *Client) ToProjectPath(input string) (string, error)
- func (c *Client) UpdateBranch(ctx context.Context, projectID uuid.UUID, image string, branchName string, ...) error
- func (c *Client) UpdateClusterKubeconfig(ctx context.Context, clusterId uuid.UUID, kubeconfig []byte) (*Cluster, error)
- func (c *Client) UpdateProject(ctx context.Context, projectID uuid.UUID, image string) error
- func (c *Client) UploadClient() *UploadClient
- func (c *Client) UploadClientV1() *UploadClient
- type CloudProvider
- type Cluster
- type ClusterProvider
- type DeployableDriverActionExecutionFilter
- type Deployment
- type DeploymentReplicaStatus
- type DeploymentStatus
- type DriverActionTypeCriterion
- type EnvVarInput
- type FilterCriterion
- func (v *FilterCriterion) GetBlueprintMetadataFilter() *BlueprintMetadataFilter
- func (v *FilterCriterion) GetDeployableDriverActionExecutionFilter() *DeployableDriverActionExecutionFilter
- func (v *FilterCriterion) GetRepoFilter() *RepoFilter
- func (v *FilterCriterion) GetResourceAdapterFilter() *ResourceAdapterFilter
- func (v *FilterCriterion) GetResourceFilter() *ResourceFilter
- func (v *FilterCriterion) GetUserFilter() *UserFilter
- type FilterCriterionOperatorType
- type FilterExpression
- type FilterExpressionOperator
- type FilterInput
- type FilterNode
- type GetCloudAWSCurrentUser
- type GetCloudAWSCurrentUserAwsAccountAWSAccount
- type GetCloudAWSResponse
- type GetCloudDigitalOceanCurrentUser
- type GetCloudDigitalOceanCurrentUserDoAccountDOAccount
- type GetCloudDigitalOceanResponse
- type GetCloudGCPCurrentUser
- type GetCloudGCPCurrentUserGcpAccountGCPAccount
- type GetCloudGCPResponse
- type GetCloudLinodeCurrentUser
- type GetCloudLinodeCurrentUserLinodeAccount
- type GetCloudLinodeResponse
- type GetClusterKubeconfigResponse
- type Job
- type JobRunState
- type ListClustersResponse
- type LogEntry
- type MultiEntityCriterion
- type PageInfo
- type PageInput
- type Project
- type ProjectV3AdapterConnection
- type ProjectV3AdapterConnectionNodesProjectV3Adapter
- func (v *ProjectV3AdapterConnectionNodesProjectV3Adapter) GetId() uuid.UUID
- func (v *ProjectV3AdapterConnectionNodesProjectV3Adapter) GetName() string
- func (v *ProjectV3AdapterConnectionNodesProjectV3Adapter) GetProjectV3() ProjectV3AdapterSummaryProjectV3
- func (v *ProjectV3AdapterConnectionNodesProjectV3Adapter) GetRepo() ProjectV3AdapterSummaryRepo
- func (v *ProjectV3AdapterConnectionNodesProjectV3Adapter) MarshalJSON() ([]byte, error)
- func (v *ProjectV3AdapterConnectionNodesProjectV3Adapter) UnmarshalJSON(b []byte) error
- type ProjectV3AdapterSummary
- type ProjectV3AdapterSummaryProjectV3
- type ProjectV3AdapterSummaryRepo
- type Repo
- type RepoFilter
- type RepoStatusCriterion
- type ResourceAdapterFilter
- func (v *ResourceAdapterFilter) GetActive() *BooleanCriterion
- func (v *ResourceAdapterFilter) GetDeployableIds() *MultiEntityCriterion
- func (v *ResourceAdapterFilter) GetEnvironmentName() *StringCriterion
- func (v *ResourceAdapterFilter) GetIds() *MultiEntityCriterion
- func (v *ResourceAdapterFilter) GetName() *StringCriterion
- func (v *ResourceAdapterFilter) GetProjectName() *StringCriterion
- func (v *ResourceAdapterFilter) GetRepoIds() *MultiEntityCriterion
- func (v *ResourceAdapterFilter) GetResourceIds() *MultiEntityCriterion
- func (v *ResourceAdapterFilter) GetStatus() *AdapterStatusCriterion
- type ResourceFilter
- type SortDirection
- type SortInput
- type StringCriterion
- type UploadClient
- type User
- type UserFilter
Constants ¶
const GetCloudAWS_Operation = `
query GetCloudAWS ($id: UUID!) {
currentUser {
awsAccount(id: $id) {
id
roleARN
externalID
}
}
}
`
The query or mutation executed by GetCloudAWS.
const GetCloudDigitalOcean_Operation = `
query GetCloudDigitalOcean ($id: UUID!) {
currentUser {
doAccount(id: $id) {
id
accessToken
}
}
}
`
The query or mutation executed by GetCloudDigitalOcean.
const GetCloudGCP_Operation = `
query GetCloudGCP ($id: UUID!) {
currentUser {
gcpAccount(id: $id) {
id
projectID
credentials
}
}
}
`
The query or mutation executed by GetCloudGCP.
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 BuildRepoDefaultBranchMutation ¶ added in v0.9.0
func BuildRepoMutation ¶ added in v0.9.0
func DeleteBlueprintMutation ¶ added in v0.9.0
func DeleteMutation ¶ added in v0.9.0
func DeployRepoBranchMutation ¶ added in v0.9.0
func GetBlueprintQuery ¶ added in v0.9.0
func GetBlueprintsQuery ¶ added in v0.9.0
func GetBuildLogsQuery ¶ added in v0.9.0
func GetClusterKubeconfigQuery ¶ added in v0.9.0
func GetCurrentUserQuery ¶ added in v0.9.0
func GetDeploymentInfoQuery ¶ added in v0.9.0
func GetDeploymentLogsQuery ¶ added in v0.9.0
func GetDeploymentReplicaStatusQuery ¶ added in v0.9.0
func GetEnvVarsQuery ¶ added in v0.9.0
func GetJobLogsQuery ¶ added in v0.9.0
func GetJobQuery ¶ added in v0.9.0
func GetLatestDeploymentQuery ¶ added in v0.9.0
func GetProductionBranchQuery ¶ added in v0.9.0
func GetProductionDeploymentQuery ¶ added in v0.9.0
func GetProjectByPathQuery ¶ added in v0.9.0
func GetProjectPathQuery ¶ added in v0.9.0
func GetProjectV3sQuery ¶ added in v0.9.0
func GetRepoQuery ¶ added in v0.9.0
func GetRuntimeLogsQuery ¶ added in v0.9.0
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
func ListClustersForTeamQuery ¶ added in v0.9.0
func ListClustersQuery ¶ added in v0.9.0
func RunJobMutation ¶ added in v0.9.0
func SetEnvVarsMutation ¶ added in v0.9.0
func UpdateBranchMutation ¶ added in v0.9.0
func UpdateClusterMutation ¶ added in v0.9.0
Types ¶
type AdapterStatusCriterion ¶ added in v0.8.1
type AdapterStatusCriterion struct {
Value []*string `json:"value"`
}
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"` }
BlueprintConnection includes the requested fields of the GraphQL type BlueprintConnection.
func (*BlueprintConnection) GetNodes ¶ added in v0.8.0
func (v *BlueprintConnection) GetNodes() []BlueprintConnectionNodesBlueprint
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
func (v *BlueprintConnectionNodesBlueprint) GetId() uuid.UUID
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
func (v *BlueprintConnectionNodesBlueprint) GetSlug() string
GetSlug returns BlueprintConnectionNodesBlueprint.Slug, and is useful for accessing the field via an interface.
func (*BlueprintConnectionNodesBlueprint) GetTags ¶ added in v0.8.0
func (v *BlueprintConnectionNodesBlueprint) GetTags() []string
GetTags returns BlueprintConnectionNodesBlueprint.Tags, and is useful for accessing the field via an interface.
func (*BlueprintConnectionNodesBlueprint) GetType ¶ added in v0.8.0
func (v *BlueprintConnectionNodesBlueprint) GetType() BlueprintType
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"`
}
func (*BlueprintMetadataFilter) GetName ¶ added in v0.9.0
func (v *BlueprintMetadataFilter) GetName() *StringCriterion
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"` }
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"`
}
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 Client ¶ added in v0.1.0
type Client struct {
// contains filtered or unexported fields
}
func (*Client) BuildProject ¶ added in v0.1.0
func (*Client) DeleteBlueprint ¶ added in v0.8.0
func (*Client) DeleteRepo ¶ added in v0.6.1
func (*Client) DeployProjectBranch ¶ added in v0.1.0
func (*Client) GetBlueprint ¶ added in v0.8.0
func (*Client) GetBuildLogs ¶ added in v0.1.0
func (*Client) GetCloudAWS ¶ added in v0.7.0
func (*Client) GetCloudDigitalOcean ¶ added in v0.7.0
func (*Client) GetCloudGCP ¶ added in v0.7.0
func (*Client) GetCloudLinode ¶ added in v0.7.0
func (*Client) GetClusterKubeconfig ¶ added in v0.7.0
func (*Client) GetCurrentUser ¶ added in v0.1.0
func (*Client) GetDeployment ¶ added in v0.1.0
func (*Client) GetDeploymentLogs ¶ added in v0.1.0
func (*Client) GetDeploymentStatus ¶ added in v0.5.2
func (*Client) GetEnvVars ¶ added in v0.2.0
func (*Client) GetJobLogs ¶ added in v0.5.2
func (*Client) GetLatestDeployment ¶ added in v0.5.2
func (*Client) GetProductionBranch ¶ added in v0.1.0
func (*Client) GetProductionDeployment ¶ added in v0.1.2
func (*Client) GetProjectByPath ¶ added in v0.1.0
func (*Client) GetProjectPath ¶ added in v0.5.2
func (*Client) GetProjectV3 ¶ added in v0.8.1
func (*Client) GetRuntimeLogs ¶ added in v0.2.0
func (*Client) ListBlueprints ¶ added in v0.8.0
func (*Client) ListClusters ¶ added in v0.8.1
func (*Client) ListProjectV3s ¶ added in v0.8.1
func (c *Client) ListProjectV3s(ctx context.Context, filterInput *FilterInput) (*ProjectV3AdapterConnection, error)
func (*Client) SetEnvVars ¶ added in v0.2.0
func (*Client) ToProjectPath ¶ added in v0.6.0
ToProjectPath returns the path for a given project UUID or path
func (*Client) UpdateBranch ¶ added in v0.5.2
func (*Client) UpdateClusterKubeconfig ¶ added in v0.6.0
func (*Client) UpdateProject ¶ added in v0.5.2
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 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 DeployableDriverActionExecutionFilter ¶ added in v0.8.1
type DeployableDriverActionExecutionFilter struct { Ids *MultiEntityCriterion `json:"ids"` ActionTypes *DriverActionTypeCriterion `json:"actionTypes"` ResourceIds *MultiEntityCriterion `json:"resourceIds"` }
func (*DeployableDriverActionExecutionFilter) GetActionTypes ¶ added in v0.8.1
func (v *DeployableDriverActionExecutionFilter) GetActionTypes() *DriverActionTypeCriterion
GetActionTypes returns DeployableDriverActionExecutionFilter.ActionTypes, and is useful for accessing the field via an interface.
func (*DeployableDriverActionExecutionFilter) GetIds ¶ added in v0.8.1
func (v *DeployableDriverActionExecutionFilter) GetIds() *MultiEntityCriterion
GetIds returns DeployableDriverActionExecutionFilter.Ids, and is useful for accessing the field via an interface.
func (*DeployableDriverActionExecutionFilter) GetResourceIds ¶ added in v0.8.1
func (v *DeployableDriverActionExecutionFilter) GetResourceIds() *MultiEntityCriterion
GetResourceIds returns DeployableDriverActionExecutionFilter.ResourceIds, and is useful for accessing the field via an interface.
type Deployment ¶ added in v0.1.0
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"` Operator *FilterCriterionOperatorType `json:"operator"` }
func (*DriverActionTypeCriterion) GetOperator ¶ added in v0.8.1
func (v *DriverActionTypeCriterion) GetOperator() *FilterCriterionOperatorType
GetOperator returns DriverActionTypeCriterion.Operator, and is useful for accessing the field via an interface.
func (*DriverActionTypeCriterion) GetValue ¶ added in v0.8.1
func (v *DriverActionTypeCriterion) GetValue() []*BlueprintDriverAction
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"` ResourceFilter *ResourceFilter `json:"resourceFilter"` RepoFilter *RepoFilter `json:"repoFilter"` DeployableDriverActionExecutionFilter *DeployableDriverActionExecutionFilter `json:"deployableDriverActionExecutionFilter"` ResourceAdapterFilter *ResourceAdapterFilter `json:"resourceAdapterFilter"` BlueprintMetadataFilter *BlueprintMetadataFilter `json:"blueprintMetadataFilter"` }
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"` Filters []*FilterNode `json:"filters"` }
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"` Page *PageInput `json:"page"` Filter *FilterNode `json:"filter"` }
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"` Criterion *FilterCriterion `json:"criterion"` }
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 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
func (v *GetCloudAWSCurrentUser) GetAwsAccount() GetCloudAWSCurrentUserAwsAccountAWSAccount
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
func (v *GetCloudAWSCurrentUserAwsAccountAWSAccount) GetExternalID() string
GetExternalID returns GetCloudAWSCurrentUserAwsAccountAWSAccount.ExternalID, and is useful for accessing the field via an interface.
func (*GetCloudAWSCurrentUserAwsAccountAWSAccount) GetId ¶ added in v0.7.0
func (v *GetCloudAWSCurrentUserAwsAccountAWSAccount) GetId() uuid.UUID
GetId returns GetCloudAWSCurrentUserAwsAccountAWSAccount.Id, and is useful for accessing the field via an interface.
func (*GetCloudAWSCurrentUserAwsAccountAWSAccount) GetRoleARN ¶ added in v0.7.0
func (v *GetCloudAWSCurrentUserAwsAccountAWSAccount) GetRoleARN() string
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 (*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
func (v *GetCloudDigitalOceanCurrentUser) GetDoAccount() GetCloudDigitalOceanCurrentUserDoAccountDOAccount
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
func (v *GetCloudDigitalOceanCurrentUserDoAccountDOAccount) GetAccessToken() string
GetAccessToken returns GetCloudDigitalOceanCurrentUserDoAccountDOAccount.AccessToken, and is useful for accessing the field via an interface.
func (*GetCloudDigitalOceanCurrentUserDoAccountDOAccount) GetId ¶ added in v0.7.0
func (v *GetCloudDigitalOceanCurrentUserDoAccountDOAccount) GetId() uuid.UUID
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 (*GetCloudDigitalOceanResponse) GetCurrentUser ¶ added in v0.7.0
func (v *GetCloudDigitalOceanResponse) GetCurrentUser() GetCloudDigitalOceanCurrentUser
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
func (v *GetCloudGCPCurrentUser) GetGcpAccount() GetCloudGCPCurrentUserGcpAccountGCPAccount
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
func (v *GetCloudGCPCurrentUserGcpAccountGCPAccount) GetCredentials() string
GetCredentials returns GetCloudGCPCurrentUserGcpAccountGCPAccount.Credentials, and is useful for accessing the field via an interface.
func (*GetCloudGCPCurrentUserGcpAccountGCPAccount) GetId ¶ added in v0.7.0
func (v *GetCloudGCPCurrentUserGcpAccountGCPAccount) GetId() uuid.UUID
GetId returns GetCloudGCPCurrentUserGcpAccountGCPAccount.Id, and is useful for accessing the field via an interface.
func (*GetCloudGCPCurrentUserGcpAccountGCPAccount) GetProjectID ¶ added in v0.7.6
func (v *GetCloudGCPCurrentUserGcpAccountGCPAccount) GetProjectID() string
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 (*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
func (v *GetCloudLinodeCurrentUser) GetLinodeAccount() GetCloudLinodeCurrentUserLinodeAccount
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
func (v *GetCloudLinodeCurrentUserLinodeAccount) GetId() uuid.UUID
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 (*GetCloudLinodeResponse) GetCurrentUser ¶ added in v0.7.0
func (v *GetCloudLinodeResponse) GetCurrentUser() GetCloudLinodeCurrentUser
GetCurrentUser returns GetCloudLinodeResponse.CurrentUser, and is useful for accessing the field via an interface.
type GetClusterKubeconfigResponse ¶ added in v0.7.0
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" )
type ListClustersResponse ¶ added in v0.8.1
type MultiEntityCriterion ¶ added in v0.8.1
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
GetEndCursor returns PageInfo.EndCursor, and is useful for accessing the field via an interface.
func (*PageInfo) GetHasNextPage ¶ added in v0.8.0
GetHasNextPage returns PageInfo.HasNextPage, and is useful for accessing the field via an interface.
func (*PageInfo) GetHasPreviousPage ¶ added in v0.8.0
GetHasPreviousPage returns PageInfo.HasPreviousPage, and is useful for accessing the field via an interface.
func (*PageInfo) GetStartCursor ¶ added in v0.8.0
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"` After string `json:"after"` Before string `json:"before"` Filter string `json:"filter"` Sort string `json:"sort"` }
func (*PageInput) GetAfter ¶ added in v0.8.0
GetAfter returns PageInput.After, and is useful for accessing the field via an interface.
func (*PageInput) GetBefore ¶ added in v0.8.0
GetBefore returns PageInput.Before, and is useful for accessing the field via an interface.
func (*PageInput) GetFilter ¶ added in v0.8.0
GetFilter returns PageInput.Filter, and is useful for accessing the field via an interface.
func (*PageInput) GetFirst ¶ added in v0.8.0
GetFirst returns PageInput.First, and is useful for accessing the field via an interface.
type ProjectV3AdapterConnection ¶ added in v0.8.1
type ProjectV3AdapterConnection struct { TotalCount *int `json:"totalCount"` PageInfo *PageInfo `json:"pageInfo"` Nodes []*ProjectV3AdapterConnectionNodesProjectV3Adapter `json:"nodes"` }
ProjectV3AdapterConnection includes the requested fields of the GraphQL type ProjectV3AdapterConnection.
func (*ProjectV3AdapterConnection) GetNodes ¶ added in v0.8.1
func (v *ProjectV3AdapterConnection) GetNodes() []*ProjectV3AdapterConnectionNodesProjectV3Adapter
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
func (v *ProjectV3AdapterConnectionNodesProjectV3Adapter) GetId() uuid.UUID
GetId returns ProjectV3AdapterConnectionNodesProjectV3Adapter.Id, and is useful for accessing the field via an interface.
func (*ProjectV3AdapterConnectionNodesProjectV3Adapter) GetName ¶ added in v0.8.1
func (v *ProjectV3AdapterConnectionNodesProjectV3Adapter) GetName() string
GetName returns ProjectV3AdapterConnectionNodesProjectV3Adapter.Name, and is useful for accessing the field via an interface.
func (*ProjectV3AdapterConnectionNodesProjectV3Adapter) GetProjectV3 ¶ added in v0.8.1
func (v *ProjectV3AdapterConnectionNodesProjectV3Adapter) GetProjectV3() ProjectV3AdapterSummaryProjectV3
GetProjectV3 returns ProjectV3AdapterConnectionNodesProjectV3Adapter.ProjectV3, and is useful for accessing the field via an interface.
func (*ProjectV3AdapterConnectionNodesProjectV3Adapter) GetRepo ¶ added in v0.8.1
func (v *ProjectV3AdapterConnectionNodesProjectV3Adapter) GetRepo() ProjectV3AdapterSummaryRepo
GetRepo returns ProjectV3AdapterConnectionNodesProjectV3Adapter.Repo, and is useful for accessing the field via an interface.
func (*ProjectV3AdapterConnectionNodesProjectV3Adapter) MarshalJSON ¶ added in v0.8.1
func (v *ProjectV3AdapterConnectionNodesProjectV3Adapter) MarshalJSON() ([]byte, error)
func (*ProjectV3AdapterConnectionNodesProjectV3Adapter) UnmarshalJSON ¶ added in v0.8.1
func (v *ProjectV3AdapterConnectionNodesProjectV3Adapter) UnmarshalJSON(b []byte) error
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
func (v *ProjectV3AdapterSummary) GetProjectV3() ProjectV3AdapterSummaryProjectV3
GetProjectV3 returns ProjectV3AdapterSummary.ProjectV3, and is useful for accessing the field via an interface.
func (*ProjectV3AdapterSummary) GetRepo ¶ added in v0.8.1
func (v *ProjectV3AdapterSummary) GetRepo() ProjectV3AdapterSummaryRepo
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
func (v *ProjectV3AdapterSummaryProjectV3) GetId() uuid.UUID
GetId returns ProjectV3AdapterSummaryProjectV3.Id, and is useful for accessing the field via an interface.
func (*ProjectV3AdapterSummaryProjectV3) GetName ¶ added in v0.8.1
func (v *ProjectV3AdapterSummaryProjectV3) GetName() string
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 uuid.UUID `json:"id"` Name string `json:"name"` }
ProjectV3AdapterSummaryRepo includes the requested fields of the GraphQL type Repo.
func (*ProjectV3AdapterSummaryRepo) GetId ¶ added in v0.8.1
func (v *ProjectV3AdapterSummaryRepo) GetId() uuid.UUID
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 RepoFilter ¶ added in v0.8.1
type RepoFilter struct {
Status *RepoStatusCriterion `json:"status"`
}
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"` Operator *FilterCriterionOperatorType `json:"operator"` }
func (*RepoStatusCriterion) GetOperator ¶ added in v0.8.1
func (v *RepoStatusCriterion) GetOperator() *FilterCriterionOperatorType
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"` RepoIds *MultiEntityCriterion `json:"repoIds"` ResourceIds *MultiEntityCriterion `json:"resourceIds"` DeployableIds *MultiEntityCriterion `json:"deployableIds"` Name *StringCriterion `json:"name"` Status *AdapterStatusCriterion `json:"status"` ProjectName *StringCriterion `json:"projectName"` EnvironmentName *StringCriterion `json:"environmentName"` // Active=true or Paused=false Active *BooleanCriterion `json:"active"` }
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
func (v *ResourceAdapterFilter) GetIds() *MultiEntityCriterion
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
func (v *ResourceAdapterFilter) GetRepoIds() *MultiEntityCriterion
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
func (v *ResourceAdapterFilter) GetStatus() *AdapterStatusCriterion
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"` DeployableIds *MultiEntityCriterion `json:"deployableIds"` UserIds *MultiEntityCriterion `json:"userIds"` }
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 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"` Field *string `json:"field"` }
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.
type StringCriterion ¶ added in v0.8.1
type StringCriterion struct { Value *string `json:"value"` Operator *FilterCriterionOperatorType `json:"operator"` }
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 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 UserFilter ¶ added in v0.8.1
type UserFilter struct {
Ids *MultiEntityCriterion `json:"ids"`
}
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.