Documentation ¶
Index ¶
- func FromKubeDeployment(deployment *appsv1.Deployment) *skkube.Deployment
- func NewDeploymentClient(kube kubernetes.Interface, cache cache.KubeDeploymentCache) skkube.DeploymentClient
- func NewKubeDeploymentCacheManager(ctx context.Context) *deploymentCacheManager
- func ToKubeDeployment(resource resources.Resource) (*appsv1.Deployment, error)
- type KubeDeploymentCacheGetter
- type KubeDeploymentCacheManager
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromKubeDeployment ¶
func FromKubeDeployment(deployment *appsv1.Deployment) *skkube.Deployment
func NewDeploymentClient ¶
func NewDeploymentClient(kube kubernetes.Interface, cache cache.KubeDeploymentCache) skkube.DeploymentClient
func NewKubeDeploymentCacheManager ¶ added in v0.11.1
func ToKubeDeployment ¶
func ToKubeDeployment(resource resources.Resource) (*appsv1.Deployment, error)
Types ¶
type KubeDeploymentCacheGetter ¶ added in v0.11.1
type KubeDeploymentCacheGetter interface {
GetCache(cluster string, restConfig *rest.Config) cache.KubeDeploymentCache
}
type KubeDeploymentCacheManager ¶ added in v0.11.1
type KubeDeploymentCacheManager interface { handler.ClusterHandler KubeDeploymentCacheGetter }
Click to show internal directories.
Click to hide internal directories.