Documentation
¶
Index ¶
- func CheckAnonymousMCP(ctx context.Context, endpoint string) error
- func CheckAuthEndpoint(ctx context.Context, issuer string) error
- func CheckAuthorizationMetadata(raw []byte, issuer string) error
- func CheckDeniedTool(ctx context.Context, endpoint, name string) error
- func CheckDeploymentReadiness(raw []byte) error
- func CheckFixture(ctx context.Context, cfg FixtureConfig, out io.Writer) (err error)
- func CheckRegistry(ctx context.Context, target string) error
- func ValidatePolicyDenial(status int, raw []byte) error
- type CheckResult
- type FixtureConfig
- type PostDeployConfig
- type Report
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckDeploymentReadiness ¶
CheckDeploymentReadiness rejects both unavailable workloads and old ready replicas while a new rollout has not yet been observed or completed.
func CheckFixture ¶
func ValidatePolicyDenial ¶
Types ¶
type CheckResult ¶
type FixtureConfig ¶
type PostDeployConfig ¶
type PostDeployConfig struct {
RuntimeCLI, Kubeconfig, KubeContext, ExpectedClusterUID string
ReleaseTag, Manifest, PlatformURL, RegistryURL, Issuer, PublicMCP, Team string
MCPAuthVersion string
ClusterLogin bool
}
func (PostDeployConfig) Validate ¶
func (c PostDeployConfig) Validate() error
type Report ¶
type Report struct {
Status string `json:"status"`
Started time.Time `json:"started_at"`
Finished time.Time `json:"finished_at"`
Release string `json:"release"`
Target string `json:"mcp_target"`
Checks []CheckResult `json:"checks"`
}
func RunPostDeploy ¶
func RunPostDeploy(ctx context.Context, cfg PostDeployConfig, out io.Writer) (report Report, err error)
RunPostDeploy performs the shared post-deployment audit. Credentials remain in this runner and its CLI children; the fixture never receives admin keys.
Click to show internal directories.
Click to hide internal directories.