package
0.0.0-20241210072137-8149b9cdf2cb
Repository: https://github.com/dana-team/platform-backend.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
CreateTestCapp creates a test Capp object.
CreateTestCappRevision creates a test CappRevision object.
CreateTestCappWithHostname creates a test Capp object with hostname.
CreateTestCappWithState creates a test Capp object with given state.
CreateTestCNAMERecord creates a test CNAME record.
CreateTestCNAMERecordWithoutConditions creates a test CNAME record without conditions.
CreateTestConfigMap creates a test ConfigMap object.
CreateTestNamespace creates a test Namespace object.
CreateTestPlacement creates a test Placement object.
CreateTestPod creates a test Pod object.
CreateTestRoleBinding creates a test RoleBinding object.
CreateTestSecret creates a test Secret object.
CreateTestServiceAccount creates a test service account.
CreateTestServiceAccountWithToken creates a test service account.
GinContext creates a new *gin.Context for testing purposes.
PrepareCapp returns a mock Capp object.
PrepareCappMetadata returns a CappMetadata object.
PrepareCappRevision returns a mock CappRevision object.
PrepareCappRevisionSpec returns a mock CappRevision Spec object.
PrepareCappRevisionStatus returns a mock CappRevision Status object.
PrepareCappSpec returns a mock Capp spec.
PrepareCappSpecWithHostname returns a mock Capp spec with Hostname set.
PrepareCappSpecWithState returns a mock Capp spec witg given state.
PrepareCappStatus returns a mock Capp status.
PrepareCappStatusWithHostname returns a mock Capp status with Hostname set.
PrepareCappStatusWithKnativeObject returns a mock Capp status with KnativeObject set.
PrepareCappSummary returns a CappSummary object.
PrepareCappWithHostname returns a mock Capp object with Hostname set in the spec.
PrepareCappWithKnativeObject returns a mock Capp object with knative object status.
PrepareCappWithState returns a mock Capp object with given state.
No description provided by the author
PrepareConfigMap returns a mock ConfigMap object.
PrepareCreateCappType returns a CreateCapp object.
PrepareCreateSecretRequestType returns a Secret Request type object.
PrepareDockerConfigSecret returns a mock docker config secret object.
PrepareHTPasswdIdentityProvider returns a mock HTPasswordIde.
PrepareHTPasswdProvider returns a mock HTPasswordIdentityProvider object.
PrepareIdentity returns a mock Identity object.
PrepareNamespace returns a mock Namespace object.
PrepareNamespaceType returns a mock Namespace type object.
PreparePlacement returns a mock Placement object.
PreparePod simulates creating a pod and adding some log lines.
PrepareRoleBinding returns a mock RoleBinding object.
PrepareSecret returns a mock CappRevision object.
PrepareSecretRequestType returns a Secret Request type object.
PrepareServiceAccount returns a mock ServiceAccount object.
PrepareTokenSecret returns a mock token secret object.
PrepareUpdateCappStateType returns a CappState object.
PrepareUpdateCappType returns an UpdateCappType object.
PrepareUpdateUserDataType returns a mock User type object.
PrepareUser returns a mock User object.
PrepareUserType returns a mock User type object.
No description provided by the author