Documentation
¶
Index ¶
- type Plugin
- func (p *Plugin) Describe(_ context.Context) (*plugin.Descriptor, error)
- func (p *Plugin) EnsureDeployment(namespace, name string, labels map[string]string, ...)
- func (p *Plugin) EnsureNamespace(name string)
- func (p *Plugin) HandleRequest(_ context.Context, req *plugin.Request) (*plugin.Response, error)
- func (p *Plugin) HealthCheck(_ context.Context) (plugin.HealthStatus, string, error)
- func (p *Plugin) Init(_ context.Context, _ []byte, _ string, _ string) error
- func (p *Plugin) Shutdown(_ context.Context) error
- func (p *Plugin) Store() *internal.Store
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Plugin ¶
type Plugin struct {
// contains filtered or unexported fields
}
Plugin implements the CloudMock plugin interface for Kubernetes API emulation.
func (*Plugin) EnsureDeployment ¶
func (p *Plugin) EnsureDeployment(namespace, name string, labels map[string]string, matchLabels map[string]string)
EnsureDeployment creates a deployment if it does not already exist. This is used by the ArgoCD plugin during sync operations.
func (*Plugin) EnsureNamespace ¶
EnsureNamespace creates the namespace if it does not already exist. This is used by the ArgoCD plugin during sync operations.
func (*Plugin) HandleRequest ¶
func (*Plugin) HealthCheck ¶
Click to show internal directories.
Click to hide internal directories.