package
1.8.0
Repository: https://github.com/ninech/nctl.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
CreateTestKubeconfig creates a test kubeconfig which contains a nctl extension config with the given organization.
GenerateED25519PrivateKey generates an ED25519 private key.
GenerateRSAPrivateKey generates an RSA private key.
No description provided by the author
No description provided by the author
No description provided by the author
NewGitInformationService returns a new git information service mock.
No description provided by the author
Projects returns projects with the given organization namespace set.
No description provided by the author
WithDefaultProject sets the default project of the client.
No description provided by the author
WithKubeconfig creates a fake kubeconfig which gets removed once the passed test finished.
WithNameIndexFor adds a name index to the fake client set for the passed object type.
WithObjects sets the objects which can be returned from the client.
WithOrganization sets the organization of the client.
WithProjects exclusively sets the projects which should be created.
WithProjectsFromResources reads the namespaces of all given resources and adds them (unique) to the clientSetups project list.

# Constants

No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author
TODO: would be nice to get this from "github.com/ninech/apis/apps/v1alpha1".
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

GitInformationServiceResponse describes a response of the git information service.
GitInfoServiceParsed represents are parsed request received by the git information service.

# Type aliases

No description provided by the author
VerifyRequestFunc can be used to verify the parsed request which was sent to the git information service.