Documentation ¶
Index ¶
- Variables
- func BuildGatewayQueries(objs []client.Object) query.GatewayQueries
- func BuildGatewayQueriesWithClient(fakeClient client.Client) query.GatewayQueries
- func BuildIndexedFakeClient(objs []client.Object, funcs ...IndexIteratorFunc) client.Client
- func LoadFromFiles(ctx context.Context, filename string) ([]client.Object, error)
- func MarshalAnyYaml(m any) ([]byte, error)
- func MarshalYaml(m proto.Message) ([]byte, error)
- func ReadProxyFromFile(filename string) (*v1.Proxy, error)
- type IndexIteratorFunc
Constants ¶
This section is empty.
Variables ¶
View Source
var (
NoFilesFound = errors.New("no k8s files found")
)
Functions ¶
func BuildGatewayQueries ¶
func BuildGatewayQueries( objs []client.Object, ) query.GatewayQueries
func BuildGatewayQueriesWithClient ¶
func BuildGatewayQueriesWithClient(fakeClient client.Client) query.GatewayQueries
func BuildIndexedFakeClient ¶
func BuildIndexedFakeClient(objs []client.Object, funcs ...IndexIteratorFunc) client.Client
func LoadFromFiles ¶
func MarshalAnyYaml ¶
Types ¶
type IndexIteratorFunc ¶
Click to show internal directories.
Click to hide internal directories.