Documentation ¶
Index ¶
- Constants
- type ZeusClient
- func (z *ZeusClient) AddComponentBasesToClass(ctx context.Context, ...) (topology_workloads.TopologyCreateClassResponse, error)
- func (z *ZeusClient) AddSkeletonBasesToClass(ctx context.Context, ...) (topology_workloads.TopologyCreateClassResponse, error)
- func (z *ZeusClient) ClusterCreate(ctx context.Context, tar zeus_req_types.TopologyCreateClusterClassRequest) (topology_workloads.TopologyCreateClassResponse, error)
- func (z *ZeusClient) CreateClass(ctx context.Context, tar zeus_req_types.TopologyCreateClusterClassRequest) (topology_workloads.TopologyCreateClassResponse, error)
- func (z *ZeusClient) Deploy(ctx context.Context, tar zeus_req_types.TopologyDeployRequest) (zeus_resp_types.DeployStatus, error)
- func (z *ZeusClient) DeployReplace(ctx context.Context, p filepaths.Path, ...) (zeus_resp_types.TopologyDeployStatus, error)
- func (z *ZeusClient) DestroyDeploy(ctx context.Context, tar zeus_req_types.TopologyDeployRequest) (zeus_resp_types.DeployStatus, error)
- func (z *ZeusClient) ReadChart(ctx context.Context, tar zeus_req_types.TopologyRequest) (topology_workloads.TopologyBaseInfraWorkload, error)
- func (z *ZeusClient) ReadDeployStatusUpdates(ctx context.Context, tar zeus_req_types.TopologyRequest) (zeus_resp_types.TopologyDeployStatuses, error)
- func (z *ZeusClient) ReadNamespaceWorkload(ctx context.Context, tar zeus_req_types.TopologyCloudCtxNsQueryRequest) (live_workload_query.NamespaceWorkload, error)
- func (z *ZeusClient) ReadTopologies(ctx context.Context) (zeus_resp_types.ReadTopologiesMetadataGroup, error)
- func (z *ZeusClient) ReadTopologiesOrgCloudCtxNs(ctx context.Context) (zeus_resp_types.TopologiesOrgCloudCtxNsSlice, error)
- func (z *ZeusClient) SetOrCreateKeyFromConfigMapKey(ctx context.Context, par zeus_config_map_reqs.ConfigMapActionRequest) ([]byte, error)
- func (z *ZeusClient) SwapConfigMapKeys(ctx context.Context, par zeus_config_map_reqs.ConfigMapActionRequest) ([]byte, error)
- func (z *ZeusClient) UploadChart(ctx context.Context, p filepaths.Path, ...) (zeus_resp_types.TopologyCreateResponse, error)
- func (z *ZeusClient) ZipK8sChartToPath(p *filepaths.Path) error
Constants ¶
View Source
const ZeusEndpoint = "https://api.zeus.fyi"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ZeusClient ¶
type ZeusClient struct {
resty_base.Resty
}
func NewDefaultZeusClient ¶
func NewDefaultZeusClient(bearer string) ZeusClient
func NewZeusClient ¶
func NewZeusClient(baseURL, bearer string) ZeusClient
func (*ZeusClient) AddComponentBasesToClass ¶
func (z *ZeusClient) AddComponentBasesToClass(ctx context.Context, tar zeus_req_types.TopologyCreateOrAddComponentBasesToClassesRequest) (topology_workloads.TopologyCreateClassResponse, error)
func (*ZeusClient) AddSkeletonBasesToClass ¶
func (z *ZeusClient) AddSkeletonBasesToClass(ctx context.Context, tar zeus_req_types.TopologyCreateOrAddSkeletonBasesToClassesRequest) (topology_workloads.TopologyCreateClassResponse, error)
func (*ZeusClient) ClusterCreate ¶
func (z *ZeusClient) ClusterCreate(ctx context.Context, tar zeus_req_types.TopologyCreateClusterClassRequest) (topology_workloads.TopologyCreateClassResponse, error)
func (*ZeusClient) CreateClass ¶
func (z *ZeusClient) CreateClass(ctx context.Context, tar zeus_req_types.TopologyCreateClusterClassRequest) (topology_workloads.TopologyCreateClassResponse, error)
func (*ZeusClient) Deploy ¶
func (z *ZeusClient) Deploy(ctx context.Context, tar zeus_req_types.TopologyDeployRequest) (zeus_resp_types.DeployStatus, error)
func (*ZeusClient) DeployReplace ¶
func (z *ZeusClient) DeployReplace(ctx context.Context, p filepaths.Path, tar zeus_req_types.TopologyDeployRequest) (zeus_resp_types.TopologyDeployStatus, error)
DeployReplace will replace the topology at the desired cloud ctx ns only, it won't change the underlying topology definition, this is mostly useful for rapid development iteration and quick changes
func (*ZeusClient) DestroyDeploy ¶
func (z *ZeusClient) DestroyDeploy(ctx context.Context, tar zeus_req_types.TopologyDeployRequest) (zeus_resp_types.DeployStatus, error)
func (*ZeusClient) ReadChart ¶
func (z *ZeusClient) ReadChart(ctx context.Context, tar zeus_req_types.TopologyRequest) (topology_workloads.TopologyBaseInfraWorkload, error)
func (*ZeusClient) ReadDeployStatusUpdates ¶
func (z *ZeusClient) ReadDeployStatusUpdates(ctx context.Context, tar zeus_req_types.TopologyRequest) (zeus_resp_types.TopologyDeployStatuses, error)
func (*ZeusClient) ReadNamespaceWorkload ¶
func (z *ZeusClient) ReadNamespaceWorkload(ctx context.Context, tar zeus_req_types.TopologyCloudCtxNsQueryRequest) (live_workload_query.NamespaceWorkload, error)
func (*ZeusClient) ReadTopologies ¶
func (z *ZeusClient) ReadTopologies(ctx context.Context) (zeus_resp_types.ReadTopologiesMetadataGroup, error)
func (*ZeusClient) ReadTopologiesOrgCloudCtxNs ¶
func (z *ZeusClient) ReadTopologiesOrgCloudCtxNs(ctx context.Context) (zeus_resp_types.TopologiesOrgCloudCtxNsSlice, error)
func (*ZeusClient) SetOrCreateKeyFromConfigMapKey ¶
func (z *ZeusClient) SetOrCreateKeyFromConfigMapKey(ctx context.Context, par zeus_config_map_reqs.ConfigMapActionRequest) ([]byte, error)
SetOrCreateKeyFromConfigMapKey keyOne=keyToCopy, keyTwo=keyToSetOrCreateFromCopy
func (*ZeusClient) SwapConfigMapKeys ¶
func (z *ZeusClient) SwapConfigMapKeys(ctx context.Context, par zeus_config_map_reqs.ConfigMapActionRequest) ([]byte, error)
func (*ZeusClient) UploadChart ¶
func (z *ZeusClient) UploadChart(ctx context.Context, p filepaths.Path, tar zeus_req_types.TopologyCreateRequest) (zeus_resp_types.TopologyCreateResponse, error)
func (*ZeusClient) ZipK8sChartToPath ¶
func (z *ZeusClient) ZipK8sChartToPath(p *filepaths.Path) error
Source Files ¶
Click to show internal directories.
Click to hide internal directories.