Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type GroupVariablesClient ¶ added in v0.7.0
type GroupVariablesClient interface { GetVariable(gid any, key string, options ...gitlab.RequestOptionFunc) (*gitlab.GroupVariable, *gitlab.Response, error) ListVariables(gid any, opt *gitlab.ListGroupVariablesOptions, options ...gitlab.RequestOptionFunc) ([]*gitlab.GroupVariable, *gitlab.Response, error) }
type ProjectGroupPathSorter ¶ added in v0.7.0
type ProjectGroupPathSorter []*gitlab.ProjectGroup
func (ProjectGroupPathSorter) Len ¶ added in v0.7.0
func (a ProjectGroupPathSorter) Len() int
func (ProjectGroupPathSorter) Less ¶ added in v0.7.0
func (a ProjectGroupPathSorter) Less(i, j int) bool
func (ProjectGroupPathSorter) Swap ¶ added in v0.7.0
func (a ProjectGroupPathSorter) Swap(i, j int)
type ProjectVariablesClient ¶ added in v0.7.0
type ProjectVariablesClient interface { GetVariable(pid any, key string, opt *gitlab.GetProjectVariableOptions, options ...gitlab.RequestOptionFunc) (*gitlab.ProjectVariable, *gitlab.Response, error) ListVariables(pid any, opt *gitlab.ListProjectVariablesOptions, options ...gitlab.RequestOptionFunc) ([]*gitlab.ProjectVariable, *gitlab.Response, error) }
type ProjectsClient ¶ added in v0.7.0
type Provider ¶ added in v0.7.3
type Provider struct{}
Provider satisfies the provider interface.
func (*Provider) Capabilities ¶ added in v0.7.3
func (g *Provider) Capabilities() esv1beta1.SecretStoreCapabilities
Capabilities return the provider supported capabilities (ReadOnly, WriteOnly, ReadWrite).
func (*Provider) NewClient ¶ added in v0.7.3
func (g *Provider) NewClient(ctx context.Context, store esv1beta1.GenericStore, kube kclient.Client, namespace string) (esv1beta1.SecretsClient, error)
Method on GitLab Provider to set up projectVariablesClient with credentials, populate projectID and environment.
func (*Provider) ValidateStore ¶ added in v0.7.3
Click to show internal directories.
Click to hide internal directories.