Documentation ¶
Index ¶
- Constants
- type Client
- func (c *Client) GetAddOnStatus(ctx context.Context, addonID string) (ocm.AddOnStatusResponse, error)
- func (c *Client) GetCluster(ctx context.Context, req ocm.ClusterGetRequest) (ocm.ClusterGetResponse, error)
- func (c *Client) GetClusterIDAndName() (string, string)
- func (c *Client) GetUpgradePolicy(ctx context.Context, req ocm.UpgradePolicyGetRequest) (ocm.UpgradePolicyGetResponse, error)
- func (c *Client) PatchAddOnStatus(ctx context.Context, addonID string, req ocm.AddOnStatusPatchRequest) (ocm.AddOnStatusResponse, error)
- func (c *Client) PatchUpgradePolicy(ctx context.Context, req ocm.UpgradePolicyPatchRequest) (ocm.UpgradePolicyPatchResponse, error)
- func (c *Client) PostAddOnStatus(ctx context.Context, req ocm.AddOnStatusPostRequest) (ocm.AddOnStatusResponse, error)
Constants ¶
View Source
const ( MockClusterId = "1ou" MockClusterName = "openshift-mock-cluster-name" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
func (*Client) GetAddOnStatus ¶ added in v1.7.0
func (*Client) GetCluster ¶
func (c *Client) GetCluster( ctx context.Context, req ocm.ClusterGetRequest, ) (ocm.ClusterGetResponse, error)
func (*Client) GetClusterIDAndName ¶ added in v1.12.0
func (*Client) GetUpgradePolicy ¶ added in v1.5.6
func (c *Client) GetUpgradePolicy( ctx context.Context, req ocm.UpgradePolicyGetRequest, ) (ocm.UpgradePolicyGetResponse, error)
func (*Client) PatchAddOnStatus ¶ added in v1.7.0
func (c *Client) PatchAddOnStatus( ctx context.Context, addonID string, req ocm.AddOnStatusPatchRequest, ) (ocm.AddOnStatusResponse, error)
func (*Client) PatchUpgradePolicy ¶
func (c *Client) PatchUpgradePolicy( ctx context.Context, req ocm.UpgradePolicyPatchRequest, ) (ocm.UpgradePolicyPatchResponse, error)
func (*Client) PostAddOnStatus ¶ added in v1.7.0
func (c *Client) PostAddOnStatus( ctx context.Context, req ocm.AddOnStatusPostRequest, ) (ocm.AddOnStatusResponse, error)
Click to show internal directories.
Click to hide internal directories.