Documentation ¶
Index ¶
- Constants
- func New() clusters.Addon
- type Addon
- func (a *Addon) Delete(ctx context.Context, cluster clusters.Cluster) error
- func (a *Addon) Dependencies(_ context.Context, _ clusters.Cluster) []clusters.AddonName
- func (a *Addon) Deploy(ctx context.Context, cluster clusters.Cluster) error
- func (a *Addon) DumpDiagnostics(context.Context, clusters.Cluster) (map[string][]byte, error)
- func (a *Addon) Name() clusters.AddonName
- func (a *Addon) Ready(ctx context.Context, cluster clusters.Cluster) ([]runtime.Object, bool, error)
- type Builder
- func (b *Builder) Build() *Addon
- func (b *Builder) WithAppName(appName string) *Builder
- func (b *Builder) WithNamespace(namespace string) *Builder
- func (b *Builder) WithProject(project string) *Builder
- func (b *Builder) WithRelease(release string) *Builder
- func (b *Builder) WithVersion(version string) *Builder
Constants ¶
View Source
const ( // AddonName indicates the unique name of this addon. AddonName clusters.AddonName = "kong-argo" // DefaultNamespace indicates the default namespace this addon will be deployed to. DefaultNamespace = "kong-argo" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Addon ¶
type Addon struct {
// contains filtered or unexported fields
}
func (*Addon) Dependencies ¶
func (*Addon) DumpDiagnostics ¶
type Builder ¶
type Builder struct {
// contains filtered or unexported fields
}
Builder is a configuration tool to generate ArgoCD cluster addons.
func NewBuilder ¶
func NewBuilder() *Builder
NewBuilder provides a new Builder object for configuring ArgoCD cluster addons.
func (*Builder) Build ¶
Build generates a new kong cluster.Addon which can be loaded and deployed into a test Environment's cluster.Cluster.
func (*Builder) WithAppName ¶
WithAppName sets the addon application name
func (*Builder) WithNamespace ¶
WithNamespace sets the addon namespace
func (*Builder) WithProject ¶
WithProject sets the addon project
func (*Builder) WithRelease ¶
WithRelease sets the addon release
func (*Builder) WithVersion ¶
WithVersion sets the addon version
Click to show internal directories.
Click to hide internal directories.