Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientInterface ¶
type ClientInterface interface {
k8sclient.Interface
tektonv1beta1client.TektonV1beta1Interface
// Apply replicates the behaviour of the `kubectl apply` command
Apply(ctx context.Context, obj runtime.Object, namespace string, forceConflicts bool) error
// RESTMapper returns an instance implementing the `meta.RESTMapper` interface
RESTMapper() meta.RESTMapper
}
ClientInterface is an interface implemented by our K8s Go clients
func NewTypedClientForConfig ¶
func NewTypedClientForConfig(config *rest.Config, fieldManager string) (ClientInterface, error)
NewTypedClientForConfig returns an implementation of the `ClientInterface` using the provided configuration.
Click to show internal directories.
Click to hide internal directories.