Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeAuth

type FakeAuth struct {
}

    FakeAuth providers implementation for testing, retuning true for all operations

    func NewFakeAuth

    func NewFakeAuth() *FakeAuth

      NewFakeAuth returns a new instance of Fake Auth that returns true for each operation

      func (*FakeAuth) CanICreate

      func (a *FakeAuth) CanICreate(kind, namespace string) (bool, error)

        CanICreate returns 'true'

        func (*FakeAuth) CanIDelete

        func (a *FakeAuth) CanIDelete(kind, namespace string) (bool, error)

          CanIDelete returns 'true'

          func (*FakeAuth) CanIGet

          func (a *FakeAuth) CanIGet(kind, namespace string) (bool, error)

            CanIGet returns 'true'

            func (*FakeAuth) CanIUpdate

            func (a *FakeAuth) CanIUpdate(kind, namespace string) (bool, error)

              CanIUpdate returns 'true'

              Source Files