Documentation
¶
Index ¶
- func GetK8sClient() (client.Client, error)
- func IsDeployReady(ctx context.Context, c client.Client, name, namespace string) wait.ConditionFunc
- func IsPodReady(ctx context.Context, c client.Client, podName, namespace string) wait.ConditionFunc
- func IsPodRunning(ctx context.Context, c client.Client, podName, namespace string) wait.ConditionFunc
- func NewSpinner(text string) *pterm.SpinnerPrinter
- func WaitAPIServiceReady(ctx context.Context, client client.Client) error
- func WaitForDeploymentReady(ctx context.Context, k8sClient client.Client, namespace string, name string, ...) error
- func WaitForPodsReady(ctx context.Context, k8sClient client.Client, namespace string, name string, ...) error
- type ErrorResponse
- type GithubClient
- func (c *GithubClient) Do(req *http.Request, v interface{}) (*ErrorResponse, error)
- func (c *GithubClient) DoRequest(method, path string, body, v interface{}) (*ErrorResponse, error)
- func (c *GithubClient) GetLatest() (string, error)
- func (c *GithubClient) GetTags() ([]Tag, *ErrorResponse, error)
- func (c *GithubClient) NewRequest(method, path string, body interface{}) (*http.Request, error)
- type Obj
- type Tag
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetK8sClient ¶
func IsDeployReady ¶ added in v1.3.0
IsPodReady check if the pod in question is running state
func IsPodReady ¶ added in v1.3.0
IsPodReady check if the pod in question is running state
func IsPodRunning ¶ added in v1.3.0
func IsPodRunning(ctx context.Context, c client.Client, podName, namespace string) wait.ConditionFunc
IsPodRunning check if the pod in question is running state
func WaitAPIServiceReady ¶ added in v1.3.0
func WaitForDeploymentReady ¶ added in v1.3.0
Types ¶
type ErrorResponse ¶ added in v1.2.4
type GithubClient ¶ added in v1.2.4
type GithubClient struct {
// contains filtered or unexported fields
}
func NewGithubClient ¶ added in v1.2.4
func NewGithubClient(apiKey string, httpClient *http.Client) (*GithubClient, error)
func (*GithubClient) Do ¶ added in v1.2.4
func (c *GithubClient) Do(req *http.Request, v interface{}) (*ErrorResponse, error)
func (*GithubClient) DoRequest ¶ added in v1.2.4
func (c *GithubClient) DoRequest(method, path string, body, v interface{}) (*ErrorResponse, error)
func (*GithubClient) GetLatest ¶ added in v1.3.0
func (c *GithubClient) GetLatest() (string, error)
func (*GithubClient) GetTags ¶ added in v1.2.4
func (c *GithubClient) GetTags() ([]Tag, *ErrorResponse, error)
func (*GithubClient) NewRequest ¶ added in v1.2.4
func (c *GithubClient) NewRequest(method, path string, body interface{}) (*http.Request, error)
Click to show internal directories.
Click to hide internal directories.