Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountAPI ¶
type CliReleaseAPI ¶
type ClusterAPI ¶
type ComponentAPI ¶
type GitSourceAPI ¶
type GraphQLAPI ¶
type GraphQLAPI interface {
Account() AccountAPI
CliRelease() CliReleaseAPI
Cluster() ClusterAPI
Component() ComponentAPI
GitSource() GitSourceAPI
Pipeline() PipelineAPI
Runtime() RuntimeAPI
User() UserAPI
Workflow() WorkflowAPI
PromotionTemplate() PromotionTemplateAPI
Payments() PaymentsAPI
}
func NewGraphQLClient ¶
func NewGraphQLClient(c *client.CfClient) GraphQLAPI
type PaymentsAPI ¶ added in v1.4.8
type PaymentsAPI interface {
GetLimitsStatus(ctx context.Context) (*platmodel.LimitsStatus, error)
}
type PipelineAPI ¶
type PromotionTemplateAPI ¶ added in v1.4.4
type PromotionTemplateAPI interface {
GetVersionSourceByRuntime(ctx context.Context, app *platmodel.ObjectMeta) (*platmodel.PromotionTemplateShort, error)
}
type RuntimeAPI ¶
type RuntimeAPI interface {
Create(ctx context.Context, opts *platmodel.RuntimeInstallationArgs) (*platmodel.RuntimeCreationResponse, error)
Delete(ctx context.Context, runtimeName string) (int, error)
DeleteManaged(ctx context.Context, runtimeName string) (int, error)
Get(ctx context.Context, name string) (*platmodel.Runtime, error)
List(ctx context.Context) ([]platmodel.Runtime, error)
MigrateRuntime(ctx context.Context, runtimeName string) error
ReportErrors(ctx context.Context, opts *platmodel.ReportRuntimeErrorsArgs) (int, error)
}
Click to show internal directories.
Click to hide internal directories.