Documentation ¶
Index ¶
- func GetClientConfig(kc string) (*rest.Config, error)
- func IsRunningInKubernetes() bool
- type ClusterDetails
- type KubernetesClientFromCacheWithAPIFallback
- func (k *KubernetesClientFromCacheWithAPIFallback) Create(ctx context.Context, obj client.Object, opts ...client.CreateOption) error
- func (k *KubernetesClientFromCacheWithAPIFallback) Delete(ctx context.Context, obj client.Object, opts ...client.DeleteOption) error
- func (k *KubernetesClientFromCacheWithAPIFallback) DeleteAllOf(ctx context.Context, obj client.Object, opts ...client.DeleteAllOfOption) error
- func (k *KubernetesClientFromCacheWithAPIFallback) Get(ctx context.Context, key client.ObjectKey, obj client.Object, ...) error
- func (k *KubernetesClientFromCacheWithAPIFallback) GroupVersionKindFor(obj runtime.Object) (schema.GroupVersionKind, error)
- func (k *KubernetesClientFromCacheWithAPIFallback) IsObjectNamespaced(obj runtime.Object) (bool, error)
- func (k *KubernetesClientFromCacheWithAPIFallback) List(ctx context.Context, list client.ObjectList, opts ...client.ListOption) error
- func (k *KubernetesClientFromCacheWithAPIFallback) Patch(ctx context.Context, obj client.Object, patch client.Patch, ...) error
- func (k *KubernetesClientFromCacheWithAPIFallback) RESTMapper() meta.RESTMapper
- func (k *KubernetesClientFromCacheWithAPIFallback) Scheme() *runtime.Scheme
- func (k *KubernetesClientFromCacheWithAPIFallback) Status() client.SubResourceWriter
- func (k *KubernetesClientFromCacheWithAPIFallback) SubResource(subResource string) client.SubResourceClient
- func (k *KubernetesClientFromCacheWithAPIFallback) Update(ctx context.Context, obj client.Object, opts ...client.UpdateOption) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsRunningInKubernetes ¶
func IsRunningInKubernetes() bool
Types ¶
type ClusterDetails ¶ added in v1.0.77
func GetCurrentClusterDetails ¶ added in v1.0.77
func GetCurrentClusterDetails(kc string) ClusterDetails
type KubernetesClientFromCacheWithAPIFallback ¶ added in v1.0.72
type KubernetesClientFromCacheWithAPIFallback struct { Cache client.Client APIServer client.Reader }
func NewKubernetesClientFromCacheWithAPIFallback ¶ added in v1.0.72
func NewKubernetesClientFromCacheWithAPIFallback(cache client.Client, apiServer client.Reader) *KubernetesClientFromCacheWithAPIFallback
func (*KubernetesClientFromCacheWithAPIFallback) Create ¶ added in v1.0.72
func (k *KubernetesClientFromCacheWithAPIFallback) Create(ctx context.Context, obj client.Object, opts ...client.CreateOption) error
func (*KubernetesClientFromCacheWithAPIFallback) Delete ¶ added in v1.0.72
func (k *KubernetesClientFromCacheWithAPIFallback) Delete(ctx context.Context, obj client.Object, opts ...client.DeleteOption) error
func (*KubernetesClientFromCacheWithAPIFallback) DeleteAllOf ¶ added in v1.0.72
func (k *KubernetesClientFromCacheWithAPIFallback) DeleteAllOf(ctx context.Context, obj client.Object, opts ...client.DeleteAllOfOption) error
func (*KubernetesClientFromCacheWithAPIFallback) GroupVersionKindFor ¶ added in v1.0.72
func (k *KubernetesClientFromCacheWithAPIFallback) GroupVersionKindFor(obj runtime.Object) (schema.GroupVersionKind, error)
func (*KubernetesClientFromCacheWithAPIFallback) IsObjectNamespaced ¶ added in v1.0.72
func (k *KubernetesClientFromCacheWithAPIFallback) IsObjectNamespaced(obj runtime.Object) (bool, error)
func (*KubernetesClientFromCacheWithAPIFallback) List ¶ added in v1.0.72
func (k *KubernetesClientFromCacheWithAPIFallback) List(ctx context.Context, list client.ObjectList, opts ...client.ListOption) error
func (*KubernetesClientFromCacheWithAPIFallback) Patch ¶ added in v1.0.72
func (k *KubernetesClientFromCacheWithAPIFallback) Patch(ctx context.Context, obj client.Object, patch client.Patch, opts ...client.PatchOption) error
func (*KubernetesClientFromCacheWithAPIFallback) RESTMapper ¶ added in v1.0.72
func (k *KubernetesClientFromCacheWithAPIFallback) RESTMapper() meta.RESTMapper
func (*KubernetesClientFromCacheWithAPIFallback) Scheme ¶ added in v1.0.72
func (k *KubernetesClientFromCacheWithAPIFallback) Scheme() *runtime.Scheme
func (*KubernetesClientFromCacheWithAPIFallback) Status ¶ added in v1.0.72
func (k *KubernetesClientFromCacheWithAPIFallback) Status() client.SubResourceWriter
func (*KubernetesClientFromCacheWithAPIFallback) SubResource ¶ added in v1.0.72
func (k *KubernetesClientFromCacheWithAPIFallback) SubResource(subResource string) client.SubResourceClient
func (*KubernetesClientFromCacheWithAPIFallback) Update ¶ added in v1.0.72
func (k *KubernetesClientFromCacheWithAPIFallback) Update(ctx context.Context, obj client.Object, opts ...client.UpdateOption) error
Click to show internal directories.
Click to hide internal directories.