package
0.15.0
Repository: https://github.com/rancher/turtles.git
Documentation: pkg.go.dev

# Functions

AddLabelsToNamespace will add labels to a namespace.
ApplyFromTemplate will generate a yaml definition from a given template and apply it in the cluster.
Byf is used to provider better output for a test using a formatted string.
ClusterctlGenerateFromTemplate will generate a cluster definition from a given template.
No description provided by the author
CreateSecret will create a new Kubernetes secret.
DeployChartMuseum will create a new repo in the Gitea server.
FleetCreateFleetFile will create a fleet.yaml file in the given location.
FleetCreateGitRepo will create and apply a GitRepo resource to the cluster.
FleetDeleteGitRepo will delete a GitRepo resource from a cluster.
GetIngressHost gets the host from an ingress object.
GetNodeAddress gets the address for a node based on index.
GetServicePortByName will get the ports for a service by port name.
GetVariable is used to get the value for a variable.
GitCloneRepo will clone a repo to a given location.
GitCommitAndPush will commit the files for a repo and push the changes to the origin.
GiteaCreateRepo will create a new repo in the Gitea server.
RancherGetClusterKubeconfig will get the Kubeconfig for a cluster from Rancher.
RancherGetOriginalKubeconfig will get the unmodified Kubeconfig for a cluster from Rancher.
No description provided by the author
RunCommand will run a command with the given args and environment variables.
No description provided by the author

# Constants

DefaultBranchName is the name of the default git branch.
DefaultNamespace is the name of the default Kubernetes namespace.
DefaulRancherTurtlesNamespace is the name of the default namespace for Rancher Turtles.
FleetLocalNamespace is the name of the namespace used for local cluster by Fleet.
MagicDNS is the dns name to use in isolated mode.

# Structs

AddLabelsToNamespaceInput represents the input parameters for adding labels to a namespace.
ApplyFromTemplateInput represents the input parameters for applying a template.
ChartMuseumInput represents the input parameters for interacting with ChartMuseum.
ClusterctlGenerateFromTemplateInput represents the input parameters for generating from a template.
CreateDockerRegistrySecretInput represents the input parameters for creating a Docker registry secret.
CreateSecretInput represents the input parameters for creating a secret.
FleetCreateFleetFileInput represents the input parameters for creating a fleet file.
FleetCreateGitRepoInput represents the input parameters for creating a Git repository in Fleet.
FleetDeleteGitRepoInput represents the input parameters for deleting a Git repository in the fleet.
GetIngressHostInput represents the input parameters for retrieving the host of an Ingress.
GetNodeAddressInput represents the input parameters for retrieving a specific node's address.
GetServicePortByNameInput represents the input parameters for retrieving a service port by name.
GetServicePortByNameOutput represents the output of the GetServicePortByName function.
GitCloneRepoInput is the input to GitCloneRepo.
GitCommitAndPushInput is the input to GitCommitAndPush.
GiteaCreateRepoInput represents the input parameters for creating a repository in Gitea.
RancherGetClusterKubeconfigInput represents the input parameters for getting the kubeconfig of a cluster in Rancher.
RancherGetClusterKubeconfigResult represents the result of getting the kubeconfig for a Rancher cluster.
RancherLookupUserInput represents the input for looking up a user in Rancher.
RancherLookupUserResult represents the result of a user lookup in Rancher.
RunCommandInput represents the input parameters for running a command.
RunCommandResult represents the result of running a command.
No description provided by the author

# Type aliases

VariableCollection represents a collection of variables for tests.
VariableLookupFunc is a function type used for looking up variable values.