controllercontext

package
v2.34.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 2, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsNotFound

func IsNotFound(err error) bool

IsNotFound asserts notFoundError.

func NewContext

func NewContext(ctx context.Context, c Context) context.Context

Types

type Context

type Context struct {
	Status Status
}

func FromContext

func FromContext(ctx context.Context) (*Context, error)

type Release

type Release struct {
	FailedMaxAttempts bool
	Status            string
}

type Status

type Status struct {
	Reason  string
	Release Release
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL