...

Package describe

Overview ▾

func DescribeDevfileComponent

func DescribeDevfileComponent(
    ctx context.Context,
    kubeClient kclient.ClientInterface,
    podmanClient podman.Client,
    stateClient state.Client,
) (result api.Component, devfile *parser.DevfileObj, err error)

DescribeDevfileComponent describes the component defined by the devfile in the current directory

func DescribeNamedComponent

func DescribeNamedComponent(
    ctx context.Context,
    name string,
    kubeClient kclient.ClientInterface,
    podmanClient podman.Client,
) (result api.Component, devfileObj *parser.DevfileObj, err error)

DescribeNamedComponent describes a component given its name

func GetRunningOn

func GetRunningOn(ctx context.Context, n string, kubeClient kclient.ClientInterface, podmanClient podman.Client) (map[string]api.RunningModes, error)